File: currency.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 (45 lines) | stat: -rw-r--r-- 965 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
# currency package
# Matthew Bertucci 12/10/2021 for v0.4

#include:siunitx
#include:pgfkeys
#include:etoolbox
#include:xparse
#include:textcomp
#include:eurosym

\DefineCurrency{ISO}{maps%keyvals}
\CurrencySetup{maps%keyvals}
\CurrencySetupAppend{maps%keyvals}

#keyvals:\DefineCurrency,\CurrencySetup,\CurrencySetupAppend
name={%<name%>}
plural={%<plural%>}
iso={%<ISO%>}
symbol={%<symbol%>}
pre-between={%<tokens%>}
post-between={%<tokens%>}
before={%<tokens%>}
before+={%<tokens%>}
before<={%<tokens%>}
font={%<tokens%>}
font+={%<tokens%>}
after={%<tokens%>}
after+={%<tokens%>}
after<={%<tokens%>}
prefix={%<tokens%>}
kind=#iso,plural,name,symbol
cents=#true,false,always
pre#true,false
number#true,false
base=%<integer%>
#endkeyvals

\currencyunit

\displayCurrency{ISO}{value}#*
\displayCurrency{ISO}[options]{value}#*
\displayCurrencySymbol{ISO}#*
\displayCurrencySymbol{ISO}[options]#*
\SetPrecision#*
\Unknown#S