From 5c3e7d14dc14232cab367595070b49c281524cad Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 26 Aug 2011 22:26:41 +0000 Subject: isotope (26aug11) git-svn-id: svn://tug.org/texlive/trunk@23711 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/isotope/isotope.sty | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/tex/latex/isotope') 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 +%% Copyright (C) 2003-2011 by Heiko Bauke %% %% 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% }% -- cgit v1.2.3