1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
|
% This is is the english code for the documentation of the `chronosys' package.
%
% The maintener of this work is Mathieu Long.
% email : mlong.tex@hotmail.fr
% the `chronosys' package consists in the 9 files :
% -- `docchronosys_en.tex' and `docchronosys_en.pdf' (english manual)
% -- `docchronosys_fr.tex' and `docchronosys_fr.pdf' (french manual)
% -- README
% -- `chronosys.tex' (file for plain TeX)
% -- `chronosyschr.tex' (main file of the `chronosys' package)
% -- `chronosys.sty' (file for LaTeX)
% -- `x-chronosys.tex' (file for ConTeXt)
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
% The Current Maintainer of this work is Mathieu Long.
%
\setupinteraction[title=Chronosys - Documentation]
\mainlanguage[en]
\setupbodyfont[14pt,regular]
\setuppapersize[B4]
\setupinteraction[state=start,menu=on,color=middlered]
\setupinteractionmenu[right][state=start]
\setupcapitals[sc=yes]
\setupindenting[yes,20pt]
\setuppagenumbering[location={bottom,right},left=--~]
\startuniqueMPgraphic{LinearShade}
fill (-\the\hsize/2,\the\vsize/2)--(\the\hsize/2,\the\vsize/2)--(\the\hsize/2,-\the\vsize/2)--(-\the\hsize/2,-\the\vsize/2)--cycle withcolor 0.825white;
path p;
picture mypicture;
mypicture:=nullpicture;
p:=(-2.5cm,0)--(2.5cm,0)--(2.5cm,-0.75cm)--(-2.5cm,-0.75cm)--cycle;
color marron; marron:=(165/255,66/255,0);
path sablier; sablier:= (-2.05cm,-0.75cm){down}..{dir -45}(-0.65cm,-4.25cm)..{down}(-0.35cm,-5.25cm)--(0.35cm,-5.25cm){up}..(0.65cm,-4.25cm){dir 45}..{up}(2.05cm,-0.75cm)--cycle;
addto mypicture contour unitsquare scaled 3cm xscaled 2 shifted(-2cm,-6cm) withcolor yellow;
clip mypicture to sablier xscaled 0.99; addto currentpicture also mypicture;
fill (-0.35cm,-5.25cm){dir -45}..(-0.05cm,-5.55cm){down}..{down}(-0.05cm,-8cm){dir 225}..(-1.85cm,-10.5cm)--(1.85cm,-10.5cm)..{dir 135}(0.05cm,-8cm){up}..{up}(0.05cm,-5.55cm)..{dir 45}(0.35cm,-5.25cm)--cycle withcolor yellow;
fill sablier--reverse sablier xscaled 0.85--cycle withcolor (96/255,204/255,1);
fill sablier--reverse sablier xscaled 0.85--cycle reflectedabout ((-5cm,-5.25cm),(5cm,-5.25cm)) withcolor (96/255,204/255,1);
draw sablier withcolor black;
draw sablier reflectedabout ((-5cm,-5.25cm),(5cm,-5.25cm)) withcolor black;
draw sablier xscaled 0.85 withcolor black;
draw sablier xscaled 0.85 reflectedabout ((-5cm,-5.25cm),(5cm,-5.25cm)) withcolor black;
fill p withcolor marron;
fill p reflectedabout ((-5cm,-5.25cm),(5cm,-5.25cm)) withcolor marron;
draw p withcolor black;
draw p reflectedabout ((-5cm,-5.25cm),(5cm,-5.25cm)) withcolor black;
\stopuniqueMPgraphic
\defineoverlay[shaded][\useMPgraphic{LinearShade}]
\setupbackgrounds[page][background={shaded}]
\placebookmarks[chapter,section,subsection][chapter,section]
\usemodule[chronosys]
\startstandardmakeup\switchtobodyfont[16pt]
\midaligned{Chronosys}
\midaligned{Draw time-lines diagrams !}
\bigskip
\startchronology[width=\hsize,height=7ex,stopyear=2050,startyear=1982,color=darkgreen]
\chronoevent{2011}{\type{chronosys}'s creation}
\stopchronology
\stopstandardmakeup
\completecontent[alternative=c,interaction=all]
\def\HeadTitle#1#2%
{\hbox to \hsize
{ \vbox{\hrule\par\noindent\vrule height1.15cm depth0pt\leaders\hrule\hskip10pt \lower5pt\vbox{\hbox{#1\hskip10pt#2 }}\leaders\hrule\hfill\vrule height1.15cm depth0pt}
}}
\setuphead[chapter][command=\HeadTitle]
\setupbodyfont[14pt]
\parskip 1cm
\chapter{Introduction}
\type{Chronosys} is distributed under the LaTeX Project Public License. It uses the \type{tikz} package for drawing the time-lines.
\blank
This package is version {\unprotect\chron@sysversion\protect}, anothers versions might be created later.
\bigskip
It is recommanded not to load the \type{color.tex} file if you use plain \TeX.
\bigskip
You can load \type{chronosys} by~:
\startitemize[4]
\item \type{\usemodule[chronosys]} in \CONTEXT.
\item \type{\usepackage{chronosys}} in \LaTeX.
\item \type{\input chronosys} in plain \TeX.
\stopitemize
\chapter{First use}
\section{Main fonction: \type{\startchronology}}
The control sequence \type{\startchronology}\index{startchronology} is the first one you need to know.\footnote{There are \type{\begin{chronology}} and \type{\end{chronology}} for \LaTeX}~: it starts the chronological frieze.
\blank[small]
The next one is \type{\stopchronology}\index{stopchronology}\footnote{or \type{\end{chronology}}}, it ends the time-line. Let's have a look on the result~:
\starttyping
\startchronology
\stopchronology\stoptyping
\startchronology
\stopchronology
\bigskip
You can see the time-line is on all the page's width, furthermore it starts at {\os0} and ends at the current year {\os\the\year} when this document was compiled. \type{Chronosys} will compare these years with the events and periods you will give him (see \in[event] and \in[period]).
\blank[small]Now let's learn how to add events on the time-line.
\section[event]{Events: \type{\chronoevent}}
You can add events with \type{\chronoevent}\index{chronoevent}. This control sequence needs two arguments: the first one is the date of the event\footnote{you can see further to see another way of specifying the date} and the second is the label of this event.
\blank[small]
For example:
\starttyping
\startchronology
\chronoevent{1977}{\TeX's creation}
\stopchronology
\stoptyping
\startchronology
\chronoevent{1977}{\TeX's creation}
\stopchronology
\bigskip
The event appears between {\os 0} et {\os\the\year}, proportionally with his gap with {\os0}. You can also give several events:
\starttyping
\startchronology
\chronoevent{476}{Fall of the Roman empire}
\chronoevent{1492}{Discovery of America}
\chronoevent{1969}{first steps on the Moon}
\stopchronology
\stoptyping
\switchtobodyfont[9pt]
\startchronology
\chronoevent{476}{Fall of the Roman empire}
\chronoevent{1492}{Discovery of America}
\chronoevent{1969}{first steps on the Moon}
\stopchronology
\switchtobodyfont[14pt]
\bigskip N.B.: the font size has been reduced to avoid label to overlap; a best way will be given further (see \in[eventoptions]).\blank
\type{Chronosys} won't generate any error if the event's date is out of the starting year and ending year, however it will be ignored. The way of customize
the time-line, especially the starting year and ending year, will be seen further(see \in[startchronologyoptions]).
\section[period]{Periods: \type{\chronoperiode}}
You can also add one period (or several\footnote{If two periods are overlapping, the last one will overlap the other}) on the frieze with \type{\chronoperiode}\index{chronperiode}.
\starttyping
\startchronology
\chronoperiode{1000}{1999}{2\high{nd} Millennium}
\chronoperiode{476}{1453}{Eastern Roman Empire}
\chronoevent{1969}{first steps on the Moon}
\stopchronology
\stoptyping
\switchtobodyfont[9pt]
\startchronology
\chronoperiode{1000}{1999}{2\high{nd} Millennium}
\chronoperiode{14}{476}{Roman empire (without Augustus)}
\chronoevent{1969}{first steps on the Moon}
\stopchronology
\switchtobodyfont[14pt]
\blank
N.B.: on the period from {\os1000} to {\os1999}, blue on the time-line, we can now see the vertical straight under the frieze. You can disable it (see \in[eventoptions]), but if you want it you should place the events after the periods.
The period appears automatically with colour, and the dates are also visible (see \in[periodoptions] to disable them) and the label. The periods can be automatically coloured in 5 colours : blue, red, cyan, purple and yellow, except if the colour is identical to the frieze's one. Of course you can choose the colour of the period (see \in[periodoptions]).
\chapter[Personnalisation]{Time-lines' customization}
\section{\type{\startchronology}}
\subsection{Example}
\type{\startchronology} can have an optional argument in brackets.
For example:
\starttyping
\startchronology
[startyear=-800,stopyear=500,color=darkblue,height=7ex,width=\hsize]
\chronoevent{-753}{Rome's foundation}
\stopchronology
\stoptyping
\startchronology
[startyear=-800,stopyear=500,color=darkblue,height=7ex,width=\hsize]
\chronoevent{-753}{Rome's foundation}
\stopchronology
\bigskip
\subsection{Different options}
The different options of \type{\startchronology}\index{startchronology} are:
\startitemize
\head \type{startyear}\index{startyear} :\par starting year of the time-line. It needs to be a valid \type{number}. It is by default {\os0}
\head \type{stopyear}\index{stopyear} :\par ending year of the time-line. It also needs to be a valid \type{number}. It is the current year by default.
\head \type{color}\index{color} :\par colour of the frieze. It must be a \type{colour} recognized by the \type{tikz} package. It is black by default.
\head \type{height}\index{height} :\par height of the frieze. It must be a valid \type{dimen} and it is \type{0.7pc} by default.
\head \type{width}\index{width} :\par width of the frieze. It must be a valid \type{dimen} and it is \type{\hsize}\footnote{\type{\textwidth} in \LaTeX} by default.
\head \type{datesstyle}\index{datessyle} :\par style to apply to dates. It must be a \type{control sequence} (it can take one argument, which will be the dates), is empty by default.
\head \type{dateselevation}\index{dateselevation} :\par height of the dates from the time-line, it must be a valid \type{dimen} and it is \type{20pt} par by default.
\head \type{startdate}\index{startdate} :\par boolean which indicate if the starting year has to be placed. It must be either \type{true} or \type{false} and it is \type{true} by default.
\head \type{stopdate}\index{stopdate} :\par boolean which indicate if the ending year has to be placed. It must be either \type{true} or \type{false} and it is \type{true} by default.
\head \type{dates}\index{dates} :\par boolean which indicate if both dates have to be placed. It must be either \type{true} or \type{false} and it is \type{true} by default.
\head\type{arrow}\index{arrow} :boolean which indicate if an arrowhead has to be placed. It must be either \type{true} or \type{false} and it is \type{true} by default.
\head \type{arrowheight}\index{arrowheight} :\par height of the arrowhead. It must be a valid \type{dimen} and it is identical to the height of the time-line by default.
\head \type{arrowwidth}\index{arrowwidth} :\par width of the arrowhead. It encroaches on the entire (\type{height}) width of the frieze It must be a valid \type{dimen} and it is 1/10 of the entire width of the time-line (\type{width}) by default.
\head \type{arrowcolor}\index{arrowcolor} :\par colour of the arrowhead. It must be a \type{colour} recognized by the \type{tikz} package. It is identical to the colour of the frieze by default.
\head \type{box}\index{box} :\par boolean which indicates if the time-line should be passed back with a black line. It must be either \type{true} or \type{false} and it is \type{false} by default.
\stopitemize
\subsection[startchronologyoptions]{Summary}
\placetable[here][fig:startchronologyoptions]{\type{startchronology}'s options}
\starttable[|l|c|l|]
\HL\VL\use{3}\ReFormat[cB]{\type{\startchronology[}\em ...=...\type{]}}\VL\SR
\VL\type{startyear} \NC=\NC\type{<number>}
\VL\FR\VL
\type{stopyear} \NC=\NC\type{<number>}\VL\FR
\VL
\type{color} \NC=\NC\type{<colour>}\VL\FR
\VL
\type{height} \NC=\NC\type{<dimen>}\VL\FR
\VL
\type{width} \NC=\NC\type{<dimen>}\VL\FR
\VL
\type{datesstyle} \NC=\NC\type{<control sequence>} {\em or} \type{<control sequence#1>}\VL\FR
\VL
\type{dateselevation} \NC=\NC\type{<dimen>}\VL\FR
\VL
\type{startdate} \NC=\NC\type{<true>} \em or \type{<false>}\VL\FR
\VL\type{stopdate} \NC=\NC\type{<true>} \em or \type{<false>}\VL\FR
\VL\type{dates} \NC=\NC\type{<true>} \em or \type{<false>}\VL\FR
\VL\type{arrow} \NC=\NC\type{<true>} \em or \type{<false>}\VL\FR
\VL\type{arrowheight} \NC=\NC\type{<dimen>}\VL\FR
\VL\type{arrowwidth} \NC=\NC\type{<dimen>}\VL\FR
\VL\type{arrowcolor} \NC=\NC\type{<colour>}\VL\FR
\VL\type{box} \NC=\NC\type{<true>} \em or \type{<false>}\VL\FR\HL
\stoptable
\section{\type{\chronoperiode}}
\subsection{Example}
\type{\chronoperiode} can have an optional argument for the options' customization.
\starttyping
\startchronology[startyear=-800,stopyear=500,color=darkgreen]
\chronoperiode[color=orange,stopdate=false,textstyle=\it]
{-753}{-509}{Roman Royal period}
\chronoperiode[color=cyan,textstyle=\bf,textdepth=35pt]
{-509}{-27}{Roman Republic}
\stopchronology
\stoptyping
\startchronology[startyear=-800,stopyear=500,color=darkgreen]
\chronoperiode[color=orange,stopdate=false,textstyle=\it]
{-753}{-509}{Roman Royal period}
\chronoperiode[color=cyan,textstyle=\bf,textdepth=35pt]
{-509}{-27}{Roman Republic}
\stopchronology
\subsection{Different options}
The different options of \type{\chronoperiode}\index{chronoperiode} are:
\startitemize
\head \type{startdate}\index{startdate} :\par boolean. It indicate if the starting year has to be placed, and must be either \type{true} or \type{false}. It is \type{true} by default.
\head \type{stopdate}\index{stopdate} :\par boolean. It indicate if the ending year has to be placed, and must be either \type{true} or \type{false}. It is \type{true} by default.
\head \type{dates}\type{true}\index{dates} :\par boolean. It indicate if both dates have to be placed, and must be either \type{true} or \type{false}. It is \type{true} by default.
\head \type{datesstyle}\index{datesstyle} : \par style to apply to the dates. It must be a \type{control sequence} ou \type{control sequence#1} and is empty by default.
\head \type{textstyle}\index{textstyle} : \par style to apply to the label. It must be a \type{control sequence} ou \type{control sequence#1} and is empty by default.
\head \type{color}\index{color} :\par colour of the period on the frieze. It must be a \type{colour} recognized by \type{tikz}. It alternates between blue, red, cyan, purple and yellow by default.
\head \type{dateselevation}\index{dateselevation} :\par height of the dates from the frieze. It must be a valid \type{dimen} and it is \type{0pt} by default.
\head \type{dateselevation}\index{textdepth} :\par depth of the label from the frieze. It must be a valid \type{dimen} and it is \type{15pt} by default.
\subsection[periodoptions]{Summary}
\placetable[here][fig:chronoperiodeoptions]{\type{chronoperiode}'s options}
\starttable[|l|c|l|]
\HL\VL\use{3}\ReFormat[cB]{\type{\chronoperiode[}\em ...=...\type{]{...}{...}{...}}}\VL\SR
\VL\type{startdate} \NC=\NC\type{<true>} \em or \type{<false>}\VL\LR
\VL\type{stopdate} \NC=\NC\type{<true>} \em or \type{<false>}\VL\LR
\VL\type{dates} \NC=\NC\type{<true>} \em or \type{<false>}\VL\LR
\VL\type{datesstyle} \NC=\NC\type{<control sequence>} \em or \type{<control sequence#1>}\VL\LR
\VL\type{textstyle} \NC=\NC\type{<control sequence>} \em or \type{<control sequence#1>}\VL\LR
\VL\type{color} \NC=\NC\type{<colour>}\VL\LR
\VL\type{dateselevation} \NC=\NC\type{<dimen>}\VL\LR
\VL\type{textdeph} \NC=\NC\type{<dimen>}\VL\LR\HL
\stoptable
\section{\type{\chronoevent}}
\subsection[eventnewdate]{A new way for specifying the date}
You can specify with more precision the date with \type{\chronoevent}\index{chronoevent}. We saw that typing
\type{\chronoevent{-44}{Assassination of Caesar}} specified the year of the event, now we will saw the way of specifying
the month and the day. You have to type \type{<day number>/<number of the month>/year}, only specifying the year is compulsory.
You can give only the year as we saw before, the number of the month and the year or the day number and the number of the month and the year. The number of the month is automatically converted to the name of the month (in french by default). You can disable this conversion (see \in[eventoptions]).The control sequence of conversion is:
\starttyping
\def\chron@selectmonth#1{\ifcase#1\or janvier\or f\'evrier\or
mars\or avril\or mai\or juin\or juillet\or ao\^ut\or septembre\or
octobre\or novembre\or d\'ecembre\fi}
\stoptyping
To change the language, you only need to redefine the control sequence, for example for english as:
\starttyping
\def\chron@selectmonth#1{\ifcase#1\or January\or February\or
March\or April\or May\or June\or July\or August\or September\or
October\or November\or December\fi}
\stoptyping
\bigskip
For example,
\starttyping
\catcode`\@=11
\def\chron@selectmonth#1{\ifcase#1\or January\or February\or
March\or April\or May\or June\or July\or August\or September\or
October\or November\or December\fi}
\startchronology[startyear=-44,stopyear=-43,color=darkgreen,height=7ex]
\chronoevent{15/03/-44}{Assassination of Caesar}
\stopchronology
\stoptyping
\catcode`\@=11
\def\chron@selectmonth#1{\ifcase#1\or January\or February\or
March\or April\or May\or June\or July\or August\or September\or
October\or November\or December\fi}
\startchronology[startyear=-44,stopyear=-43,color=darkgreen,height=7ex]
\chronoevent{15/03/-44}{Assassination of Caesar}
\stopchronology
\blank
Furthermore, \type{\chronoevent} can also have an optional argument for customization.
\subsection{Example}
\starttyping
\def\MyIcon{{\starttikzpicture \filldraw
[color=orange](0,0)--(0,5pt)--(5pt,5pt)
--(5pt,0)--cycle;\stoptikzpicture}}
\catcode`\@=11
\def\chron@selectmonth#1{\ifcase#1\or January\or February\or
March\or April\or May\or June\or July\or August\or September\or
October\or November\or December\fi}
\startchronology[startyear=-800,stopyear=500,
color=darkgreen,height=7ex]
\chronoevent[textstyle={\switchtobodyfont[sansserif]},
datesstyle=\os,datesseparation=/,conversionmonth=false,
icon=\MyIcon,year=false]{15/3/-44}
{\vbox{\hbox{\qquad ides of March;}\hbox{assassination of Caesar}}}
\stopchronology
\stoptyping
\def\MyIcon{{\starttikzpicture \filldraw[color=orange](0,0)--(0,5pt)--(5pt,5pt)--(5pt,0)--cycle;\stoptikzpicture}}
\catcode`\@=11
\def\chron@selectmonth#1{\ifcase#1\or January\or February\or
March\or April\or May\or June\or July\or August\or September\or
October\or November\or December\fi}
\startchronology[startyear=-800,stopyear=500,color=darkgreen,height=7ex]
\chronoevent[textstyle={\switchtobodyfont[sansserif]},datesstyle=\os,datesseparation=/,conversionmonth=false,icon=\MyIcon,year=false]{15/3/-44}
{\vbox{\hbox{\qquad ides of March;}\hbox{assassination of Caesar}}}
\stopchronology
\subsection{Different options}
Here are the different possible options\index{chronoevent}.
\startitemize
\head \type{barre}\index{barre} :\par boolean which indicate if a vertical straight has to be placed on the frieze at the event position. It must be either \type{true} or \type{false}. It is \type{true} by default.
\head \type{date}\index{date} :\par boolean which indicate if the date of the event has to be placed. It must be either \type{true} or \type{false}. It is \type{true} by default.
\head \type{conversionmonth}\index{conversionmonth} :\par boolean which indicate if the number of the month has to be converted to the name month. It must be either \type{true} or \type{false}. It is \type{true} by default.
\head \type{mark}\index{mark} :\par boolean which indicate if a vertical straight has to be placed under the time-line at the event position. It must be either \type{true} or \type{false}. It is \type{true} by default.
\head \type{year}\index{year} :\par boolean which indicate if the year of the event has to be placed. It must be either \type{true} or \type{false}. It is \type{true} by default.
\head \type{icon}\index{icon} :\par symbol to add on the frieze at the event position. It can be a control sequence or some text, and it is empty by default.
\head \type{markdepth}\index{markdepth} : \par depth of the label of the event and of the vertical straight under the frieze. It must be a valid \type{dimen} and it is \type{10pt} by default.
\head \type{iconheight}\index{iconheight} :\par height of the icon on the time-line. It must be a valid \type{dimen} and it is half of the height of the frieze by default.
\head \type{textstyle}\index{textstyle} :\par style to apply to the label. It must be a \type{control sequence} or \type{control sequence#1}.
\head \type{datesseparation}\index{datesseparation} : symbol of separation of each element of the date. It can be a control sequence or some text and is a space by default.
\head \type{datestyle}\index{datestyle} :\par style to apply to the entire date with the symbols of separation. It must be a \type{control sequence} or \type{control sequence#1}.
\head \type{datesstyle}\index{datesstyle} :\par style to apply each element of the date without the symbols of separation. It must be a \type{control sequence} or \type{control sequence#1}.
\stopitemize
\subsection[eventoptions]{Summary}
\placetable[here][fig:chronoeventoptions]{\type{chronoevent}'s options}
\starttable[|l|c|l|]
\HL\VL\use{3}\ReFormat[cB]{\type{\chronoevent[}\em ...=...\type{]{...}{...}}}\VL\SR
\VL\type{barre}\NC=\NC \type{<true>} \em or \type{<false>}\VL\FR
\VL\type{date}\NC=\NC \type{<true>} \em or \type{<false>}\VL\FR
\VL\type{conversionmonth}\NC=\NC \type{<true>} \em or \type{<false>}\VL\FR
\VL\type{mark}\NC=\NC \type{<true>} \em or \type{<false>}\VL\FR
\VL\type{icon}\NC=\NC \type{<text>} \em or \type{<control sequence>} \bf\dots\VL\FR
\VL\type{datesseparation}\NC=\NC \type{<text>} \em or \type{<control sequence>} \bf\dots\VL\FR
\VL\type{markdepth}\NC=\NC \type{<dimen>}\VL\FR
\VL\type{iconheight}\NC=\NC \type{<dimen>}\VL\FR
\VL\type{textstyle}\NC=\NC \type{<control sequence>} \em or \type{<control sequence#1>}\VL\FR
\VL\type{datestyle}\NC=\NC \type{<control sequence>} \em or \type{<control sequence#1>}\VL\FR
\VL\type{datesstyle}\NC=\NC \type{<control sequence>} \em or \type{<control sequence#1>}\VL\FR\HL
\stoptable
\page[yes]
\section{Permanent changes}
You can apply changes on default values with using \type{\setupchronology}, \type{\setupchronoevent} and \type{\setupchronoperiode}.
\index{setupchronology}\index{setupchronoevent} \index{setupchronoperiode}
You use the same name for each option you want to change. For example, \starttyping
\setupchronology{startyear=1000,color=darkblue,stopdate=false}
\setupchronoperiode{color=darkgreen}
\setupchronoevent{textstyle=\it}
\startchronology
\chronoperiode{1050}{1450}{Anything you want}
\chronoevent{1600}{Anything else}
\chronoperiode{1800}{1899}{XIX\high{th} century}
\stopchronology
\stoptyping
\setupchronology{startyear=1000,color=darkblue,stopdate=false}
\setupchronoperiode{color=darkgreen}
\setupchronoevent{textstyle=\it}
\startchronology
\chronoperiode{1050}{1450}{Anything you want}
\chronoevent{1600}{Anything else}
\stopchronology\bigskip
\bigskip N.B.: if you want to reapply the automatic colour's alternation of the periods, use
\noindent\type{\setupchronoperiode{color=\chron@periodcolor}}
\setupchronoperiode{color=\chron@periodcolor}
\startchronology
\chronoperiode{1050}{1450}{Anything you want}
\chronoperiode{1800}{1899}{XIX\high{th} century}
\chronoevent{1600}{Anything else}
\stopchronology
\completeindex
\midaligned{\button{Go to table of contents}[content]}
\midaligned{\button{Exit}[ExitViewer]}
\stoptext
|