File: spreadtab.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 (84 lines) | stat: -rw-r--r-- 1,708 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
# spreadtab package
# Matthew Bertucci 10/25/2021 for v0.5

#include:xstring
#include:fp

#keyvals:\usepackage/spreadtab#c
fp
xfp
#endkeyvals

#ifOption:xfp
#include:xfp
#endif

\begin{spreadtab}{{envname}{preamble}}#\array
\end{spreadtab}

\STeol{macro}
\STcopy{>x,vy}{formula}#t
\STsetdecimalsep{character}
\STautoround{number of digits}
\STautoround*{number of digits}
\hhline{colspec}#t
\toprule#t
\toprule[line width%l]#t
\midrule#t
\midrule[line width%l]#t
\bottomrule#t
\bottomrule[line width%l]#t
\cmidrule{a-b}#t
\cmidrule(trim){a-b}#t
\cmidrule[line width%l](trim){a-b}#t
\morecmidrules#t
\specialrule{line width%l}{above space}{below space}#t
\addlinespace#t
\addlinespace[vspace]#t
\SThiderow#t
\SThidecol#t
\STsavecell{cmd}{reference}#d
\STsetdisplaymarks{left-delim}{right-delim}
\STtag{name}
\STmakegtag{name}
\STmessage{bool%keyvals}
#keyvals:\STmessage
true
false
#endkeyvals
\STdebug{option%keyvals}
#keyvals:\STdebug
formula
text
code
#endkeyvals

\STusefp#*
\STusexfp#*
\STtextcell#*
\STnumericfieldmarker#*
\STtransposecar#*
\STprintnum{arg}#*
\STeval{variable%cmd}{expression}#*d
\STround{variable%cmd}{value}{digits}#*d
\STclip{variable%cmd}{value}#*d
\STtrunc{variable%cmd}{value}{digits}#*d
\STadd{variable%cmd}{value1}{value2}#*d
\STmul{variable%cmd}{value1}{value2}#*d
\STdiv{variable%cmd}{value1}{value2}#*d
\STseed#*
\STrandom{variable%cmd}#*d
\STifzero{value}#*
\STifgt{value1}{value2}#*
\STiflt{value1}{value2}#*
\STifeq{value1}{value2}#*
\STifint{value}#*
\STifneg{value}#*
\STaddcol#*
\STaddrow#*
\STrounddigit#S
\STdatetonum{cmd}{jj}{mm}{aa}#*d
\STdisplaytab#*
\STname#S
\STver#S
\STdate#S