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
98
99
100
101
102
103
104
105
106
107
108
|
%%
%% This is file `si-sistyle.cfg',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% siunitx.dtx (with options: `sistyle')
%% ---------------------------------------------------------------
%% The siunitx package --- A comprehensive (SI) units package
%% Maintained by Joseph Wright
%% E-mail: joseph.wright@morningstar2.co.uk
%% Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%
\ProvidesFile{si-sistyle.cfg}
[2010/01/16 v1.4 siunitx: Emulation of
SIstyle]
\si@emulating{sistyle}{2006/12/20 v2.3}
\sisetup{%
sepfour=true,
obeyfamily,
obeyitalic=true,
numsign=+-,
strictarc=false,
unitsep=cdot}
\newcommand*{\SIobeyboldtrue}{\sisetup{obeybold=true}}
\newcommand*{\SIobeyboldfalse}{\sisetup{obeybold=false}}
\let\num\relax
\si@newrobustcmd*{\num}{%
\@ifstar
{\si@sis@numstar}
{\si@sis@num}}
\newcommand*{\si@sis@num}[2][]{%
\begingroup%
\sisetup{#1}%
\expandafter\si@out@num\expandafter{\si@num{#2}}%
\endgroup}
\newcommand*{\si@sis@numstar}[2][]{%
\begingroup%
\sisetup{mode=text,obeybold}%
\sisetup{#1}%
\expandafter\si@out@num\expandafter{\si@num{#2}}%
\endgroup}
\newcommand*{\pnt}{\ensuremath{\si@decimalsymbol}}
\newcommand*{\SIgroupfourtrue}{\sisetup{sepfour=true}}
\newcommand*{\SIgroupfourfalse}{\sisetup{sepfour=false}}
\newcommand*{\SIunitsep}[1]{\sisetup{valuesep={#1}}}
\newcommand*{\SIunitspace}[1]{\sisetup{unitspace={#1}}}
\newcommand*{\SIunitdot}[1]{\sisetup{unitsep={#1}}}
\newcommand*{\SIdecimalsymbol}[1]{\sisetup{decimalsymbol={#1}}}
\newcommand*{\SIthousandsep}[1]{\sisetup{digitsep={#1}}}
\newcommand*{\SIproductsign}[1]{\sisetup{expproduct={#1}}}
\newcommand*{\SIdecimalsign}[1]{\sisetup{decimalsymbol={#1}}}
\newcommand*{\si@sis@savefont}[2]{%
\@namedef{si@sis@#1}{#2}%
\sisetup{#1=si@sis@#1}}
\newcommand*{\SImathrm}[1]{\si@sis@savefont{mathrm}{#1}}
\newcommand*{\SImathsf}[1]{\si@sis@savefont{mathsf}{#1}}
\newcommand*{\SImathtt}[1]{\si@sis@savefont{mathtt}{#1}}
\newcommand*{\SIdefaultMfam}[1]{\si@sis@savefont{mathrm}{#1}}
\newcommand*{\SIdefaultNfam}[1]{\si@sis@savefont{mathnumrm}{#1}}
\newcommand*{\SIdefaultTfam}[1]{\si@sis@savefont{textrm}{#1}}
\si@newrobustcmd*{\ensureupmath}[1]{%
\begingroup
\sisetup{mode=maths,obeyitalic=false}%
\si@out{#1}%
\endgroup}
\newcommand*{\degC}{\si@sym@celsius}
\newcommand*{\arcdeg}{\si@sym@degree}
\newcommand*{\degF}{\si@sym@degree F}
\newcommand*{\SIstyle}[1]{\sisetup{locale=#1}}
\newcommand*{\SIstyleToLang}[2]{\sisetup{loctolang=#1:#2}}
\newcommand*{\AddToSIstyle}{%
\si@switchfalse
\@ifstar
{\si@switchtrue
\si@sis@addtolocale}
{\si@sis@addtolocale}}
\newcommand*{\si@sis@addtolocale}[2]{%
\ifsi@switch
\expandafter\let\csname si@loc@#1@extra\endcsname\relax
\fi
\addtolocale{#1}{#2}}
%%
%% Copyright (C) 2008-2010 by
%% Joseph Wright <joseph.wright@morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License (LPPL), either version 1.3c of
%% this license or (at your option) any later version. The latest
%% version of this license is in the file:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% This work is "maintained" (as per LPPL maintenance status) by
%% Joseph Wright.
%%
%% This work consists of the file siunitx.dtx
%% and the derived files siunitx.pdf,
%% siunitx.sty
%% siunitx.bib,
%% siunitx.ins,
%% siunitx-bug.tex and
%% various .cfg files.
%%
%%
%% End of file `si-sistyle.cfg'.
|