File: xifthen.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 (27 lines) | stat: -rw-r--r-- 694 bytes parent folder | download | duplicates (3)
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
# xifthen package
# nja 17 July 2007
# url:  http://www.ctan.org/tex-archive/help/Catalogue/entries/xifthen.html

# also in ifthen
\ifthenelse{test}{then clause}{else clause}
\boolean{name}
\newboolean{name}
\setboolean{name}{truth value}
\isodd{number}
\isundefined{command%plain}
\equal{string}{string}
\AND
\OR
\NOT
\lengthtest{dimen operator dimen}

# in xifthen but not in ifthen
\isnamedefined{command name}
\isempty{content}
\isequivalentto{command%plain}{command%plain}
\isin{substring}{string}
\endswith{string}{substring}
\cnttest{counter expression}<comparison>{counter expression}
\dimtest{dimen expression}<comparison>{dimen expression}
\newtest{command%plain}[n]{testexpression}