File: caption3.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 (211 lines) | stat: -rw-r--r-- 6,337 bytes parent folder | download
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
# caption3 package
# Matthew Bertucci 2022/05/24 for v2.3b

#include:keyval

\captionsetup[float type]{options%keyvals}
\captionsetup{options%keyvals}
\captionsetup*[float type]{options%keyvals}#*
\captionsetup*{options%keyvals}#*
\DeclareCaptionStyle{name}[additional options]{options%keyvals}#s#%captionstyle
\DeclareCaptionStyle{name}{options%keyvals}#s#%captionstyle

#keyvals:\captionsetup#c,\captionsetup*#c,\usepackage/caption#c,\DeclareCaptionStyle#c
aboveskip=##L
belowskip=##L
box=#empty,none,parbox,colorbox
boxcolor=#%color
boxsep=##L
calcmargin*=##L
calcmargin=##L
calcwidth*=##L
calcwidth=##L
debug
figurename=%<name%>
figureposition=#top,above,bottom,below,auto
figurewithin=%<counter%>
figurewithout
font+=#scriptsize,footnotesize,small,normalsize,large,Large,LARGE,huge,Huge,smaller,larger,none,normalfont,up,it,sl,sc,md,bf,rm,sf,tt,singlespacing,onehalfspacing,doublespacing,{stretch=%<factor%>},normalcolor,{color=%<color%>},normal,{hypersetup=%<options%>},sansmath
font=#scriptsize,footnotesize,small,normalsize,large,Large,LARGE,huge,Huge,smaller,larger,none,normalfont,up,it,sl,sc,md,bf,rm,sf,tt,singlespacing,onehalfspacing,doublespacing,{stretch=%<factor%>},normalcolor,{color=%<color%>},normal,{hypersetup=%<options%>},sansmath
format=#plain,hang
hangindent=##L
indention=##L
justification=#justified,centering,centerlast,centerfirst,raggedright,raggedleft,Justified,Centering,RaggedRight,RaggedLeft
labelfont+=#scriptsize,footnotesize,small,normalsize,large,Large,LARGE,huge,Huge,smaller,larger,none,normalfont,up,it,sl,sc,md,bf,rm,sf,tt,singlespacing,onehalfspacing,doublespacing,{stretch=%<factor%>},normalcolor,{color=%<color%>},normal,{hypersetup=%<options%>},sansmath
labelfont=#scriptsize,footnotesize,small,normalsize,large,Large,LARGE,huge,Huge,smaller,larger,none,normalfont,up,it,sl,sc,md,bf,rm,sf,tt,singlespacing,onehalfspacing,doublespacing,{stretch=%<factor%>},normalcolor,{color=%<color%>},normal,{hypersetup=%<options%>},sansmath
labelformat=#original,empty,simple,brace,parens,autodot,unnumbered
labelsep=#none,colon,period,space,quad,newline,endash,gobble,gobbletwo
list=#on,off,true,false
listfigurename=%<name%>
listformat=#empty,simple,parens,subsimple,subparens,period,subperiod
listtablename=%<name%>
listtype=%<list type%>
listtype+=%<list type ext%>
lofdepth=%<integer%>
lotdepth=%<integer%>
margin*=##L
margin=##L
maxmargin=##L
minmargin=##L
name=%<name%>
oneside
parbox=#empty,none,parbox,colorbox
parindent=##L
parskip=##L
position=#top,above,bottom,below,auto
singlelinecheck#true,false
skip=##L
strut=#on,off
style=#%captionstyle
style*=#%captionstyle
tablename=%<name%>
tableposition=#top,above,bottom,below,auto
tablewithin=%<counter%>
tablewithout
textfont+=#scriptsize,footnotesize,small,normalsize,large,Large,LARGE,huge,Huge,smaller,larger,none,normalfont,up,it,sl,sc,md,bf,rm,sf,tt,singlespacing,onehalfspacing,doublespacing,{stretch=%<factor%>},normalcolor,{color=%<color%>},normal,{hypersetup=%<options%>},sansmath
textfont=#scriptsize,footnotesize,small,normalsize,large,Large,LARGE,huge,Huge,smaller,larger,none,normalfont,up,it,sl,sc,md,bf,rm,sf,tt,singlespacing,onehalfspacing,doublespacing,{stretch=%<factor%>},normalcolor,{color=%<color%>},normal,{hypersetup=%<options%>},sansmath
textformat=#empty,simple,period
twoside#true,false
width*=##L
width=##L
within=%<counter%>
without
#endkeyvals

