File: sseq.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 (267 lines) | stat: -rw-r--r-- 6,312 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
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
# sseq package
# Matthew Bertucci 12/12/2021 for v1.01

#include:ifthen
#include:calc
#include:pifont
#include:pgf
#include:xkeyval
# loads decorations.pathmorphing pgflibrary

#keyvals:\usepackage/sseq#c
color
nocolor
debug
#endkeyvals

\begin{sseq}{x-range}{y-range}
\begin{sseq}[options%keyvals]{x-range}{y-range}
\end{sseq}

#keyvals:\begin{sseq}
grid=#none,crossword,go,dots,chess
entrysize=##L
labels=%<labels%>
xlabels=%<labels%>
ylabels=%<labels%>
labelstep=%<integer%>
xlabelstep=%<integer%>
ylabelstep=%<integer%>
gapsize=##L
xgapsize=##L
ygapsize=##L
gridstroke=##L
leak=##L
xleak=##L
yleak=##L
arrows=%<arrow type%>
#endkeyvals

\sseqpacking
\sspacksmart
\sspackhorizontal
\sspackvertical
\sspackdiagonal

\ssmoveto{x}{y}#/sseq
\ssmove{x}{y}#/sseq

\ssdrop{math%formula}#/sseq
\ssdrop[options%keyvals]{math%formula}#/sseq

#keyvals:\ssdrop
circled
boxed
color=#%color
name=%<name%>
#endkeyvals

\ssname{name}#/sseq
\ssgoto{name}#/sseq
\ssprefix{prefix}#/sseq
\ssresetprefix#/sseq
\ssabsgoto{name}#/sseq

\ssdroplabel{label}#/sseq
\ssdroplabel[options%keyvals]{label}#/sseq

#keyvals:\ssdroplabel
U
LU
RU
L
R
LD
RD
D
color=#%color
#endkeyvals

\ssdropextension#/sseq

\ssstroke#/sseq
\ssstroke[options%keyvals]#/sseq

#keyvals:\ssstroke,\ssline,\ssarrow
color=#%color
curve=%<value%>
dashed
dashed=%<dash type%>
dotted
dotted=%<dash type%>
arrowfrom
arrowfrom=%<arrow style%>
arrowto
arrowto=%<arrow style%>
void
#endkeyvals

\ssarrowhead#/sseq
\ssarrowhead[arrow style]#/sseq
\ssinversearrowhead#/sseq
\ssinversearrowhead[arrow style]#/sseq

\ssline{x}{y}#/sseq
\ssline[options%keyvals]{x}{y}#/sseq
\ssarrow{x}{y}#/sseq
\ssarrow[options%keyvals]{x}{y}#/sseq
\ssbullstring{x}{y}{n}#/sseq
\ssinfbullstring{x}{y}{n}#/sseq

\ssdropbull#*/sseq
\ssdropboxed{math%formula}#*/sseq
\ssdropcircled{math%formula}#*/sseq
\sscurve{value}#*/sseq
\ssdashedstroke#*/sseq
\ssdashedcurve{value}#*/sseq
\ssdottedstroke#*/sseq
\ssdottedcurve{value}#*/sseq
\sscurvedline{value}{x}{y}#*/sseq
\ssdashedline{x}{y}#*/sseq
\sscurveddashedline{value}{x}{y}#*/sseq
\sscurvedarrow{value}{x}{y}#*/sseq
\ssdashedarrow{x}{y}#*/sseq
\sscurveddashedarrow{value}{x}{y}#*/sseq
\ssvoidline{x}{y}#*/sseq
\ssvoidarrow{x}{y}#*/sseq
\ssinversevoidarrow{x}{y}#*/sseq
\ssplaceboxed{arg1}{arg2}{math%formula}#*/sseq
\ssplacecircled{arg1}{arg2}{math%formula}#*/sseq
\ssplace{arg1}{arg2}{math%formula}#*/sseq

