diff options
author | Karl Berry <karl@freefriends.org> | 2013-08-24 22:38:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-08-24 22:38:19 +0000 |
commit | 8f202738ce363c80b55b8a2a9496340292a4b200 (patch) | |
tree | 55b14aa65a17409600f1677a535435ad33902432 /Master/texmf-dist/tex/latex/achemso/achemso.cls | |
parent | 7296f99c246a5b1e923c7207fbe7f637685cc67e (diff) |
achemso (24aug13)
git-svn-id: svn://tug.org/texlive/trunk@31512 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 | 87 |
1 files changed, 63 insertions, 24 deletions
diff --git a/Master/texmf-dist/tex/latex/achemso/achemso.cls b/Master/texmf-dist/tex/latex/achemso/achemso.cls index 6ffc0ce1118..27d284d1074 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/06/07 v3.7h Submission to ACS journals] + [2013/08/23 v3.8 Submission to ACS journals] \LoadClass[12pt,letter]{article} \newcommand*\acs@warning{\ClassWarning{achemso}} \newcommand*\acs@ifundefined[1]{% @@ -277,6 +277,9 @@ \acs@bibliography{acs-\jobname,#1}% }% } +\AtBeginDocument{ + \providecommand{\latin}[1]{#1} +} \setkeys{acs}{ abbreviations = false, articletitle = false, @@ -289,9 +292,6 @@ } \acs@niib@create \RequirePackage[margin=2.54cm]{geometry} -\RequirePackage[scaled=0.90]{helvet} -\RequirePackage{courier} -\RequirePackage[T1]{fontenc} \RequirePackage{ caption, float, @@ -535,18 +535,22 @@ \@onlypreamble\keywords \newcommand*\acs@abbreviations@print{% \ifx\@abbreviations\@empty\else - ABBREVIATIONS: \@abbreviations + \section*{Abbreviations} + \@abbreviations \par \fi } \newcommand*\acs@keywords@print{% \ifx\@keywords\@empty\else - KEYWORDS: \@keywords + \section*{Keywords} + \@abbreviations \par \fi } \newcommand*\acs@title@short@print{% - RUNNING HEADER: \acs@title@short + \section*{Running header} + \acs@title@short + \par } \newlength\acs@space@pre@title \setlength\acs@space@pre@title{2em} @@ -786,23 +790,48 @@ \acs@author@fnsymbol{\acs@affil@marker@cnt}% }% } -\newcommand*\acs@author@fnsymbol[1]{% +\newcommand*{\acs@author@fnsymbol}[1]{% \ensuremath{% - \ifcase #1 *\or - \dagger\or - \ddagger\or - \P\or - \S\or - \|\or - \bot\or - \#\or - @\or - \triangle\or - \nabla\else - #1% - \fi + \expandafter\acs@author@fnsymbol@aux\expandafter{\number#1 }% }% } +\newcommand*{\acs@author@fnsymbol@aux}[1]{% + \ifnum#1>10 % + \expandafter\acs@author@fnsymbol@loop + \else + \expandafter\acs@author@fnsymbol@symbol + \fi + {#1}% +} +\newcommand*{\acs@author@fnsymbol@loop}[1]{% + \acs@author@fnsymbol@loop@aux@i#1% +} +\newcommand*{\acs@author@fnsymbol@loop@aux@i}[2]{% + \acs@author@fnsymbol@symbol{\ifnum#2=0 10\else #2\fi}% + \expandafter\acs@author@fnsymbol@loop@aux@ii\romannumeral #1000Q{}% + {\acs@author@fnsymbol@symbol{\ifnum#2=0 10\else #2\fi}}% +} +\newcommand*{\acs@author@fnsymbol@loop@aux@ii}[1]{% + \@nameuse{acs@author@fnsymbol@loop@aux@#1}% +} +\def\acs@author@fnsymbol@loop@aux@m#1Q#2#3{% + \acs@author@fnsymbol@loop@aux@ii#1Q{#2#3}{#3}% +} +\newcommand*{\acs@author@fnsymbol@loop@aux@Q}[2]{#1} +\newcommand*{\acs@author@fnsymbol@symbol}[1]{% + \ifcase #1 *\or + \dagger\or + \ddagger\or + \P\or + \S\or + \|\or + \bot\or + \#\or + @\or + \triangle\or + \nabla + \fi +} \newcommand*\acs@address@list{% \@tempcnta\z@\relax \ifnum\acs@affil@cnt>\z@\relax @@ -956,8 +985,10 @@ \fi } \newcommand*\acs@number@list@aux@ii{} -\newcommand*\acs@maketitle@extras{% - \acs@maketitle@extras@hook +\g@addto@macro\endabstract{% + \aftergroup\acs@abstract@extras +} +\newcommand*{\acs@abstract@extras}{% \ifacs@abbreviations \acs@abbreviations@print \par @@ -967,6 +998,9 @@ \par \fi } +\newcommand*\acs@maketitle@extras{% + \acs@maketitle@extras@hook +} \newcommand*\acs@maketitle@extras@hook{} \g@addto@macro{\maketitle}{\acs@maketitle@extras} \g@addto@macro{\document}{\maketitle} @@ -1364,6 +1398,11 @@ \RequirePackage{natmove} \IfFileExists{mciteplus.sty}{% \RequirePackage{mciteplus} + \@ifpackagelater{mciteplus}{2008/09/31} + {} + {% + \edef\@mciteNatbibCiteCmdList{\@mciteNatbibCiteCmdList,citenum}% + } \def\@mciteSubRef[##1]##2{\plainref{\@mcitereflabelprefix:##1:##2}} }{} \newcommand*\acs@bibstyle{achemso} @@ -1382,7 +1421,7 @@ %% %% Originally developed by Mats Dahlgren %% Copyright (C) 1996-1998 by Mats Dahlgren -%% Copyright (C) 2008-2011 by +%% Copyright (C) 2008-2013 by %% Joseph Wright <joseph.wright@morningstar2.co.uk> %% %% Part of this bundle is derived from cite.sty, to which the |