\clearcaptionsetup[option%keyvals]{float type}
\clearcaptionsetup{float type}
\clearcaptionsetup*[option%keyvals]{float type}#*
\clearcaptionsetup*{float type}#*
\clearcaptionsetup*[option%keyvals]{float type}#*

#keyvals:\clearcaptionsetup#c,\clearcaptionsetup*#c
aboveskip
belowskip
box
boxcolor
boxsep
calcmargin
calcmargin*
calcwidth
calcwidth*
figurename
figureposition
figurewithin
figurewithout
font
font+
format
hangindent
indention
justification
labelfont
labelfont+
labelformat
labelsep
list
listfigurename
listformat
listtablename
listtype
listtype+
lofdepth
lotdepth
margin
margin*
maxmargin
minmargin
name
oneside
parbox
parindent
parskip
position
singlelinecheck
skip
strut
style
style*
subtype
subtype*
tablename
tableposition
tablewithin
tablewithout
textfont
textfont+
textformat
twoside
type
type*
width
width*
within
without
#endkeyvals

\centerfirst
\centerlast
\showcaptionsetup{float type}
\bothIfFirst{first arg}{second arg}
\bothIfSecond{first arg}{second arg}

\DeclareCaptionFont{name}{code}
\DeclareCaptionFormat{name}{code}
\DeclareCaptionFormat*{name}{code}
\DeclareCaptionJustification{name}{code}
\DeclareCaptionLabelFormat{name}{code}
\DeclareCaptionLabelSeparator{name}{code}
\DeclareCaptionLabelSeparator*{name}{code}
\DeclareCaptionListFormat{name}{code}
\DeclareCaptionTextFormat{name}{code}
\DeclareCaptionSubType{type}
\DeclareCaptionSubType[numbering scheme]{type}
\DeclareCaptionSubType*{type}
\DeclareCaptionSubType*[numbering scheme]{type}

\AfterCaptionPackage{code}#*
\AtBeginCaption{code}#*
\AtCaptionPackage{code}#*
\AtEndCaption{code}#*
\DeclareCaptionOption{name}{code}#*
\DeclareCaptionOption*{name}{code}#*
\DeclareCaptionOptionNoValue{name}{code}#*
\DeclareCaptionOptionNoValue*{name}{code}#*
\SetCaptionDefault{option}{default}#*
\SetCaptionDefault*{option}{default}#*
\SetCaptionFallback{option}{fallback value}#*
\captionfont#*
\captionlabelfont#*
\captiontextfont#*
\captionmargin#*
\captionsize#*

# not documented
\DeclareCaptionType[options%keyvals]{envname}#*N
\DeclareCaptionType{envname}#*N
\DeclareCaptionBox{name}{code}#*
\DeclareCaptionLength{name}{length}#*
\DeclareCaptionSinglelinecheck{name}{code}#*
\ForEachCaptionSubType{subtype list}{code}#*
\ForEachCaptionType{type list}{code}#*
\IfCaptionOptionCheck{true code}{false code}#*
\captionnewline#*
\DeclareCaptionPosition{name}{code}
\DeclareCaptionAutoPosition#*
\captionlisttype#*
\ifsinglelinecaption#*
\singlelinecaptionfalse#*
\singlelinecaptiontrue#*
\AtCaptionSingleLineCheck{code}#*

#keyvals:\DeclareCaptionType
fileext=%<file extension%>
listname=%<list name%>
name=%<name%>
placement=%<combination of htbp%>
within=%<<counter> or none%>
chapterlistsgaps=#on,off
without
planb#true,false
planb-fileext=%<file extension%>
#endkeyvals