diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/isotope/isotope.sty | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/isotope/isotope.sty b/Master/texmf-dist/tex/latex/isotope/isotope.sty index b3c699d9eea..17436300da2 100644 --- a/Master/texmf-dist/tex/latex/isotope/isotope.sty +++ b/Master/texmf-dist/tex/latex/isotope/isotope.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2003 by Heiko Bauke <heiko.bauke@physik.uni-magdeburg.de> +%% Copyright (C) 2003-2011 by Heiko Bauke <heiko.bauke@mpi-hd.mpg.de> %% %% This file may be distributed and/or modified under the conditions of %% the LaTeX Project Public License, either version 1.2 of this license @@ -22,28 +22,28 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{isotope} - [2004/01/04 v0.2 for type setting isotopes] -\newcommand{\isotopestyle}{\rm} + [2011/08/26 v0.3 for typesetting isotopes] +\newcommand{\isotopestyle}{\mathrm} \newcommand{\isotope@atomicnumber}{} -\newcommand{\isotope@nuclearnumber}{} +\newcommand{\isotope@nucleonnumber}{} \newcommand{\isotope}[1][]{% \begingroup% - \renewcommand{\isotope@nuclearnumber}{#1}% + \renewcommand{\isotope@nucleonnumber}{#1}% \isotope@two}% \newcommand{\isotope@two}[2][]{% \renewcommand{\isotope@atomicnumber}{#1}% {\m@th% \settowidth\@tempdimb{\ensuremath{% - \isotopestyle\scriptstyle\isotope@nuclearnumber}}% + \scriptstyle\isotope@nucleonnumber}}% \settowidth\@tempdimc{\ensuremath{% - \isotopestyle\scriptstyle\isotope@atomicnumber}}% + \scriptstyle\isotope@atomicnumber}}% \ifdim\@tempdimb<\@tempdimc\@tempdimb=\@tempdimc\fi% \ensuremath{{}% ^{\makebox[\@tempdimb][r]{\ensuremath{% - \isotopestyle\scriptstyle\isotope@nuclearnumber}}}% + \scriptstyle\isotope@nucleonnumber}}}% _{\makebox[\@tempdimb][r]{\ensuremath{% - \isotopestyle\scriptstyle\isotope@atomicnumber}}}% - \isotopestyle#2}% + \scriptstyle\isotope@atomicnumber}}}% + \isotopestyle{#2}}% }% \endgroup% }% |