Changes

Jump to navigation Jump to search
603 bytes added ,  11:55, 27 February 2009
Randomizing items
{\bf joinedup,nowhite,after:} \startitemize[joinedup,nowhite,after] \item test \item test \stopitemize after
\stopcolumns
</context>
 
== Randomizing items ==
It is possible to make ConTeXt randomize the items in enumerations; this can come handy when, e.g., typesetting tests. You have to add a <tt>random</tt> option to <cmd>startitemize</cmd>. There are two caveats:
# You have to say <cmd>startitem</cmd> ... <cmd>stopitem</cmd> instead of <cmd>item</cmd> ... .
# Somehow the first item does not get randomized.
 
Example:
 
<context source="yes">
\startitemize[random]
\startitem A \stopitem
\startitem B \stopitem
\startitem C \stopitem
\startitem D \stopitem
\startitem E \stopitem
%\startitem F \stopitem
\stopitemize
</context>
27

edits

Navigation menu