File: chemnum.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 (97 lines) | stat: -rw-r--r-- 2,455 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
# chemnum package
# Matthew Bertucci 12/9/2021 for v1.3a

#include:xparse
#include:l3keys2e
#include:translations
#include:chemgreek
#include:psfrag

\cmpd{IDs}
\cmpd[options%keyvals]{IDs}
\cmpd*{IDs}#*
\cmpd*[options%keyvals]{IDs}#*
\cmpd+{IDs}#*
\cmpd+[options%keyvals]{IDs}#*

\refcmpd{ID}
\refcmpd[options%keyvals]{ID}
\labelcmpd{ID}
\labelcmpd[options%keyvals]{ID}

\replacecmpd{ID}
\replacecmpd[options%keyvals]{ID}
\replacecmpd+{ID}#*
\replacecmpd+[options%keyvals]{ID}#*
\initcmpd{IDs}
\initcmpd[options%keyvals]{IDs}

\cmpdplain{ID}#*
\subcmpdplain{main ID}{sub ID}#*
\submaincmpdplain{main ID}{sub ID}#*
\cmpdproperty{ID}{property}#*
\subcmpdproperty{main ID}{sub ID}{property}#*
\newcmpdcounterformat{name}{command}#*
\resetcmpd#*
\resetcmpd[integer]#*
\cmpdshowdef{ID}#*
\cmpdshowref{ID}#*
\subcmpdshowdef{main ID}{sub ID}#*
\subcmpdshowref{main ID}{sub ID}#*
\setcmpdproperty{property}{main ID}{value}#*
\setcmpdlabel{main ID}{value}#*
\chemnumshowdef{arg}#*
\chemnumshowref{arg}#*
\cmpdprintlabelid{arg}#*
\cmpdshowlabelmargin{arg}#*
\cmpdshowlabelinline{arg}#*
\thecmpdmain#*

\setchemnum{options%keyvals}

#keyvals:\setchemnum
counter-within=%<counter%>
replace-auto#true,false
replace-tag=%<text%>
replace-tag-nr=%<integer%>
replace-style={%<code%>}
replace-pos={%<TeX pos%>}{%<PS pos%>}
init=#true,main,false,strict,main-strict
log=#true,false,silent,verbose
show-keys=#true,false,def,ref
hyperlinks#true,false

#endkeyvals

#keyvals:\setchemnum,\cmpd,\cmpd*,\cmpd+,\refcmpd,\labelcmpd,\replacecmpd,\replacecmpd+,\initcmpd
counter-format=#arabic,alph,Alph,roman,Roman,greek,Greek
sub-counter-format=#arabic,alph,Alph,roman,Roman,greek,Greek
compress#true,false
merge#true,false
pre-label-code={%<code%>}
post-label-code={%<code%>}
pre-main-label-code={%<code%>}
post-main-label-code={%<code%>}
main-sub-sep={%<token%>}
format={%<formatting commands%>}
list-label-sep={%<token%>}
sub-list-label-sep={%<token%>}
list-sep-two={%<code%>}
list-sep-more={%<code%>}
list-sep-last-two={%<code%>}
sub-list-sep-two={%<code%>}
sub-list-sep-more={%<code%>}
sub-list-sep-last-two={%<code%>}
sub-list-sep-range={%<code%>}
#endkeyvals

#keyvals:\cmpd,\cmpd*,\cmpd+,\refcmpd,\labelcmpd,\replacecmpd,\replacecmpd+,\initcmpd
sub-only#true,false
sub-all
#endkeyvals

#keyvals:\replacecmpd
tag=%<text%>
style={%<code%>}
pos={%<TeX pos%>}{%<PS pos%>}
#endkeyvals