File: tabularcalc.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 (39 lines) | stat: -rw-r--r-- 1,252 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
# tabularcalc package
# Matthew Bertucci 1/25/2022 for v0.2

#include:fp
#include:xstring
#include:numprint

#keyvals:\usepackage/tabularcalc#c
fixFPpow
#endkeyvals

\htablecalc{%<cell (0,0)%>}{%<var=val1,val2,...%>}{%<label%>}{%<formula%>}
\htablecalc[%<N%>]{%<cell (0,0)%>}{%<var=val1,val2,...%>}{%<label1%>}{%<formula1%>}%<...{labelN}{formulaN}%>
\tclistsep#*
\vtablecalc{%<cell (0,0)%>}{%<var=val1,val2,...%>}{%<label%>}{%<formula%>}
\vtablecalc[%<N%>]{%<cell (0,0)%>}{%<var=val1,val2,...%>}{%<label1%>}{%<formula1%>}%<...{labelN}{formulaN}%>
\tcnoshowmark#*
\tcatbeginrow#*
# use %definition below so args can contain tabular commands
\tcsethrule{line 0%definition}{line 1%definition}{other lines%definition}
\tcresethrule
\tcsetcoltype{type 1}{type 2}
\tcsetcoltype[right lines]{type 1}{type 2}
\tcresetcoltype
\defcellcode{row number}{col number}{code}#*
\edefcellcode{row number}{col number}{code}#*
\tcresetcellcode#*
\tcprintvalue{number}#*
\tcprintresult{number}{arg}#*
\tcprintroundresult{precision}#*
\tcprintroundresult*{precision}#*
\tcprintroundvalue{precision}#*
\tcwritetofile{filename}
\tccol#*
\tclin#*
\tabularcalcversion#S
\tabularcalcdate#S
\tabularcalcfrenchdate#S
\tabularcalcenglishdate#S