ConTEXt an excursion - Pragma ADE
ConTEXt an excursion - Pragma ADE ConTEXt an excursion - Pragma ADE
Table of contents (lists) The command \placecontent is available after definition with: contents \definecombinedlist[.1.][..,.2.,..][..,..=..,..] This command and \definelist allows you to define your own lists necessary for structuring your documents. The use of this command and its related commands is illustrated for the table of contents. \definelist[chapter] \setuplist [chapter] [before=\blank, after=\blank, style=bold] index commands definitions colofon \definelist[section] \setuplist [section] [alternative=d] Now there are two lists of chapters and sections and these will be combined in a table of contents with the command \definecombinedlist. \definecombinedlist [contents] [chapter,section] [level=subsection] Now two commands are available: \placecontent and \completecontent. With the second command the title of the table of contents will be added to the table of contents itself. The layout of lists can be varied with the parameter alternative. exit search + go back – + 22 68
Table of contents (lists) Alternative a b c d e f Display number – title – page number number – title – spaces – page number number – title – dots – page number number – title – page number (continuing) reserved for interactive purposes reserved for interactive purposes contents index commands definitions colofon Table 22.1 Alternatives for displaying lists. Lists are set up with: \setuplist[..,...,..][..,..=..,..] \setupcombinedlist[...][..,..=..,..] If you want to change the layout of the generated table of contents you’ll have to remember that it is a list. \setupcombinedlist [content] [alternative=c, aligntitle=no, width=2.5cm] This will result in a somewhat different layout than the default one. Lists are called up and placed with: exit search + go back – + 22 69
- Page 19 and 20: Itemize 1. Achter ’t Werk 2. Baan
- Page 21 and 22: Formulae In The Netherlands the cit
- Page 23 and 24: Formulae Although display mode can
- Page 25 and 26: Legends \leg t \\ time \\ s \\ \leg
- Page 27 and 28: Figures You can define your own uni
- Page 29 and 30: Figures Option here force page top
- Page 31 and 32: Figures \placefigure [here,force] [
- Page 33 and 34: Figures \externalfigure[...][..,..=
- Page 35 and 36: Tables For placing a table the comm
- Page 37 and 38: Tables Command \JustLeft \JustRight
- Page 39 and 40: Tables Year Citizens contents 1675
- Page 41 and 42: Tables \VL \bf Year \VL \bf Citizen
- Page 43 and 44: Tables A more sensible example is g
- Page 45 and 46: Tables \VL 1808 \VL ˜9 \VL 2 \VL -
- Page 47 and 48: Tables Decline of wealth in Dutch f
- Page 49 and 50: Paragraph formatting \setupparagrap
- Page 51 and 52: Paragraph formatting \chemical{CaCO
- Page 53 and 54: Columns There you will find the St.
- Page 55 and 56: Footnotes contents 14 Footnotes ind
- Page 57 and 58: Definitions \concept{Hasselter juff
- Page 59 and 60: Numbered definitions Now the new co
- Page 61 and 62: Outlined text \framed[..,..=..,..]{
- Page 63 and 64: Margin texts It was essential for H
- Page 65 and 66: Page breaking and page numbering co
- Page 67 and 68: Page breaking and page numbering co
- Page 69: Table of contents (lists) \setupfoo
- Page 73 and 74: Registers \writetolist[section]{}{-
- Page 75 and 76: Synonyms The first bracket pair con
- Page 77 and 78: Refering to text elements \item sai
- Page 79 and 80: Color There are many canals in Hass
- Page 81 and 82: Page backgrounds Backgrounds can sp
- Page 83 and 84: Interactive mode in electronic docu
- Page 85 and 86: Interactive mode in electronic docu
- Page 87 and 88: Interactive mode in electronic docu
- Page 89 and 90: Fonts and font switches contents 31
- Page 91 and 92: Fonts and font switches [cmr] \tf \
- Page 93 and 94: Fonts and font switches PDF and PDF
- Page 95 and 96: Composite characters 32.2 Accents A
- Page 97 and 98: Page layout top header left left te
- Page 99 and 100: Page layout \adaptlayout[21,38][hei
- Page 101 and 102: Paragraph spacing contents 34 Parag
- Page 103 and 104: Paragraph spacing \startlinecorrect
- Page 105 and 106: Paragraph spacing You can force ver
- Page 107 and 108: Defining commands / macros The comm
- Page 109 and 110: Defining commands / macros contents
- Page 111 and 112: Miscellaneous The newly defined flo
- Page 113 and 114: Miscellaneous \keepblocks[..,.1.,..
- Page 115 and 116: Miscellaneous 37.5 Lines There are
- Page 117 and 118: Miscellaneous adress contents index
- Page 119 and 120: Miscellaneous 37.9 Rotating text, f
Table of contents (lists)<br />
The comm<strong>an</strong>d \placecontent is available after definition with:<br />
contents<br />
\definecombinedlist[.1.][..,.2.,..][..,..=..,..]<br />
This comm<strong>an</strong>d <strong>an</strong>d \definelist allows you to define your own lists necessary for structuring<br />
your documents.<br />
The use of this comm<strong>an</strong>d <strong>an</strong>d its related comm<strong>an</strong>ds is illustrated for the table of contents.<br />
\definelist[chapter]<br />
\setuplist<br />
[chapter]<br />
[before=\bl<strong>an</strong>k,<br />
after=\bl<strong>an</strong>k,<br />
style=bold]<br />
index<br />
comm<strong>an</strong>ds<br />
definitions<br />
colofon<br />
\definelist[section]<br />
\setuplist<br />
[section]<br />
[alternative=d]<br />
Now there are two lists of chapters <strong>an</strong>d sections <strong>an</strong>d these will be combined in a table of<br />
contents with the comm<strong>an</strong>d \definecombinedlist.<br />
\definecombinedlist<br />
[contents]<br />
[chapter,section]<br />
[level=subsection]<br />
Now two comm<strong>an</strong>ds are available: \placecontent <strong>an</strong>d \completecontent. With the<br />
second comm<strong>an</strong>d the title of the table of contents will be added to the table of contents<br />
itself.<br />
The layout of lists c<strong>an</strong> be varied with the parameter alternative.<br />
exit<br />
search +<br />
go back<br />
– +<br />
22 68