diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/siunitx/siunitx.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/siunitx/siunitx.sty | 59 |
1 files changed, 32 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty index 57cdedcb261..a068fd12746 100644 --- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty +++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty @@ -5,17 +5,17 @@ %% The original source files were: %% %% siunitx.dtx (with options: `package') -%% ---------------------------------------------------------------- -%% 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 -%% ---------------------------------------------------------------- +%% --------------------------------------------------------------- +%% 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 +%% --------------------------------------------------------------- %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{siunitx} - [2009/09/16 v1.2n A comprehensive (SI) units package] + [2009/09/21 v1.3a A comprehensive (SI) units package] \begingroup \@ifundefined{eTeXversion} {\PackageError{siunitx} @@ -830,23 +830,7 @@ \DeclareFontSubstitution{TS1}{cmr}{m}{n} \DeclareTextSymbol{\si@textmu}{TS1}{181} \DeclareTextSymbolDefault{\si@textmu}{TS1} -\@ifpackageloaded{upgreek} - {} - {\DeclareFontFamily{OML}{eur}{\skewchar\font'177} - \DeclareFontShape{OML}{eur}{m}{n}{% - <-6> eurm5 <6-8> eurm7 <8-> eurm10}{}} -\AtBeginDocument{% - \@ifpackageloaded{upgreek}{% - \let\si@mathsmu\upmu - }{% - \@ifpackageloaded{fourier}{% - \let\si@mathsmu\othermu - }{% - \DeclareSymbolFont{si@greek}{OML}{eur}{m}{n}% - \DeclareMathSymbol{\si@mathsmu}{\mathord}{si@greek}{"16}% - }% - }% -} +\def\si@mathsmu{\text{\si@textmu}} \si@opt@cmdkeys{textdegree,mathsdegree,textminute,mathsminute, textsecond,mathssecond} \si@opt@key{mathdegree}{\sisetup{mathsdegree=#1}} @@ -2184,7 +2168,7 @@ \expandafter\si@num\expandafter{\si@num@err}} \newcommand*{\si@num@sepxpart}{% \si@num@addunit - \ensuremath{\times}% + \ensuremath{{}\times{}}% \expandafter\expandafter\expandafter\si@num\expandafter \expandafter\expandafter{% \expandafter\@cdr\si@num@xpart\@nil}} @@ -3950,6 +3934,27 @@ \InputIfFileExists{siunitx.cfg}{}{}} {} \si@catcodes -\endinput +%% +%% Copyright (C) 2008-2009 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 `siunitx.sty'. |