summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx/config/si-fancynum.cfg
blob: 6abb83320812926ab7fb25f8ad964646d3a4ca40 (plain)
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
%%
%% This is file `si-fancynum.cfg',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% siunitx.dtx  (with options: `fancynum')
%% ---------------------------------------------------------------
%% 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-fancynum.cfg}
  [2010/02/05 v1.4a siunitx: Emulation of
     fancynum]
\si@emulating{fancynum}{2000/08/08 0.92}
\sisetup{decimalsymbol=cdot,digitsep=comma}
\let\fnum\num
\newcommand*{\setfnumdsym}[1]{\sisetup{decimalsymbol={#1}}}
\newcommand*{\setfnumgsym}[1]{\sisetup{digitsep={#1}}}
\newcommand*{\setfnummsym}[1]{\sisetup{expproduct={#1}}}
\ifsi@old@english
  \sisetup{decimalsymbol=cdot,digitsep=comma}
\fi
\ifsi@old@french
  \sisetup{decimalsymbol=comma,digitsep=fullstop}
\fi
\ifsi@old@tight
  \sisetup{expproduct=tighttimes}
\fi
\ifsi@old@loose
  \sisetup{expproduct=times}
\fi
\ifsi@old@thinspaces
  \sisetup{digitsep=thin}
\fi
\ifsi@old@commas
  \sisetup{digitsep=comma}
\fi
\ifsi@old@plain
  \sisetup{digitsep=none}
\fi
%% 
%% 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-fancynum.cfg'.