Changes

Jump to navigation Jump to search
no edit summary
</cd:shortdesc>
<cd:variants>
<cd:command category="structure" file="strc-itm.mkvi" interfacedate="20202021-0703-14T0902T11:2408" interfacefile="i-itemgroup.xml" keywords="counter" level="style" name="setupitemgroup" variantnumber="1">
<cd:arguments>
<cd:keywords ordinal="1">
<cd:keywordsdoc>name of the itemgroup to changee.g. "itemize"</cd:keywordsdoc>
<cd:constant type="cd:name"></cd:constant>
</cd:keywords>
<cd:keywords list="yes" optional="yes" ordinal="2">
<cd:keywordsdoc>The nesting item level to configure.</cd:keywordsdoc> <cd:constant type="each">this setup will apply to all nesting levels</cd:constant> <cd:constant type="cd:number">this setup will only influence a particular nesting one level</cd:constant>
</cd:keywords>
<cd:keywords list="yes" optional="yes" ordinal="3">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="intro">always prevent a no page break before in front of the item listitemgroup</cd:constant> <cd:constant type="random">randomize the order of items</cd:constant> <cd:constant type="continue">continue numbering of previous itemgroup</cd:constant> <cd:constant type="packed">no whitespace space between items</cd:constant> <cd:constant type="autointro">prevent a page break before the item list only when the last paragraph has only one or two lines</cd:constant>
<cd:constant type="broad"></cd:constant>
<cd:constant type="text">typeset items as running text</cd:constant> <cd:constant type="before">if `nowhite`, insert whitespace before the itemgroup</cd:constant> <cd:constant type="after">if `nowhite`, insert whitespace after the itemgroup</cd:constant> <cd:constant type="nowhite">like `packed,joinedup`, but also works if {{cmd|setupwhitespace}} is set to something</cd:constant>
<cd:constant type="margin"></cd:constant>
<cd:constant type="inmargin">item separator place bullets or numbers in the margin</cd:constant> <cd:constant type="atmargin">item separator at the margin</cd:constant>
<cd:constant type="intext"></cd:constant>
<cd:constant type="headintext"></cd:constant>
<cd:constant type="nofit"></cd:constant>
<cd:constant type="paragraph"></cd:constant>
<cd:constant type="joinedup">no white space whitespace before and or after itemizationitemgroup, except if {{cmd|setupwhitespace}} is set to something</cd:constant>
<cd:constant type="serried"></cd:constant>
<cd:constant type="stopper">punctuation after item separator</cd:constant>
<cd:constant type="nostopper"></cd:constant>
<cd:constant type="unpacked">adds whitespace between items if `packed` is default</cd:constant> <cd:constant type="repeat">in nested itemgroups, repeat higher-level the number at lower levels, to produce e.g. 1.a.4.(s) of the parent item</cd:constant> <cd:constant type="norepeat">opposite of `repeat`</cd:constant>
<cd:constant type="reverse"></cd:constant>
<cd:constant type="columns">typeset items in two 2 columns(only with `\startitem … \stopitem`)</cd:constant> <cd:constant type="one">typeset items in 1 column (if some other setting is default)</cd:constant> <cd:constant type="two">typeset items in 2 columns (only with `\startitem … \stopitem`)</cd:constant> <cd:constant type="three">typeset items in 3 columns (only with `\startitem … \stopitem`)</cd:constant> <cd:constant type="four">typeset items in 4 columns (only with `\startitem … \stopitem`)</cd:constant> <cd:constant type="five">typeset items in 5 columns (only with `\startitem … \stopitem`)</cd:constant> <cd:constant type="six">typeset items in 6 columns (only with `\startitem … \stopitem`)</cd:constant> <cd:constant type="seven">typeset items in 4 columns (only with `\startitem … \stopitem`)</cd:constant> <cd:constant type="eight">typeset items in 8 columns (only with `\startitem … \stopitem`)</cd:constant> <cd:constant type="nine">typeset items in 9 columns (only with `\startitem … \stopitem`)</cd:constant> <cd:constant type="standard">use the default setup</cd:constant> <cd:constant method="factor" prefix="cd:number" type="broad">extra horizontal white space after symbol</cd:constant> <cd:constant method="factor" prefix="cd:number" type="serried">little horizontal white space after symbol </cd:constant>
<cd:constant type="horizontal"></cd:constant>
<cd:constant type="cd:name"></cd:constant>
</cd:parameter>
<cd:parameter name="step">
<cd:paramdoc>step size of numbering (e.g. 2 = use every second number)</cd:paramdoc>
<cd:constant type="cd:dimension"></cd:constant>
</cd:parameter>
</cd:parameter>
<cd:parameter name="start">
<cd:paramdoc>start of numbering</cd:paramdoc>
<cd:constant type="cd:number"></cd:constant>
</cd:parameter>
<cd:parameter name="symalign">
<cd:paramdoc>alignment of the bullet/number</cd:paramdoc>
<cd:constant type="left"></cd:constant>
<cd:constant type="middle"></cd:constant>
</cd:parameter>
<cd:parameter name="symbol">
<cd:paramdoc>name of a symbol as bullet</cd:paramdoc>
<cd:constant type="cd:name"></cd:constant>
</cd:parameter>
</cd:parameter>
<cd:parameter name="items">
<cd:paramdoc>number of items when using {{cmd|its}} {{todo|is this sentence right? --[[User:Taco|Taco]] ([[User talk:Taco|talk]])}} </cd:paramdoc>
<cd:constant type="cd:number"></cd:constant>
</cd:parameter>
<cd:constant default="yes" type="yes"></cd:constant>
<cd:constant type="no"></cd:constant>
<cd:constant type="display"></cd:constant>
<cd:constant type="inline"></cd:constant>
</cd:parameter>
<cd:parameter name="style">
<cd:paramdoc>style of the bullet/number</cd:paramdoc>
<cd:constant type="cd:style"></cd:constant>
<cd:constant type="cd:command"></cd:constant>
</cd:parameter>
<cd:parameter name="color">
<cd:paramdoc>color of the bullet/number</cd:paramdoc>
<cd:constant type="cd:color"></cd:constant>
</cd:parameter>
</cd:parameter>
<cd:parameter name="symstyle">
<cd:paramdoc>same as style</cd:paramdoc>
<cd:constant type="cd:style"></cd:constant>
<cd:constant type="cd:command"></cd:constant>
</cd:parameter>
<cd:parameter name="symcolor">
<cd:paramdoc>same as color</cd:paramdoc>
<cd:constant type="cd:color"></cd:constant>
</cd:parameter>
</cd:parameter>
<cd:parameter name="packcriterium">
<cd:paramdoc>A number. Automatically change from normal spacing to packed spacing when the list contains this many items or more. Note: you need to specify the 'packed' option in argument 3.</cd:paramdoc>
<cd:constant type="cd:number"></cd:constant>
</cd:parameter>
</cd:arguments>
</cd:command>
<cd:command category="structure" file="strc-itm.mkvi" interfacedate="20202021-0703-14T0902T11:2408" interfacefile="i-itemgroup.xml" keywords="counter" level="style" name="setupitemgroup" variant="assignment" variantnumber="2">
<cd:arguments>
<cd:keywords list="yes" optional="yes" ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:name">See <cd:iref variant='' ordinal='1'/>, with an implied <code>each</code> for the second argument</cd:constant> <cd:constant method="range" prefix="cd:name" type="cd:number">See <cd:iref variant='' ordinal='1'/>, with the number part replacing <cd:iref variant='' ordinal='2'/></cd:constant>
</cd:keywords>
<cd:assignments list="yes" ordinal="2">
<cd:assignmentsdoc>See <cd:iref variant='' ordinal='"4'" variant=""/></cd:assignmentsdoc>
<cd:parameter name="before">
<cd:paramdoc></cd:paramdoc>
</cd:parameter>
<cd:parameter name="option">
<cd:paramdoc>See <cd:iref variant='' ordinal='"3'" variant=""/></cd:paramdoc>
<cd:constant type="intro"></cd:constant>
<cd:constant type="random"></cd:constant>
<cd:constant default="yes" type="yes"></cd:constant>
<cd:constant type="no"></cd:constant>
<cd:constant type="display"></cd:constant>
<cd:constant type="inline"></cd:constant>
</cd:parameter>
<cd:parameter name="style">
</cd:command>
</cd:variants>
<cd:description>This command controls all of the formatting for the specified item group, for example the name <code>itemize</code> configures the item group that is the environment {{cmd|startitemize}}). {{cmd|setupitemgroup|[itemize]}} and {{cmd|setupitemize}} are equivalent.
{{todo|There are a great many options here, and not nearly all of them are documented.}}</cd:description>
\stopitemize
\stoptext
</context></cd:example><cd:example title="Head style example"><context source="yes" text="GivesProduces:"> 
\starttext
\startitemize[][headstyle=bold]
\stoptext
</context>
 </cd:example><cd:example title="Change icon set default"><context source="yes">\setupitemgroup[itemize:1][symbol=3] % option=3 also works, n=3 is not what you want \startitemize \item Text Text Text Text Text Text Text Text Text Text Text Text \item Text Text Text Text Text Text Text Text Text Text Text Text\stopitemize</context></cd:example><cd:example title="Bullets">Here are some bullets:<context source="yes">\starttabulate[|T|ch{\symbol}|T|ch{\symbol}|]\HL\NC 1 \HC {1} \VL bullet \HC {bullet} \NC\NR\NC 2 \HC {2} \VL dash \HC {dash} \NC\NR\NC 3 \HC {3} \VL star \HC {star} \NC\NR\NC \NC \VL asterisk \HC {asterisk} \NC\NR\NC 4 \HC {4} \VL triangle \HC {triangle} \NC\NR\NC \NC \VL blacktriangle \HC {blacktriangle} \NC\NR\NC 5 \HC {5} \VL circle \HC {circle} \NC\NR\NC 6 \HC {6} \VL \NC \NC\NR\NC 7 \HC {7} \VL \NC \NC\NR\NC 8 \HC {8} \VL square \HC {square} \NC\NR\NC \NC \VL blacksquare \HC {blacksquare} \NC\NR\NC \NC \VL diamond \HC {diamond} \NC\NR\NC \NC \VL blackdiamond \HC {blackdiamond} \NC\NR\NC 9 \HC {9} \VL checkmark \HC {checkmark} \NC\NR\HL\stoptabulate</context></cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>

Navigation menu