File: chronosys.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (115 lines) | stat: -rw-r--r-- 2,988 bytes parent folder | download | duplicates (2)
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
# chronosys package
# Matthew Bertucci 2022/08/08 for v1.2

#include:tikz

\begin{chronology}
\begin{chronology}[options%keyvals]
\end{chronology}
\chronology#S
\chronology[options%keyvals]#S
\endchronology#S
\startchronology#*
\startchronology[options%keyvals]#*
\stopchronology#*

\chronoevent{%<year%>}{%<label text%>}
\chronoevent{%<month%>/%<year%>}{%<label text%>}
\chronoevent{%<day%>/%<month%>/%<year%>}{%<label text%>}
\chronoevent[%<options%>]{%<year%>}{%<label text%>}
\chronoevent[%<options%>]{%<month%>/%<year%>}{%<label text%>}
\chronoevent[%<options%>]{%<day%>/%<month%>/%<year%>}{%<label text%>}

\chronoperiode{start-year}{end-year}{label text%text}
\chronoperiode[options%keyvals]{start-year}{end-year}{label text%text}

\chronoperiodecoloralternation{color1,color2,...}
# for color completion
\chronoperiodecoloralternation{color}#S

\restartchronoperiodecolor
\restartchronoperiodecolor[color]

\chronograduation{integer}
\chronograduation[periode|event]{integer}#*
\chronograduation[periode|event][options%keyvals]{integer}

\definechronoevent{name}
\definechronoevent{name}[options%keyvals]
\definechronoperiode{name}
\definechronoperiode{name}[options%keyvals]

\setupchronology{options%keyvals}
\setupchronoevent{options%keyvals}
\setupchronoevent[name]{options%keyvals}
\setupchronoperiode{options%keyvals}
\setupchronoperiode[name]{options%keyvals}
\setupchronograduation{options%keyvals}
\setupchronograduation[periode|event]{options%keyvals}

\chronoperiodcolor

#keyvals:\begin{chronology},\chronology,\startchronology,\setupchronology,\setupchronology
startyear=%<number%>
stopyear=%<number%>
color=#%color
height=##L
width=##L
datesstyle=%<command%>
dateselevation=##L
startdate#true,false
stopdate#true,false
dates#true,false
arrow#true,false
arrowheight=##L
arrowwidth=##L
arrowcolor=#%color
box#true,false
align=#right,center,left
#endkeyvals

#keyvals:\chronoevent,\chronograduation,\definechronoevent,\setupchronoevent,\setupchronograduation
barre#true,false
date#true,false
conversionmonth#true,false
mark#true,false
year#true,false
icon=%<symbol%>
markdepth=##L
iconheight=##L
textstyle=%<command%>
datesseparation=%<symbol%>
datestyle=%<command%>
datesstyle=%<command%>
colorbox=#%color
ifcolorbox#true,false
textwidth=##L
#endkeyvals

#keyvals:\chronoperiode,\chronograduation,\definechronoperiode,\setupchronoperiode,\setupchronograduation
startdate#true,false
stopdate#true,false
dates#true,false
datesstyle=%<command%>
textstyle=%<command%>
color=#%color
dateselevation=##L
textdepth=##L
colorbox=#%color
ifcolorbox#true,false
topheight=##L
bottomdepth=##L
#endkeyvals

# not documented
\dochronoevent#S
\dochronograduation#S
\dochronoperiode#S
\dorestartchronoperiodecolor#S
\dosetupchronoeventandperiode#S
\dosetupchronograduation#S
\dostartchronology#S
\dostartchronologyfinal#S
\ifnexttoken#S
\savefirsttwoarg#S
\todoafterarg#S