\currprefix#*
\dropvarname{arg1}{arg2}#*
\extractcoords#*
\ifcurroutofrange#*
\ifoutofrange#*
\outofrangetrue#*
\outofrangefalse#*
\ifnodrop{arg1}{arg2}#*
\ifuniquedrop{arg1}{arg2}#*
\ntimes{arg1}{arg2}#*
\putxyq{code}#*
\putxy{code}#*
\setcnt#*
\ssassertsource#*
\ssconncolor#*
\ssdroperrormsg{arg1}{arg2}#*#*
\sseqbullcnt#*
\sseqconcludeconnection#*
\sseqconncommand#*
\sseqgridstyle#*
\sseqpack{arg1}{arg2}#*
\sseqrearrange{arg1}{arg2}{arg3}{arg4}{arg5}#*
\sseqsavecnti#*
\sseqsavecntii#*
\sseqsavecntiii#*
\sseqsavecntiv#*
\sseqsavecntix#*
\sseqsavecnto#*
\sseqsavecntv#*
\sseqsavecntvi#*
\sseqsavecntvii#*
\sseqsavecntviii#*
\sseqstacking{x}{y}{n}#*
\sseqwritecolor{color}#*
\sseqxlabel#*
\sseqylabel#*
\ssfinishpos#*
\ssglobalname{name}#*
\ssgridchess{arg1}{arg2}#*
\ssgridcrossword{arg1}{arg2}#*
\ssgriddots{arg1}{arg2}#*
\ssgridgo{arg1}{arg2}#*
\ssgridnone{arg1}{arg2}#*
\sslabelcolor#*
\ssplacecolor#*
\ssprepareline{arg1}{arg2}#*
\sssetglobalname{name}#*

\act#S
\for#S
\lst#S
\temp#S
\tempcmd#S
\tempoutercmd#S
\temptwo#S
\tmpcnt#S
\tmpname#S
\tmpval#S

## from decorations pgfmodule, loaded by decorations.pathmorphing pgflibrary
\pgfdecoratedcompleteddistance#*
\pgfdecoratedremainingdistance#*
\pgfdecoratedinputsegmentcompleteddistance#*
\pgfdecoratedinputsegmentremainingdistance#*
\pgfdecorationsegmentamplitude#*
\pgfdecorationsegmentlength#*
\pgfdecorationsegmentangle#*
\pgfdecorationsegmentaspect#*
\pgfmetadecorationsegmentamplitude#*
\pgfmetadecorationsegmentlength#*
\ifpgfdecoratepathhascorners#*
\pgfdecoratepathhascornerstrue#*
\pgfdecoratepathhascornersfalse#*
\pgfdeclaredecoration{name}{initial state}{states}#*
\state{name}{code}#*
\state{name}[options%keyvals]{code}#*
#keyvals:\state#c
switch if less than=%<dimen%> to %<new state%>
switch if input segment less than=%<dimen%> to %<new state%>
width=##L
repeat state=%<repetitions%>
next state=%<new state%>
if input segment is closepath={%<options%>}
auto end on length=##L
auto corner on length=##L
persistent precomputation=%<precode%>
persistent postcomputation=%<postcode%>
#endkeyvals
\pgfifdecoration{name}{if code}{else code}#*
\pgfdeclaremetadecoration{name}{initial state}{states}#*
\pgfifmetadecoration{name}{if code}{else code}#*
\decoration{name}#*
\beforedecoration{before code}#*
\afterdecoration{after code}#*
\pgfmetadecoratedpathlength#*
\pgfmetadecoratedcompleteddistance#*
\pgfmetadecoratedinputsegmentcompleteddistance#*
\pgfmetadecoratedinputsegmentremainingdistance#*
\pgfdecoratebeforecode#*
\pgfdecorateaftercode#*
\pgfdecoratepath{name}{path commands}#*
\pgfdecoratecurrentpath{name}#*
\begin{pgfdecoration}{name}#*
\end{pgfdecoration}#*
\pgfdecoration{name}#S
\endpgfdecoration#S
\pgfdecorationpath#*
\pgfdecoratedpath#*
\pgfdecorateexistingpath#*
\pgfdecoratedpathlength#*
\pgfpointdecoratedpathfirst#*
\pgfpointdecoratedpathlast#*
\pgfpointdecoratedinputsegmentfirst#*
\pgfpointdecoratedinputsegmentlast#*
\pgfsetdecorationsegmenttransformation{code}#*
\pgfmetadecoratedremainingdistance#*
\pgfpointmetadecoratedpathfirst#*
\pgfpointmetadecoratedpathlast#*
\pgfdecoratedinputsegmentlength#*
\pgfdecoratedangle#*
\pgfdecoratedinputsegmentstartangle#*
\pgfdecoratedinputsegmentendangle#*
\pgfdecorationcurrentinputsegment#*
\pgfdecorationnextinputsegmentobject#*
\pgfdecorationinputsegmentmoveto#*
\pgfdecorationinputsegmentlineto#*
\pgfdecorationinputsegmentcurveto#*
\pgfdecorationinputsegmentclosepath#*
\pgfdecorationinputsegmentlast#*
\ifpgfdecoraterectangleclockwise#*
\pgfdecoraterectangleclockwisetrue#*
\pgfdecoraterectangleclockwisefalse#*
\begin{pgfmetadecoration}{name}#*
\end{pgfmetadecoration}#*
\pgfmetadecoration{name}#S
\endpgfmetadecoration#S