File: siunitx.cwl

package info (click to toggle)
texstudio 3.0.4%2Bds-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 46,252 kB
  • sloc: cpp: 100,769; xml: 9,228; ansic: 8,143; javascript: 4,235; sh: 191; makefile: 31
file content (450 lines) | stat: -rw-r--r-- 8,682 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
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
440
441
442
443
444
445
446
447
448
449
450
# dbitouze/2015-03-20 for siunitx v2.6e
# thatlittleboy/2018-06-18

\A#*
\ampere
\amu#*
\ang[%<options%>]{%<degrees%>}
\ang[%<options%>]{%<decimal number%>}
\ang{%<degrees%>}
\ang{%<decimal number%>}
\angstrom
\arcminute
\arcsecond
\as#*
\astronomicalunit
\atomicmassunit
\atto#*
\bar
\barn
\becquerel
\bel
\bit
\bohr
\byte
\candela
\celsius
\centi
\clight
\cmclight
\color
\coulomb
\cubed
\cubic
\dalton
\day
\dB#*
\deca
\deci
\decibel
\DeclareBinaryPrefix{%<prefix%>}{%<symbol%>}{%<power of 2%>}#d
\DeclareSIPostPower{%<power macro%>}{%<number%>}#d
\DeclareSIPrefix{%<prefix%>}{%<symbol%>}{%<power of 10%>}#d
\DeclareSIPrePower{%<power macro%>}{%<number%>}#d
\DeclareSIQualifier{%<qualifier%>}{%<symbol%>}#d
\DeclareSIUnit[%<options%>]{unit%cmd}{definition}#d
\DeclareSIUnit{unit%cmd}{definition}#d
\degreeCelsius
\deka
\dm#*
\electronmass
\electronvolt
\elementarycharge
\ensuremath
\eV#*
\exa
\exbi
\F#*
\farad
\femto
\fF#*
\fg#*
\fmol#*
\fs#*
\g#*
\GeV#*
\GHz#*
\gibi
\giga
\GPa#*
\gram
\gray
\GW#*
\hartree
\hectare
\hecto
\henry
\hertz
\highlight
\hL#*
\hl#*
\hour
\Hz#*
\J#*
\joule
\K#*
\kA#*
\katal
\kelvin
\keV#*
\kg#*
\kHz#*
\kibi
\kilo
\kilogram
\kJ#*
\km#*
\kmol#*
\kN#*
\knot
\kohm#*
\kPa#*
\kV#*
\kW#*
\kWh#*
\liter
\litre
\m#*
\mA#*
\mebi
\mega
\meter
\metre
\MeV#*
\meV#*
\mg#*
\MHz#*
\mHz#*
\micro
\milli
\minute
\mL#*
\ml#*
\mm#*
\mmHg
\mmol#*
\MN#*
\mN#*
\Mohm#*
\mohm#*
\mol#*
\mole
\mp#*
\MPa#*
\ms#*
\mV#*
\MW#*
\mW#*
\N#*
\nA#*
\nano
\nauticalmile
\neper
\newton
\ng#*
\nm#*
\nmol#*
\ns#*
\num[%<options%>]{%<number%>}
\num{%<number%>}
\numlist[%<options%>]{%<numbers%>}
\numlist{%<numbers%>}
\numrange[%<options%>]{%<number1%>}{%<number2%>}
\numrange{%<number1%>}{%<number2%>}
\nV#*
\of
\ohm
\Pa#*
\pA#*
\pascal
\pebi
\per
\percent
\peta
\pF#*
\pg#*
\pico
\planckbar
\pmol#*
\ps#*
\pV#*
\radian
\raiseto{%<power%>}
\s#*
\second
\SendSettingsToPgf
\SI[%<options%>]{%<value%>}[%<pre-unit%>]{%<unit commands%>}
\SI[%<options%>]{%<value%>}{%<unit commands%>}
\SI{%<value%>}[%<pre-unit%>]{%<unit commands%>}
\SI{%<value%>}{%<unit commands%>}
\si[%<options%>]{%<unit%>}
\si{%<unit%>}
\siemens
\sievert
\SIlist{%<values%>}{%<unit commands%>}
\SIlist[%<options%>]{%<values%>}{%<unit commands%>}
\SIrange{%<value1%>}{%<value2%>}{%<unit commands%>}
\SIrange[%<options%>]{%<value1%>}{%<value2%>}{%<unit commands%>}
\sisetup{%<options%>}
\SIUnitSymbolAngstrom
\SIUnitSymbolArcminute
\SIUnitSymbolArcsecond
\SIUnitSymbolCelsius
\SIUnitSymbolDegree
\SIUnitSymbolMicro
\SIUnitSymbolOhm
\square
\squared
\steradian
\tablenum
\tebi
\tera
\tesla
\TeV#*
\THz#*
\tonne
\tothe{%<power%>}
\uA#*
\ug#*
\uL#*
\ul#*
\um#*
\umol#*
\us#*
\uV#*
\uW#*
\V#*
\volt
\W#*
\watt
\weber
\yobi
\yocto
\yotta
\zebi
\zepto
\zetta
# Options
## Detecting Fonts ; section 5.2
#keyvals:\sisetup
detect-all
detect-display-math#true,false
detect-family#true,false
detect-inline-family=#text,math
detect-inline-weight=#text,math
detect-mode#true,false
detect-none
detect-shape#true,false
detect-weight#true,false
#endkeyvals
## Font settings ; section 5.3
#keyvals:\sisetup,\ang,\DeclareSIUnit,\num,\numlist,\numrange,\SI,\si,\SIlist,\SIrange
color=#%color
mode=#math,text
math-rm=
math-sf=
math-tt=
text-rm=
text-sf=
text-tt=
#endkeyvals
## Font settings ; section 5.3 ; with "number-"
#keyvals:\sisetup,\ang,\DeclareSIUnit,\num,\numlist,\numrange,\SI,\SIlist,\SIrange
number-color=#%color
number-mode=#math,text
number-math-rm=
number-math-sf=
number-math-tt=
number-text-rm=
number-text-sf=
number-text-tt=
#endkeyvals
## Font settings ; section 5.3 ; with "unit-"
#keyvals:\sisetup,\ang,\DeclareSIUnit,\SI,\si,\SIlist,\SIrange
unit-color=#%color
unit-mode=#math,text
unit-math-rm=
unit-math-sf=
unit-math-tt=
unit-text-rm=
unit-text-sf=
unit-text-tt=
#endkeyvals
## Parsing numbers ; section 5.4
#keyvals:\sisetup,\ang,\DeclareSIUnit,\num,\numlist,\numrange,\SI,\SIlist,\SIrange
input-close-uncertainty=
input-comparators=
input-complex-roots=
input-decimal-markers=
input-digits=
input-exponent-markers=
input-ignore=
input-open-uncertainty=
input-protect-tokens=
input-signs=
input-uncertainty-signs=
input-symbols=
parse-numbers#true,false
#endkeyvals
## Post-processing numbers ; section 5.5
#keyvals:\sisetup,\ang,\DeclareSIUnit,\num,\numlist,\numrange,\SI,\SIlist,\SIrange
add-decimal-zero#true,false
add-integer-zero#true,false
explicit-sign=
fixed-exponent=
minimum-integer-digits=
omit-uncertainty#true,false
retain-explicit-plus#true,false
retain-unity-mantissa#true,false
retain-zero-exponent#true,false
round-half=#up,even
round-integer-to-decimal#true,false
round-minimum=
round-mode=#off,figures,places
round-precision=
scientific-notation=#true,false,fixed,engineering
zero-decimal-to-integer#true,false
#endkeyvals
## Printing numbers ; section 5.6
#keyvals:\sisetup,\ang,\DeclareSIUnit,\num,\numlist,\numrange,\SI,\SIlist,\SIrange
bracket-negative-numbers#true,false
bracket-numbers#true,false
close-bracket=
complex-root-position=#after-number,before-number
copy-complex-root=
copy-decimal-marker=
exponent-base=
exponent-product=
group-digits=#true,false,decimal,integer
group-minimum-digits=
group-separator=
negative-color=#%color
open-bracket=
output-close-uncertainty=
output-complex-root=
output-decimal-marker=
output-exponent-marker=
output-open-uncertainty=
separate-uncertainty#true,false
tight-spacing#true,false
uncertainty-separator=
#endkeyvals
## Multi-part numbers ; section 5.7
#keyvals:\sisetup,\DeclareSIUnit,\num,\numlist,\SI,\SIlist
fraction-function=
input-product=
input-quotient=
output-product=
output-quotient=
quotient-mode=#symbol,fraction
#endkeyvals
## Lists and ranges of numbers ; section 5.8
#keyvals:\sisetup,\DeclareSIUnit,\numlist,\SIlist
list-final-separator=
list-pair-separator=
list-separator=
#endkeyvals
#keyvals:\sisetup,\DeclareSIUnit,\numrange,\SIrange
range-phrase=
#endkeyvals
## Angles ; section 5.9
#keyvals:\sisetup,\ang
add-arc-degree-zero#true,false
add-arc-minute-zero#true,false
add-arc-second-zero#true,false
angle-symbol-over-decimal#true,false
arc-separator=
number-angle-product=
#endkeyvals
## Creating units ; section 5.10
#keyvals:\sisetup,\DeclareSIUnit
free-standing-units#true,false
overwrite-functions#true,false
space-before-unit#true,false
unit-optional-argument#true,false
use-xspace#true,false
#endkeyvals
## Using units ; section 5.12
#keyvals:\sisetup,\DeclareSIUnit,\SI,\si,\SIlist,\SIrange
bracket-unit-denominator#true,false
forbid-literal-units#true,false
literal-superscript-as-power#true,false
inter-unit-product=
parse-units#true,false
per-mode=#fraction,reciprocal,reciprocal-positive-first,symbol,symbol-or-fraction,repeated-symbol
per-symbol=
power-font=#number,unit
prefixes-as-symbols#true,false
qualifier-mode=#subscript,space,text,brackets,phrase
qualifier-phrase=
sticky-per#true,false
#endkeyvals
## Numbers with units ; section 5.13
#keyvals:\sisetup,\DeclareSIUnit,\SI,\SIlist,\SIrange
allow-number-unit-breaks#true,false
exponent-to-prefix#true,false
number-unit-product=
#endkeyvals
#keyvals:\sisetup,\DeclareSIUnit,\SI,\SIlist
multi-part-units=#brackets,repeat,single
product-units=#brackets,brackets-power,power,repeat,single
#endkeyvals
#keyvals:\sisetup,\DeclareSIUnit,\SIlist
list-units=#brackets,repeat,single
#endkeyvals
#keyvals:\sisetup,\DeclareSIUnit,\SIrange
range-units=#brackets,repeat,single
#endkeyvals
## Tabular material ; section 5.14
#keyvals:\sisetup,\DeclareSIUnit
table-align-comparator#true,false
table-align-exponent#true,false
table-align-text-pre#true,false
table-align-text-post#true,false
table-align-uncertainty#true,false
table-alignment=#center,right,left
table-auto-round#true,false
table-column-width=
table-comparator#true,false
table-figures-decimal=
table-figures-exponent=
table-figures-integer=
table-figures-uncertainty=
table-format=
table-number-alignment=#center-decimal-marker,center,left,right
table-parse-only#true,false
table-omit-exponent#true,false
table-space-text-pre=
table-space-text-post=
table-sign-exponent#true,false
table-sign-mantissa#true,false
table-text-alignment=#center,right,left
table-unit-alignment=#center,right,left
#endkeyvals
## Symbols ; section 5.15
#keyvals:\sisetup,\DeclareSIUnit,\SI,\si,\SIlist,\SIrange
math-angstrom=
math-celsius=
math-micro=
math-ohm=
text-angstrom=
text-celsius=
text-micro=
text-ohm=
#endkeyvals
#keyvals:\sisetup,\ang,\DeclareSIUnit,\SI,\si,\SIlist,\SIrange
math-arcminute=
math-arcsecond=
math-degree=
redefine-symbols#true,false
text-arcminute=
text-arcsecond=
text-degree=
#endkeyvals
## Other options ; section 5.16
#keyvals:\sisetup,\ang,\DeclareSIUnit,\num,\numlist,\numrange,\SI,\si,\SIlist,\SIrange
locale=#DE,UK,US,ZA,FR
#endkeyvals
#keyvals:\sisetup
strict#true,false
#endkeyvals