summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/siunitx/config/si-fancyunits.cfg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-23 23:51:56 +0000
committerKarl Berry <karl@freefriends.org>2010-05-23 23:51:56 +0000
commit120f7e4c07269238a49d6bf82cdd01e0be96f2a7 (patch)
tree39447369aa5139982e3323a38cf4a5b4ef0c81ba /Master/texmf-dist/tex/latex/siunitx/config/si-fancyunits.cfg
parentad61437dbc77ced3998eeb1fbc47f07382a9740b (diff)
siunitx 2 (23may10)
git-svn-id: svn://tug.org/texlive/trunk@18439 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx/config/si-fancyunits.cfg')
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/config/si-fancyunits.cfg127
1 files changed, 0 insertions, 127 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/config/si-fancyunits.cfg b/Master/texmf-dist/tex/latex/siunitx/config/si-fancyunits.cfg
deleted file mode 100644
index 25d26baf616..00000000000
--- a/Master/texmf-dist/tex/latex/siunitx/config/si-fancyunits.cfg
+++ /dev/null
@@ -1,127 +0,0 @@
-%%
-%% This is file `si-fancyunits.cfg',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% siunitx.dtx (with options: `fancyunits')
-%% ---------------------------------------------------------------
-%% 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-fancyunits.cfg}
- [2010/02/22 v1.4c siunitx: Emulation of
- fancyunits]
-\si@emulating{fancyunits}{2007/02/01 v1.0.1}
-\si@ifloaded{SIunits}
- {\si@log@err{SIunits emulation loaded\MessageBreak before
- fancyunits emulation}{You need to load the fancyunits
- emualtion\MessageBreak code before that for
- SIunits.\MessageBreak Try emulate=fancyunits as the first
- option when\MessageBreak loading siunitx}}{}
-\newcommand*{\si@siu@newunithook}[3][]{%
- \edef\si@tempa{%
- \expandafter\noexpand\csname #2per#1#3uf\endcsname}%
- \renewcommand*{\si@tempb}{stickyper,per=fraction,
- fraction=nice}%
- \edef\si@tempc{%
- \noexpand\sisetup{\si@tempb}%
- \expandafter\noexpand\csname #2\endcsname\noexpand\si@per%
- \expandafter\noexpand\si@siu@power%
- \expandafter\noexpand\csname #3\endcsname}%
- \expandafter\expandafter\expandafter\newunit\expandafter
- \expandafter\expandafter{\expandafter\si@tempa\expandafter}%
- \expandafter{\si@tempc}%
- \edef\si@tempa{%
- \expandafter\noexpand\csname #2per#1#3Uf\endcsname}%
- \renewcommand*{\si@tempb}{stickyper,per=fraction,
- fraction=frac}%
- \edef\si@tempc{%
- \noexpand\sisetup{\si@tempb}%
- \noexpand\def\noexpand\si@frc@hook{\noexpand\textstyle}%
- \expandafter\noexpand\csname #2\endcsname\noexpand\si@per%
- \expandafter\noexpand\si@siu@power%
- \expandafter\noexpand\csname #3\endcsname}%
- \expandafter\expandafter\expandafter\newunit\expandafter
- \expandafter\expandafter{\expandafter\si@tempa\expandafter}%
- \expandafter{\si@tempc}%
- \edef\si@tempa{%
- \expandafter\noexpand\csname #2per#1#3UF\endcsname}%
- \edef\si@tempc{%
- \noexpand\sisetup{\si@tempb}%
- \noexpand\def\noexpand\si@frc@hook{\noexpand\displaystyle}%
- \expandafter\noexpand\csname #2\endcsname\noexpand\si@per%
- \expandafter\noexpand\si@siu@power%
- \expandafter\noexpand\csname #3\endcsname}%
- \expandafter\expandafter\expandafter\newunit\expandafter
- \expandafter\expandafter{\expandafter\si@tempa\expandafter}%
- \expandafter{\si@tempc}}
-\newcommand*{\si@siu@newunitxhook}[4]{%
- \expandafter\newunit\expandafter{\csname #1per#2uf\endcsname}
- {\sisetup{stickyper,per=fraction,fraction=nice}%
- #3\si@per#4}%
- \expandafter\newunit\expandafter{\csname #1per#2Uf\endcsname}
- {\sisetup{stickyper,per=fraction,fraction=frac}%
- \renewcommand*{\si@frc@hook}{\textstyle}%
- #3\si@per#4}%
- \expandafter\newunit\expandafter{\csname #1per#2UF\endcsname}
- {\sisetup{stickyper,per=fraction,fraction=frac}%
- \renewcommand*{\si@frc@hook}{\displaystyle}%
- #3\si@per#4}}
-\requiresiconfigs{SIunits,addn,astro}
-\sisetup{obeyall}
-\ifsi@old@spaceqspace
- \sisetup{valuesep=space}
-\fi
-\newunit{\paminute}{'}
-\newunit{\parsecond}{''}
-\newunit{\AstroE}{AE}
-\newunit{\oersted}{OE}
-\provideunit{\ton}{t}
-\let\decaD\decad
-\newcommand*{\ufrac}[2]{%
- \si[stickyper,per=fraction,fraction=nice]{#1\si@per#2}}
-\newcommand*{\Ufrac}[2]{%
- \ensuremath{\textstyle{%
- \si[stickyper,per=fraction,fraction=frac]{#1\si@per#2}}}}
-\newcommand*{\UFrac}[2]{%
- \ensuremath{\displaystyle{%
- \si[stickyper,per=fraction,fraction=frac]{#1\si@per#2}}}}
-\let\pow\power
-\let\Squaremetre\squaremetre
-\si@siu@newunit{Gray}{second}
-\si@siu@newunit[square]{Squaremetre}{metre}
-\si@siu@newunitx{Squaremetre}{newtonsecond}{\Square\metre}
- {\newton\second}
-\si@siu@newunit{Squaremetre}{second}
-\si@siu@newunit[square]{Squaremetre}{squaresecond}
-\si@siu@newunit{Squaremetre}{kilogram}
-\si@siu@newunit[cubic]{Squaremetre}{second}
-%%
-%% 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-fancyunits.cfg'.