diff options
author | Karl Berry <karl@freefriends.org> | 2013-09-15 22:33:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-09-15 22:33:25 +0000 |
commit | 117abf54b3a1f8851f0634aca1120e96b258f01b (patch) | |
tree | c6c43d1485a7f8ed37d432192852605f718cfff2 /Master/texmf-dist/tex/latex/achemso/achemso.cls | |
parent | 8b5a8ff82779eb4bb332913f07486c589b4c53f1 (diff) |
achemso (15sep13)
git-svn-id: svn://tug.org/texlive/trunk@31662 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/achemso/achemso.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/achemso/achemso.cls | 58 |
1 files changed, 30 insertions, 28 deletions
diff --git a/Master/texmf-dist/tex/latex/achemso/achemso.cls b/Master/texmf-dist/tex/latex/achemso/achemso.cls index 3d648035d0a..c548528e9b1 100644 --- a/Master/texmf-dist/tex/latex/achemso/achemso.cls +++ b/Master/texmf-dist/tex/latex/achemso/achemso.cls @@ -16,7 +16,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesClass{achemso} - [2013/09/08 v3.8a Submission to ACS journals] + [2013/09/15 v3.8b Submission to ACS journals] \LoadClass[12pt,letter]{article} \newcommand*\acs@warning{\ClassWarning{achemso}} \newcommand*\acs@ifundefined[1]{% @@ -1210,34 +1210,36 @@ }% \AtEndDocument{\acs@abstract@text}% } -\newcommand\acs@tocentry@print[1]{% - \global\long\def\acs@tocentry@text - {% - \if@twocolumn - \@restonecoltrue\onecolumn - \else - \@restonecolfalse\newpage - \fi - \acs@section*{\tocentryname}% - \tocsize - \sffamily - \singlespacing - \begin{center} - \fbox - {% - \begin{minipage}{\acs@tocentry@height} - \vbox to \acs@tocentry@width{#1}% - \end{minipage}% - }% - \end{center}% - \if@restonecol - \twocolumn - \else - \newpage - \fi - }% - \AtEndDocument{\acs@tocentry@text}% +\newcommand{\acs@tocentry@print}[1]{% + \gdef\acs@tocentry@text{#1}% + \AtEndDocument{% + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse\newpage + \fi + \acs@tocentry@print@aux + \if@restonecol + \twocolumn + \else + \newpage + \fi + }% } +\newcommand*{\acs@tocentry@print@aux}{% + \acs@section*{\tocentryname}% + \tocsize + \sffamily + \singlespacing + \begin{center} + \fbox + {% + \begin{minipage}{\acs@tocentry@height} + \vbox to \acs@tocentry@width{\acs@tocentry@text}% + \end{minipage}% + }% + \end{center}% + } \newlength{\acs@tocentry@height} \newlength{\acs@tocentry@width} \setlength{\acs@tocentry@height}{9 cm} |