Command/startitemize

From Wiki
Jump to navigation Jump to search

\startitemize

Syntax

\startitemize[...,...][...=...,...] ... \stopitemize
[...,...]inherits from \setupitemgroup
...=...,...inherits from \setupitemgroup
instance of startitemgroup, generated by \defineitemgroup


\startitemgroup[...][...,...][...=...,...] ... \stopitemgroup
[...]name
[...,...]inherits from \setupitemgroup
...=...,...inherits from \setupitemgroup


inherits from

\setupitemgroup[...][...,...][...,...][...=...,...]
[...]name
[...,...]each number
[...,...]intro random continue packed autointro broad text before after nowhite margin inmargin atmargin intext headintext loose fit nofit paragraph joinedup serried stopper nostopper unpacked repeat norepeat reverse columns one two three four five six seven eight nine standard number*broad number*serried horizontal name
beforecommand
aftercommand
inbetweencommand
beforeheadcommand
afterheadcommand
lefttextcommand
righttextcommand
leftcommand
rightcommand
factornumber
stepdimension
widthdimension
distancedimension
marginyes no standard dimension
leftmarginyes no standard dimension
rightmarginyes no standard dimension
leftmargindistanceyes no standard dimension
rightmargindistanceyes no standard dimension
alignsee \setupalign
indentingsee \setupindenting
startnumber
symalignleft middle right flushleft center flushright
symbolname
nnumber
indentnextyes no auto
innercommand
commandcsname
itemsnumber
maxwidthdimension
itemalignleft right middle flushleft flushright inner outer
alignsymbolyes no
textdistancesmall medium big none space dimension
placestopperyes no
stylestyle command
colorcolor
headstylestyle command
headcolorcolor
marstylestyle command
marcolorcolor
symstylestyle command
symcolorcolor
gridsee \definegridsnapping
packcriteriumnumber
...=...,...inherits from \setupcounter


\setupitemgroup[...,...][...=...,...]
[...,...]name name:number
beforecommand
aftercommand
inbetweencommand
beforeheadcommand
afterheadcommand
lefttextcommand
righttextcommand
leftcommand
rightcommand
factornumber
stepdimension
widthdimension
distancedimension
optionintro random continue packed autointro broad text before after nowhite margin inmargin atmargin intext headintext loose fit nofit paragraph joinedup serried stopper unpacked repeat norepeat reverse columns one two three four five six seven eight nine standard number*broad number*serried horizontal name
marginyes no standard dimension
leftmarginyes no standard dimension
rightmarginyes no standard dimension
leftmargindistanceyes no standard dimension
rightmargindistanceyes no standard dimension
alignsee \setupalign
indentingsee \setupindenting
startnumber
symalignleft middle right flushleft center flushright
symbolname
nnumber
indentnextyes no auto
innercommand
commandcsname
itemsnumber
maxwidthdimension
itemalignleft right middle flushleft flushright inner outer
alignsymbolyes no
textdistancesmall medium big none space dimension
placestopperyes no
stylestyle command
colorcolor
headstylestyle command
headcolorcolor
marstylestyle command
marcolorcolor
symstylestyle command
symcolorcolor
gridsee \definegridsnapping
packcriteriumnumber
...=...,...inherits from \setupcounter


Description

  • autointro: Prevent a page break before the item list only when the last paragraph has only one or two lines.
  • intro: Always prevent a page break before the item list.

Examples

Various bullet style demonstration

\def\T#1{%
  \startitemize[#1,joinedup]
    \item This is a bullet of type #1.
  \stopitemize
}

\dorecurse{9}{\T\recurselevel}

Altering numbering text

  \startitemize[n][left=(,right=),stopper=.,distance=2em,]
    \item Item 1.
    \item Item 2.
  \stopitemize

Altering vertical space after \head

\setupitemize[headstyle=bold,afterhead={\blank[medium]}]
 
\startitemize
  \starthead{Ward}
    \input ward
  \stophead
  \startitem
    \input weisman
  \stopitem
\stopitemize

Notes

The environment can be set up globally with \setupitemize. For the arguments available to \startitemize and \setupitemize, see \setupitemgroup.

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: