diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx/config/si-sistyle.cfg')
-rw-r--r-- | Master/texmf-dist/tex/latex/siunitx/config/si-sistyle.cfg | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-sistyle.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-sistyle.cfg new file mode 100644 index 00000000000..aca37d6e003 --- /dev/null +++ b/Master/texmf-dist/tex/latex/siunitx/config/si-sistyle.cfg @@ -0,0 +1,87 @@ +%% +%% 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} + [\csname si@svn@version\endcsname 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}} +\endinput +%% +%% End of file `si-sistyle.cfg'. |