Changes

Jump to navigation Jump to search
better markup
== Defining lists ==
Defining {{cmd|itemizestartitemize}}-like ''itemgroups'' is accomplished through {{cmd|defineitemgroup}} and the correspoding setup. For historical reasons these have a non-standard, duplicate interface
requiring some options to be specified as key-value setups, others as an argument list. For example:
<pretexcode>
\defineitemgroup[myitems]
\setupitemgroup [myitems] [each] [joinedup]
\setupitemgroup [myitems] [each] [itemalign=flushright]
</pretexcode>
The arguments include the:
Further options are part of the setup, and can be combined:
<pretexcode>
\setupitemgroup [myitems] [each] [joinedup] [itemalign=flushright]
</pretexcode>
== Custom bullets ==
number as the contents of the box like so:
<pretexcode>
\definesymbol [instruction_symbol_numbered]
[{\framed{\currentitemnumber}}]
</pretexcode>
The {{cmd|framed}} must be adapted to the specific requirements.
Below listing combines all the above into one working example.
<codetexcode>
\unprotect
\stopInstructions
\stoptext
</codetexcode>

Navigation menu