ConTEXt an excursion - Pragma ADE
ConTEXt an excursion - Pragma ADE ConTEXt an excursion - Pragma ADE
Paragraph formatting was, Hasselt always stayed a minor member of the pact. \stopmypar After defining a paragraph with \defineparagraphs you can format the paragraph with \setupparagraphs. Next you can start your paragraph with \start... and end it with \stop... A new paragraph starts with the name of your paragraph, in this case \mypar. contents index commands 1252 Hasselt obtains its city charter from bishop Hendrik van Vianden. Hendrik van Vianden was pressed by other towns not to agree with the charter. It took Hasselt a long period of time to convince the Bishop. After supporting the Bishop in a small war against the Drents, the charter was released. definitions colofon 1350 Hasselt joins the Hanzepact to protect their international trade. The Hanzepact was of great importance for merchants in Hasselt. In those days trading goods were taxed at every city, highway or rivercrossing. After joining the Hanzepact duty free routes all over Europe became available to Hasselt. However important the Hanzepact was, Hasselt always stayed a minor member of the pact. Another example of paragraph formatting could look like this. \defineparagraphs[chempar] [n=3,before=,after=,distance=1em] \setupparagraphs [chempar] [1] [width=.12\textwidth] \setupparagraphs [chempar] [2] [width=.4\textwidth] \startchempar Limekilns \chempar Hasselt has its own limekilns. These were build in 1504 and produced quick lime up to 1956. Nowadays they are a tourist attraction. \chempar exit search + go back – + 12 48
Paragraph formatting \chemical{CaCO_3,˜,GIVES,˜,CaO,˜,+,˜,CO_2} \stopchempar And it would come out like this: Limekilns Hasselt has its own limekilns. These CaCO 3 −→ CaO + CO 2 were build in 1504 and produced quick lime up to 1956. Nowadays they are a tourist attraction. By the way you could also type it in a more cryptic way: \chempar Limekilns \\ Hasselt has its own limekilns. They were build in 1504 and produced quick lime up to 1956. Nowadays they form a tourist attraction. \\ \chemical{CaCO_3,˜,GIVES,˜,CaO,˜,+,˜,CO_2} \\ contents index commands definitions colofon The \\ are used as column separators and are essential. The chemical module is explained in another manual, because not everybody is interested in chemical stuff. However, chemical structures always look impressive. O O H 3 C C C H C H C C CH 3 H 3 C C N C CH 3 H Compound A CONT E XT relies on the P I CT E X macros of M.J. Wichura to draw this kind of structure. Although the chemical module consists of only two or three commands, it takes some practice to get the right results. This is how the input looks: \placeformula[-] \startformula exit search + go back – + 12 49
- 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 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: Paragraph formatting \setupparagrap
- 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]{}{-
- 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
Paragraph formatting<br />
was, Hasselt always stayed a minor member of the pact.<br />
\stopmypar<br />
After defining a paragraph with \defineparagraphs you c<strong>an</strong> format the paragraph with<br />
\setupparagraphs. Next you c<strong>an</strong> start your paragraph with \start... <strong>an</strong>d end it with<br />
\stop... A new paragraph starts with the name of your paragraph, in this case \mypar.<br />
contents<br />
index<br />
comm<strong>an</strong>ds<br />
1252 Hasselt obtains its city charter from<br />
bishop Hendrik v<strong>an</strong> Vi<strong>an</strong>den.<br />
Hendrik v<strong>an</strong> Vi<strong>an</strong>den was pressed by<br />
other towns not to agree with the charter.<br />
It took Hasselt a long period of time<br />
to convince the Bishop. After supporting<br />
the Bishop in a small war against the<br />
Drents, the charter was released.<br />
definitions<br />
colofon<br />
1350 Hasselt joins the H<strong>an</strong>zepact to protect<br />
their international trade.<br />
The H<strong>an</strong>zepact was of great import<strong>an</strong>ce<br />
for merch<strong>an</strong>ts in Hasselt. In those days<br />
trading goods were taxed at every city,<br />
highway or rivercrossing. After joining<br />
the H<strong>an</strong>zepact duty free routes all<br />
over Europe became available to Hasselt.<br />
However import<strong>an</strong>t the H<strong>an</strong>zepact was,<br />
Hasselt always stayed a minor member<br />
of the pact.<br />
Another example of paragraph formatting could look like this.<br />
\defineparagraphs[chempar] [n=3,before=,after=,dist<strong>an</strong>ce=1em]<br />
\setupparagraphs [chempar] [1] [width=.12\textwidth]<br />
\setupparagraphs [chempar] [2] [width=.4\textwidth]<br />
\startchempar<br />
Limekilns<br />
\chempar<br />
Hasselt has its own limekilns. These were build in 1504 <strong>an</strong>d produced<br />
quick lime up to 1956. Nowadays they are a tourist attraction.<br />
\chempar<br />
exit<br />
search +<br />
go back<br />
– +<br />
12 48