ConTEXt an excursion - Pragma ADE
ConTEXt an excursion - Pragma ADE ConTEXt an excursion - Pragma ADE
Legends preceeds the formula number and numbering is reset with each new chapter. For reasons of consistency the tables, figures, intermezzi etc are numbered in the same way. Therefore you use \setupnumbering in the set up area of your input file. Formulae can be set up with: \setupformulae[..,..=..,..] contents index commands definitions colofon 8 Legends The commands \startlegend · · · \stoplegend are used to explain the meaning of symbols in formulae. For example, if you want to display a formula and its legend: s = vt + 1 2 at2 (8.1) s = displacement m v = velocity m/s t = time s a = acceleration m/s 2 You will have to type something like this: \placeformula$$ s = v t + {{1}\over{2}} a tˆ2 $$ \startlegend \leg s \\ displacement \\ m \\ \leg v \\ velocity \\ m/s \\ exit search + go back – + 8 22
Legends \leg t \\ time \\ s \\ \leg a \\ acceleration \\ m/sˆ2 \\ \stoplegend The command \leg starts a new row and \\ is a column separator. The last \\ in each row is essential. The spaces are optional and have no effect on the outcome. However, these commands are easily mistyped and misread while checking. So take some time to make a readable input file. contents index commands definitions \startlegend[.1.]\leg.2.\\.3.\\.4.\\\leg ... \stoplegend colofon The first column is used for symbols and is typeset in mathematical mode. The second column is used for explanations of the symbols and the third one for units and dimensions. Because of the necessity of sub- and superscript the third column is in mathematical mode, but the text is displayed in the normal font. Complementary to legends is a command that displays facts in a consistent way when formulae are used for calculations. Such a command looks like this: \startfact \fact velocity \\ v \\ 10˜m/s \\ \fact accelaration \\ a \\ - 3˜m/sˆ2 \\ \fact time \\ t \\ 3˜s \\ \stopfact The two last columns are in mathematical mode, the last column displays text in the normal font. The ˜ is obligatory, because spaces are ignored in mathematical mode. velocity v = 10 m/s accelaration a = −3 m/s 2 time t = 3 s exit search + go back – + 8 23
- Page 1 and 2: \about \adaptlayout \adding \append
- Page 3 and 4: contents Table Of Contents index co
- Page 5 and 6: How to create a document contents 1
- Page 7 and 8: How to create a document 5. use a b
- Page 9 and 10: Special characters Some errors will
- Page 11 and 12: Defining a document contents 4 Defi
- Page 13 and 14: Headers \chapter[ref,..]{...} conte
- Page 15 and 16: Itemize all numbers will appear in
- Page 17 and 18: Itemize You will get: ♣ Hasselt w
- Page 19 and 20: Itemize 1. Achter ’t Werk 2. Baan
- Page 21 and 22: Formulae In The Netherlands the cit
- Page 23: Formulae Although display mode can
- 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 and 70: Table of contents (lists) \setupfoo
- Page 71 and 72: Table of contents (lists) Alternati
- Page 73 and 74: Registers \writetolist[section]{}{-
Legends<br />
\leg t \\ time \\ s \\<br />
\leg a \\ acceleration \\ m/sˆ2 \\<br />
\stoplegend<br />
The comm<strong>an</strong>d \leg starts a new row <strong>an</strong>d \\ is a column separator. The last \\ in each<br />
row is essential. The spaces are optional <strong>an</strong>d have no effect on the outcome. However,<br />
these comm<strong>an</strong>ds are easily mistyped <strong>an</strong>d misread while checking. So take some time to<br />
make a readable input file.<br />
contents<br />
index<br />
comm<strong>an</strong>ds<br />
definitions<br />
\startlegend[.1.]\leg.2.\\.3.\\.4.\\\leg ... \stoplegend<br />
colofon<br />
The first column is used for symbols <strong>an</strong>d is typeset in mathematical mode. The second<br />
column is used for expl<strong>an</strong>ations of the symbols <strong>an</strong>d the third one for units <strong>an</strong>d<br />
dimensions. Because of the necessity of sub- <strong>an</strong>d superscript the third column is in<br />
mathematical mode, but the text is displayed in the normal font.<br />
Complementary to legends is a comm<strong>an</strong>d that displays facts in a consistent way when<br />
formulae are used for calculations.<br />
Such a comm<strong>an</strong>d looks like this:<br />
\startfact<br />
\fact velocity \\ v \\ 10˜m/s \\<br />
\fact accelaration \\ a \\ - 3˜m/sˆ2 \\<br />
\fact time \\ t \\ 3˜s \\<br />
\stopfact<br />
The two last columns are in mathematical mode, the last column displays text in the<br />
normal font. The ˜ is obligatory, because spaces are ignored in mathematical mode.<br />
velocity v = 10 m/s<br />
accelaration a = −3 m/s 2<br />
time t = 3 s<br />
exit<br />
search +<br />
go back<br />
– +<br />
8 23