summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/achemso/achemso.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/achemso/achemso.cls')
-rw-r--r--Master/texmf-dist/tex/latex/achemso/achemso.cls605
1 files changed, 444 insertions, 161 deletions
diff --git a/Master/texmf-dist/tex/latex/achemso/achemso.cls b/Master/texmf-dist/tex/latex/achemso/achemso.cls
index 17a6319ab17..79a59fc94dc 100644
--- a/Master/texmf-dist/tex/latex/achemso/achemso.cls
+++ b/Master/texmf-dist/tex/latex/achemso/achemso.cls
@@ -16,10 +16,10 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{achemso}
- [2009/04/28 v3.2b Submission to ACS journals]
+ [2009/06/28 v3.2c Submission to ACS journals]
\LoadClass[12pt,letter]{article}
-\newcommand*{\acs@warning}{\ClassWarning{achemso}}
-\newcommand*{\acs@ifundefined}[1]{%
+\newcommand*\acs@warning{\ClassWarning{achemso}}
+\newcommand*\acs@ifundefined[1]{%
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname #1\endcsname\relax
\expandafter\@firstoftwo
@@ -28,13 +28,15 @@
\fi
}
\RequirePackage{xkeyval}
+\define@boolkey{acs}[acs@]{abbreviations}[true]{}
\define@boolkey{acs}[acs@]{biochem}[true]{}
\define@boolkey{acs}[acs@]{email}[true]{}
+\define@boolkey{acs}[acs@]{keywords}[true]{}
\define@boolkey{acs}[acs@]{super}[true]{}
\define@boolkey{acs}[acs@]{usetitle}[true]{}
-\newcommand*{\acs@journal}{jacsat}
-\newcommand*{\acs@manuscript}{article}
-\newcommand*{\acs@maxauthors}{15}
+\newcommand*\acs@journal{jacsat}
+\newcommand*\acs@manuscript{article}
+\newcommand*\acs@maxauthors{15}
\define@cmdkey{acs}[acs@]{journal}{}
\define@cmdkey{acs}[acs@]{manuscript}{}
\define@cmdkey{acs}[acs@]{maxauthors}{}
@@ -50,21 +52,27 @@
\@nameuse{acs@biblabel@#1}%
}%
}
-\newcommand*{\acs@biblabel@brackets}{\def\@biblabel##1{(##1)}}
-\newcommand*{\acs@biblabel@fullstop}{\def\@biblabel##1{##1.}}
-\newcommand*{\acs@biblabel@period}{\def\@biblabel##1{##1.}}
-\newcommand*{\acs@biblabel@plain}{\def\@biblabel##1{##1}}
+\newcommand*\acs@biblabel@brackets{\def\@biblabel##1{(##1)}}
+\newcommand*\acs@biblabel@fullstop{\def\@biblabel##1{##1.}}
+\newcommand*\acs@biblabel@period{\def\@biblabel##1{##1.}}
+\newcommand*\acs@biblabel@plain{\def\@biblabel##1{##1}}
\setkeys{acs}{
+ email = true,
super = true
}
\ProcessOptionsX*<acs>
-\newcommand*{\acs@niib@create}{%
+\newcommand*\acs@manuscript@communication{communication}
+\newcommand*\acs@manuscript@letter{letter}
+\newcommand*\acs@manuscript@note{note}
+\newcommand*\acs@manuscript@review{review}
+\newcommand*\acs@manuscript@suppinfo{suppinfo}
+\newcommand*\acs@niib@create{%
\@namedef{ver@notes2bib.sty}{%
2009/04/20 v1.6a Integrating notes into the bibliography (achemso
version)
}%
\newcounter{bibnote}
- \renewcommand*{\thebibnote}{%
+ \def\thebibnote{%
Note-\the\value{bibnote}%
}%
\DeclareRobustCommand*{\bibnote}[1][\thebibnote]{%
@@ -80,15 +88,15 @@
\let\acs@niib@after@text\relax
\acs@niib@text{##1}%
}%
- \newcommand*{\printbibnotes}{%
+ \newcommand*\printbibnotes{%
\ifnum\the\value{bibnote}>\z@\relax
\nocite{achemso-control}%
\acs@bibliography{acs-\jobname}%
\fi
}%
}
-\newcommand*{\acs@niib@after@text}{}
-\newcommand*{\acs@niib@text}{%
+\newcommand*\acs@niib@after@text{}
+\newcommand*\acs@niib@text{%
\@bsphack
\if@filesw
\expandafter\acs@niib@write
@@ -96,7 +104,7 @@
\expandafter\acs@niib@no@write
\fi
}
-\newcommand*{\acs@niib@write}[1]{%
+\newcommand*\acs@niib@write[1]{%
\begingroup
\let\do\@makeother
\dospecials
@@ -104,7 +112,7 @@
\catcode`\} 2\relax
\acs@niib@write@aux@i{#1}%
}
-\newcommand*{\acs@niib@write@aux@i}[1]{%
+\newcommand*\acs@niib@write@aux@i[1]{%
\long\def\@tempa##1{%
\def\@tempa{##1}%
\@onelevel@sanitize\@tempa
@@ -115,7 +123,7 @@
\catcode`\^^M 10\relax
\@tempa
}
-\newcommand*{\acs@niib@write@aux@ii}[1]{%
+\newcommand*\acs@niib@write@aux@ii[1]{%
\immediate\write\acs@bib@file{%
@Misc\string{#1,^^J%
\space\space note = \string{\@tempa\string},^^J%
@@ -124,12 +132,12 @@
\@esphack
\acs@niib@after@text
}
-\newcommand{\acs@niib@no@write}[2]{%
+\newcommand\acs@niib@no@write[2]{%
\@esphack
\acs@niib@after@text
}
\AtBeginDocument{
- \renewcommand*{\nmv@natbib@detect}{%
+ \def\nmv@natbib@detect{%
\ifNAT@super
\expandafter\acs@nmv@activate
\else
@@ -137,7 +145,7 @@
\fi
}
}
-\newcommand*{\acs@nmv@activate}{%
+\newcommand*\acs@nmv@activate{%
\let\nmv@citex@nat\@citex
\let\@citex\nmv@citex
\let\nmv@cite\cite
@@ -151,7 +159,7 @@
}%
}%
}
-\newcommand*{\acs@autonote}{%
+\newcommand*\acs@autonote{%
\let\nmv@cite\cite
\renewcommand*{\cite}[2][]{%
\nmv@ifmtarg{##1}{%
@@ -162,32 +170,31 @@
}%
}%
}
-\newcommand*{\acs@bibstyle}{achemso}
+\newcommand*\acs@bibstyle{achemso}
\bibliographystyle{achemso}
\ifacs@biochem
- \renewcommand*{\acs@bibstyle}{biochem}
+ \def\acs@bibstyle{biochem}
\bibliographystyle{biochem}
\fi
-\newcommand*{\acs@bibliographystyle}{}
+\newcommand*\acs@bibliographystyle{}
\let\acs@bibliographystyle\bibliographystyle
-\renewcommand*{\bibliographystyle}[1]{%
+\def\bibliographystyle#1{%
\acs@warning{\string\bibliographystyle\space ignored}%
\expandafter\acs@bibliographystyle\expandafter{\acs@bibstyle}%
}
\newwrite\acs@bib@file
-\newcommand*{\acs@bib@message}{%
+\newcommand*\acs@bib@message{%
This is an auxiliary file used by the `achemso' bundle.^^J%
- This file may safely be deleted. It will be recreated as
- required.^^J
+ This file may safely be deleted. It will be recreated as required.^^J
}
-\newcommand*{\acs@bib@name}{acs-\jobname.bib}
-\newcommand*{\acs@bib@write}{%
+\newcommand*\acs@bib@name{acs-\jobname.bib}
+\newcommand*\acs@bib@write{%
\if@filesw
\expandafter\acs@bib@write@aux
\fi
}
\AtBeginDocument{\acs@bib@write}
-\newcommand*{\acs@bib@write@aux}{%
+\newcommand*\acs@bib@write@aux{%
\immediate\openout\acs@bib@file\acs@bib@name\relax
\immediate\write\acs@bib@file{\acs@bib@message}%
\edef\@tempa##1##2{%
@@ -214,16 +221,18 @@
}{}
\AtBeginDocument{%
\let\acs@bibliography\bibliography
- \renewcommand*{\bibliography}[1]{%
+ \def\bibliography#1{%
\acs@bibliography{acs-\jobname,#1}%
}%
}
\setkeys{acs}{
- biblabel = brackets,
- biochem = false,
- maxauthors = 15,
- super = true,
- usetitle = false
+ abbreviations = false,
+ biblabel = brackets,
+ biochem = false,
+ keywords = false,
+ maxauthors = 15,
+ super = true,
+ usetitle = false
}
\acs@niib@create
\RequirePackage[T1]{fontenc}
@@ -241,14 +250,19 @@
}
\AtBeginDocument{\doublespacing}
\renewcommand*{\title}[2][]{%
+ \gdef\acs@title@short{#1}%
\gdef\@title{#2}%
- \gdef\acs@title{#2}%
+ \ifx\acs@title@short\@empty
+ \global\let\acs@title@short\@title
+ \fi
}
\@onlypreamble\title
\newcount\acs@author@cnt
\newcount\acs@affil@cnt
\newcount\acs@affil@alt@cnt
-\renewcommand*{\author}[1]{%
+\newcount\acs@footnote@cnt
+\newcount\acs@affil@marker@cnt
+\def\author#1{%
\global\advance\acs@author@cnt\@ne\relax
\expandafter\gdef\csname @author@\@roman\acs@author@cnt\endcsname{#1}%
\begingroup
@@ -259,19 +273,19 @@
\endgroup
}
\@onlypreamble\author
-\renewcommand*{\and}{%
+\def\and{%
\acs@warning{%
\string\and\space not used by the achemso class: please see
the\MessageBreak package documentation for details%
}%
}
-\renewcommand*{\thanks}{%
+\def\thanks{%
\acs@warning{%
\string\thanks\space not used by the achemso class: please see
the\MessageBreak the package documentation for details%
}%
}
-\newcommand*{\affiliation}[2][\relax]{%
+\newcommand*\affiliation[2][\relax]{%
\ifnum\acs@author@cnt>\z@\relax
\acs@affil@ifdup{#2}{%
\acs@affil@swap{#2}%
@@ -292,7 +306,7 @@
\fi
}
\@onlypreamble\affiliation
-\newcommand*{\acs@affil@ifdup}[1]{%
+\newcommand*\acs@affil@ifdup[1]{%
\begingroup
\def\@tempa{#1}%
\@tempswafalse
@@ -305,7 +319,7 @@
\fi
\endgroup
}
-\newcommand*{\acs@affil@ifdup@aux}{%
+\newcommand*\acs@affil@ifdup@aux{%
\advance\@tempcnta\@ne\relax
\expandafter\expandafter\expandafter\def\expandafter\expandafter
\expandafter\@tempb\expandafter\expandafter\expandafter
@@ -318,7 +332,7 @@
\fi
\fi
}
-\newcommand*{\acs@affil@swap}[1]{%
+\newcommand*\acs@affil@swap[1]{%
\begingroup
\def\@tempa{#1}%
\@tempcnta\z@\relax
@@ -328,7 +342,7 @@
\acs@affil@swap@aux
\endgroup
}
-\newcommand*{\acs@affil@swap@aux}{%
+\newcommand*\acs@affil@swap@aux{%
\advance\@tempcntb\@ne\relax
\expandafter\ifnum\csname @author@affil@\@roman\@tempcntb\endcsname
= \acs@affil@cnt\relax
@@ -340,7 +354,7 @@
\expandafter\acs@affil@swap@aux
\fi
}
-\newcommand*{\alsoaffiliation}[2][\relax]{%
+\newcommand*\alsoaffiliation[2][\relax]{%
\ifnum\acs@author@cnt>\z@\relax
\acs@affil@ifdup{#2}{%
\acs@alsoaffil@find{#2}%
@@ -371,7 +385,7 @@
\acs@warning{Affiliation with no author}%
\fi
}
-\newcommand*{\acs@alsoaffil@find}[1]{%
+\newcommand*\acs@alsoaffil@find[1]{%
\begingroup
\def\@tempa{#1}%
\@tempcnta\z@\relax
@@ -380,7 +394,7 @@
\expandafter\endgroup
\expandafter\@tempcnta\the\@tempcnta\relax
}
-\newcommand*{\altaffiliation}[1]{%
+\newcommand*\altaffiliation[1]{%
\ifnum\acs@author@cnt>\z@\relax
\global\advance\acs@affil@alt@cnt\@ne\relax
\expandafter\gdef\csname @altaffil@\@roman\acs@author@cnt\endcsname
@@ -392,7 +406,7 @@
\fi
}
\@onlypreamble\altaffiliation
-\newcommand*{\email}[1]{%
+\newcommand*\email[1]{%
\ifnum\acs@author@cnt>\z@\relax
\expandafter\gdef\csname @email@\@roman\acs@author@cnt\endcsname
{#1}%
@@ -401,45 +415,148 @@
\fi
}
\@onlypreamble\email
-\renewcommand*{\@maketitle}{%
+\newcommand*\fax[1]{%
+ \ifnum\acs@author@cnt>\z@\relax
+ \expandafter\gdef\csname @fax@\@roman\acs@author@cnt\endcsname
+ {#1}%
+ \else
+ \acs@warning{Fax number with no author}%
+ \fi
+}
+\@onlypreamble\fax
+\newcommand*\phone[1]{%
+ \ifnum\acs@author@cnt>\z@\relax
+ \expandafter\gdef\csname @phone@\@roman\acs@author@cnt\endcsname
+ {#1}%
+ \else
+ \acs@warning{Phone number with no author}%
+ \fi
+}
+\@onlypreamble\phone
+\newcommand*\abbreviations[1]{%
+ \gdef\@abbreviations{#1}%
+}
+\newcommand*\@abbreviations{}
+\@onlypreamble\abbreviations
+\newcommand*\keywords[1]{%
+ \gdef\@keywords{#1}%
+}
+\newcommand*\@keywords{}
+\@onlypreamble\keywords
+\newcommand*\acs@abbreviations@print{%
+ \ifx\@abbreviations\@empty\else
+ ABBREVIATIONS: \@abbreviations
+ \par
+ \fi
+}
+\newcommand*\acs@keywords@print{%
+ \ifx\@keywords\@empty\else
+ KEYWORDS: \@keywords
+ \par
+ \fi
+}
+\newcommand*\acs@title@short@print{%
+ RUNNING HEADER: \acs@title@short
+}
+\newlength\acs@space@pre@title
+\setlength\acs@space@pre@title{2em}
+\newlength\acs@space@post@title
+\setlength\acs@space@post@title{1.5em}
+\newlength\acs@space@post@author
+\setlength\acs@space@post@author{1em}
+\newlength\acs@space@post@address
+\setlength\acs@space@post@address{1em}
+\newlength\acs@space@post@email
+\setlength\acs@space@post@email{1.5em}
+\newlength\acs@maketitle@width
+\setlength\acs@maketitle@width{\textwidth}
+\newcommand*\affilsize{\normalsize}
+\newcommand*\authorsize{\large}
+\newcommand*\emailsize{\normalsize}
+\newcommand*\titlesize{\LARGE}
+\newcommand*\affilfont{\itshape}
+\newcommand*\authorfont{\sffamily}
+\newcommand*\emailfont{}
+\newcommand*\titlefont{\bfseries\sffamily}
+\newcommand*{\ps@acs}{}
+\let\ps@acs\ps@plain
+\def\@maketitle{%
+ \pagestyle{acs}%
\ifnum\acs@author@cnt<\z@\relax
\acs@warning{No authors defined: At least one author is required}%
\fi
\newpage
\null
- \vskip 2em\relax
+ \vspace*{\acs@space@pre@title}%
\begin{center}
- {%
- \LARGE\bfseries\sffamily
- \def\@tempa{suppinfo}%
- \ifx\acs@manuscript\@tempa
- Supporting information for:
- \fi
- \@title
- \par
- }%
- \vskip 1.5em\relax
- {%
- \large\sffamily\frenchspacing\acs@author@list
- }%
- \vskip 1em\relax
- {%
- \itshape\acs@address@list
- }%
- \vskip 1em\relax
- {%
- \ifacs@email
- \expandafter\acs@title@email
- \fi
+ \begin{minipage}{\acs@maketitle@width}
+ \begin{center}
+ {%
+ \titlefont
+ \titlesize
+ \let\@fnsymbol\acs@author@fnsymbol
+ \let\footnote\acs@title@footnote
+ \acs@maketitle@suppinfo \@title
+ \acs@title@footnote@check
+ \global\acs@footnote@cnt\c@footnote\relax
+ \par
+ }%
+ \vspace*{\acs@space@post@title}%
+ {%
+ \authorsize
+ \authorfont
+ \frenchspacing
+ \acs@author@list
+ \par
+ }%
+ \vspace*{\acs@space@post@author}%
+ {%
+ \affilsize
+ \affilfont
+ \acs@address@list
+ \par
+ }%
+ \vspace*{\acs@space@post@address}%
+ {%
+ \emailsize
+ \emailfont
+ \ifacs@email
+ \expandafter\acs@contact@details
+ \fi
+ }%
+ \vspace*{\acs@space@post@email}%
+ \end{center}
+ \end{minipage}
+ \end{center}%
+}
+\newcommand*\acs@maketitle@suppinfo{%
+ \ifx\acs@manuscript\acs@manuscript@suppinfo
+ Supporting information for:
+ \fi
+}
+\newcommand*\acs@title@footnote[1]{%
+ \footnotemark
+ \g@addto@macro\@thanks@hook{%
+ \footnotetext{#1}%
+ }%
+}
+\newcommand\acs@title@footnote@check{%
+ \ifx\@thanks@hook\@empty\else
+ \expandafter\gdef\expandafter\@thanks@hook\expandafter{%
+ \expandafter\begingroup
+ \expandafter\let\expandafter\@fnsymbol\expandafter
+ \acs@author@fnsymbol
+ \@thanks@hook
+ \endgroup
}%
- \end{center}
- \par
- \vskip 1.5em\relax
+ \fi
}
-\newcommand*{\acs@title@email}{%
- \sffamily E-mail: \acs@email@list
+\newcommand*\acs@contact@details{%
+ { \sffamily E-mail: \acs@email@list }%
+ \acs@number@list
}
-\renewcommand*{\@thanks}{%
+\def\@thanks{%
+ \@thanks@hook
\ifnum\acs@affil@cnt>\@ne\relax
\expandafter\acs@affil@list
\else
@@ -448,15 +565,22 @@
\fi
\fi
}
-\newcommand*{\acs@author@list}{%
+\newcommand*\@thanks@hook{}
+\newcommand*\acs@author@list{%
\@tempcnta\z@\relax
\@tempcntb\acs@affil@cnt\relax
\ifnum\acs@author@cnt=\z@\relax\else
\expandafter\acs@author@list@main
\fi
+ \acs@author@list@star
+}
+\newcommand*\acs@author@list@star{%
+ \g@addto@macro\@thanks@hook{%
+ \footnotetext{To whom correspondence should be addressed}%
+ }%
}
-\newcommand*{\acs@author@footnotes}{}
-\newcommand*{\acs@author@list@main}{%
+\newcommand*\acs@author@footnotes{}
+\newcommand*\acs@author@list@main{%
\advance\@tempcnta\@ne\relax
\def\acs@author@footnotes{}%
\acs@author@list@and
@@ -474,24 +598,24 @@
\expandafter\acs@author@list@main
\fi
}
-\newcommand*{\acs@author@list@and}{%
+\newcommand*\acs@author@list@and{%
\ifnum\acs@author@cnt=\@ne\relax\else
\ifnum\@tempcnta=\acs@author@cnt\relax
\space and%
\fi
\fi
}
-\newcommand*{\acs@author@list@comma}{%
+\newcommand*\acs@author@list@comma{%
\ifnum\@tempcnta<\acs@author@cnt\relax
,%
\fi
}
-\newcommand*{\acs@author@star}{%
+\newcommand*\acs@author@star{%
\acs@ifundefined{@email@\@roman\@tempcnta}{}{%
\acs@author@star@aux
}%
}
-\newcommand*{\acs@author@star@aux}{%
+\newcommand*\acs@author@star@aux{%
\protected@edef\acs@author@footnotes{%
\acs@author@fnsymbol{\z@}%
\ifnum\acs@affil@cnt>\@ne\relax
@@ -503,7 +627,7 @@
\fi
}%
}
-\newcommand*{\acs@author@affil}{%
+\newcommand*\acs@author@affil{%
\acs@ifundefined{%
@affil@\@roman\csname @author@affil@\@roman\@tempcnta\endcsname
}{%
@@ -515,52 +639,59 @@
\acs@author@affil@aux
}%
}
-\newcommand*{\acs@author@affil@aux}{%
+\newcommand*\acs@author@affil@aux{%
\ifnum\acs@affil@cnt>\@ne\relax
+ \expandafter\acs@affil@marker@cnt\csname @author@affil@\@roman
+ \@tempcnta\endcsname\relax
+ \advance\acs@affil@marker@cnt\acs@footnote@cnt\relax
\protected@edef\acs@author@footnotes{%
\acs@author@footnotes
- \acs@author@fnsymbol{%
- \@nameuse{@author@affil@\@roman\@tempcnta}%
- }%
+ \acs@author@fnsymbol{\acs@affil@marker@cnt}%
}%
\else
\ifnum\acs@affil@alt@cnt>\z@\relax
+ \acs@affil@marker@cnt\@ne\relax
+ \advance\acs@affil@marker@cnt\acs@footnote@cnt\relax
\protected@edef\acs@author@fnsymbol{%
\acs@author@footnotes
- \acs@author@fnsymbol{\@ne}%
+ \acs@author@fnsymbol{\acs@affil@marker@cnt}%
}%
\fi
\fi
}
-\newcommand*{\acs@author@affil@also}{%
+\newcommand*\acs@author@affil@also{%
\acs@ifundefined{@author@alsoaffil@\@roman\@tempcnta}{}{%
\acs@author@affil@also@aux
}%
}
-\newcommand*{\acs@author@affil@also@aux}{%
+\newcommand*\acs@author@affil@also@aux{%
\expandafter\@for\expandafter\@tempa\expandafter:\expandafter
=\csname @author@alsoaffil@\@roman\@tempcnta\endcsname\do{%
+ \acs@affil@marker@cnt\@tempa\relax
+ \advance\acs@affil@marker@cnt\acs@footnote@cnt\relax
\protected@edef\acs@author@footnotes{%
\acs@author@footnotes
,%
- \acs@author@fnsymbol{\@tempa}%
+ \acs@author@fnsymbol{\acs@affil@marker@cnt}%
}%
}%
}
-\newcommand*{\acs@author@affil@alt}{%
+\newcommand*\acs@author@affil@alt{%
\acs@ifundefined{@author@altaffil@\@roman\@tempcnta}{}{%
\acs@author@affil@alt@aux
}%
}
-\newcommand*{\acs@author@affil@alt@aux}{%
+\newcommand*\acs@author@affil@alt@aux{%
\advance\@tempcntb\@ne\relax
+ \acs@affil@marker@cnt\@tempcntb\relax
+ \advance\acs@affil@marker@cnt\acs@footnote@cnt\relax
\protected@edef\acs@author@footnotes{%
\acs@author@footnotes
,%
- \acs@author@fnsymbol{\@tempcntb}%
+ \acs@author@fnsymbol{\acs@affil@marker@cnt}%
}%
}
-\newcommand*{\acs@author@fnsymbol}[1]{%
+\newcommand*\acs@author@fnsymbol[1]{%
\ensuremath{%
\ifcase #1 *\or
\dagger\or
@@ -577,7 +708,7 @@
\fi
}%
}
-\newcommand*{\acs@address@list}{%
+\newcommand*\acs@address@list{%
\@tempcnta\z@\relax
\ifnum\acs@affil@cnt>\z@\relax
\acs@address@list@aux
@@ -587,7 +718,7 @@
}%
\fi
}
-\newcommand*{\acs@address@list@aux}{%
+\newcommand*\acs@address@list@aux{%
\advance\@tempcnta\@ne\relax
\ifnum\acs@affil@cnt>\@ne\relax
\ifnum\@tempcnta=\acs@affil@cnt\relax
@@ -600,8 +731,8 @@
\expandafter\acs@address@list@aux
\fi
}
-\newcommand*{\acs@fnsymbol@org}{}
-\newcommand*{\acs@affil@list}{%
+\newcommand*\acs@fnsymbol@org{}
+\newcommand*\acs@affil@list{%
\let\acs@fnsymbol@org\@fnsymbol
\let\@fnsymbol\acs@author@fnsymbol
\@tempcnta\z@\relax
@@ -610,7 +741,9 @@
\expandafter\acs@affil@list@aux
\else
\ifnum\acs@affil@alt@cnt>\z@\relax
- \footnotetext[\@ne]{\@affil@i}%
+ \acs@affil@marker@cnt\@ne\relax
+ \advance\acs@affil@marker@cnt\acs@footnote@cnt\relax
+ \footnotetext[\acs@affil@marker@cnt]{\@affil@i}%
\@tempcnta\@ne\relax
\fi
\fi
@@ -619,14 +752,18 @@
\fi
\let\@fnsymbol\acs@fnsymbol@org
}
-\newcommand*{\acs@affil@list@aux}{%
+\newcommand*\acs@affil@list@aux{%
\advance\@tempcnta\@ne\relax
- \footnotetext[\@tempcnta]{\@nameuse{@affil@\@roman\@tempcnta}}%
+ \acs@affil@marker@cnt\@tempcnta\relax
+ \advance\acs@affil@marker@cnt\acs@footnote@cnt\relax
+ \footnotetext[\acs@affil@marker@cnt]{%
+ \@nameuse{@affil@\@roman\@tempcnta}%
+ }%
\ifnum\@tempcnta<\acs@affil@cnt\relax
\expandafter\acs@affil@list@aux
\fi
}
-\newcommand*{\acs@affil@alt@list}{%
+\newcommand*\acs@affil@alt@list{%
\advance\@tempcntb\@ne\relax
\acs@ifundefined{@altaffil@\@roman\@tempcntb}{}{%
\acs@altaffil@foot@aux
@@ -635,13 +772,18 @@
\expandafter\acs@affil@alt@list
\fi
}
-\newcommand*{\acs@altaffil@foot@aux}{%
+\newcommand*\acs@altaffil@foot@aux{%
\advance\@tempcnta\@ne\relax
- \footnotetext[\@tempcnta]{\@nameuse{@altaffil@\@roman\@tempcntb}}%
+ \acs@affil@marker@cnt\@tempcnta\relax
+ \advance\acs@affil@marker@cnt\acs@footnote@cnt\relax
+ \footnotetext[\acs@affil@marker@cnt]{%
+ \@nameuse{@altaffil@\@roman\@tempcntb}%
+ }%
}
-\newcommand*{\acs@email@list}{%
+\newcommand*\acs@email@list@font{\sf}
+\newcommand*\acs@email@list{%
\begingroup
- \def\UrlFont{\sf}%
+ \def\UrlFont{\acs@email@list@font}%
\@tempcnta\z@\relax
\@tempcntb\z@\relax
\acs@email@list@aux
@@ -653,7 +795,7 @@
\fi
\endgroup
}
-\newcommand*{\acs@email@list@aux}{%
+\newcommand*\acs@email@list@aux{%
\advance\@tempcnta\@ne\relax
\ifnum\@tempcnta>\acs@author@cnt\relax\else
\acs@ifundefined{@email@\@roman\@tempcnta}{}{%
@@ -669,6 +811,69 @@
\expandafter\acs@email@list@aux
\fi
}
+\newcommand*\acs@number@list{%
+ \begingroup
+ \acs@number@list@aux@i{phone}%
+ \let\@tempb\@tempa
+ \acs@number@list@aux@i{fax}%
+ \ifx\@tempa\@empty\else
+ \ifx\@tempb\@empty\else
+ \protected@edef\@tempa{%
+ \@tempb.\space\@tempa
+ }%
+ \fi
+ \fi
+ \ifx\@tempa\@empty\else
+ \par
+ \@tempa
+ \fi
+ \endgroup
+}
+\newcommand*\acs@number@list@aux@i[1]{%
+ \def\@tempa{}%
+ \@tempcnta\z@\relax
+ \def\acs@number@list@aux@ii{%
+ \advance\@tempcnta\@ne\relax
+ \ifnum\@tempcnta>\acs@author@cnt\relax\else
+ \acs@ifundefined{@#1@\@roman\@tempcnta}{}{%
+ \acs@ifundefined{@email@\@roman\@tempcnta}{}{%
+ \ifx\@tempa\@empty
+ \edef\@tempa{%
+ \@nameuse{@#1@\@roman\@tempcnta}%
+ }%
+ \else
+ \edef\@tempa{%
+ \@tempa
+ ;
+ \@nameuse{@#1@\@roman\@tempcnta}%
+ }%
+ \fi
+ }%
+ }%
+ \expandafter\acs@number@list@aux@ii
+ \fi
+ }%
+ \acs@number@list@aux@ii
+ \ifx\@tempa\@empty\else
+ \protected@edef\@tempa{%
+ \MakeUppercase#1: \@tempa
+ }%
+ \fi
+}
+\newcommand*\acs@number@list@aux@ii{}
+\newcommand*\acs@maketitle@extras{%
+ \acs@maketitle@extras@hook
+ \ifacs@abbreviations
+ \acs@abbreviations@print
+ \par
+ \fi
+ \ifacs@keywords
+ \acs@keywords@print
+ \par
+ \fi
+}
+\newcommand*\acs@maketitle@extras@hook{}
+\g@addto@macro{\maketitle}{\acs@maketitle@extras}
\g@addto@macro{\document}{\maketitle}
\newfloat{scheme}{htbp}{los}
\floatname{scheme}{Scheme}
@@ -676,15 +881,15 @@
\floatname{chart}{Chart}
\newfloat{graph}{htbp}{loh}
\floatname{graph}{Graph}
-\newcommand*{\schemename}{Scheme}
-\newcommand*{\chartname}{Chart}
-\newcommand*{\graphname}{Graph}
+\newcommand*\schemename{Scheme}
+\newcommand*\chartname{Chart}
+\newcommand*\graphname{Graph}
\floatplacement{table}{htbp}
\floatplacement{figure}{htbp}
\floatstyle{plaintop}
\restylefloat{table}
\let\acs@floatboxreset\@floatboxreset
-\renewcommand*{\@floatboxreset}{%
+\def\@floatboxreset{%
\centering
\acs@floatboxreset
}
@@ -693,15 +898,15 @@
\labelformat{graph}{\graphname~#1}
\labelformat{figure}{\figurename~#1}
\labelformat{table}{\tablename~#1}
-\newcommand*{\acs@section}{}
+\newcommand*\acs@section{}
\let\acs@section\section
-\newcommand*{\acs@subsection}{}
+\newcommand*\acs@subsection{}
\let\acs@subsection\subsection
-\newcommand*{\acs@subsubsection}{}
+\newcommand*\acs@subsubsection{}
\let\acs@subsubsection\subsubsection
-\newcommand*{\acs@startsection}{}
+\newcommand*\acs@startsection{}
\let\acs@startsection\@startsection
-\newcommand*{\acs@startsection@alt}[6]{%
+\newcommand*\acs@startsection@alt[6]{%
\if@noskipsec \leavevmode \fi
\par
\@tempskipa #4\relax
@@ -721,33 +926,33 @@
\@ssect{#3}{#4}{#5}{#6}%
}%
}
-\newcommand*{\acs@sections@none}{%
+\newcommand*\acs@sections@none{%
\@ifstar{%
\acs@sections@none@aux
}{%
\acs@sections@none@aux
}%
}
-\newcommand*{\acs@sections@none@aux}[2][]{%
+\newcommand*\acs@sections@none@aux[2][]{%
\acs@warning{%
(Sub)section `#2' ignored%
}%
}
-\newcommand*{\SectionNumbersOff}{%
+\newcommand*\SectionNumbersOff{%
\let\@startsection\acs@startsection@alt
}
\@onlypreamble\SectionNumbersOff
-\newcommand*{\SectionNumbersOn}{%
+\newcommand*\SectionNumbersOn{%
\let\@startsection\acs@startsection
}
\@onlypreamble\SectionNumbersOn
-\newcommand*{\SectionsOff}{%
+\newcommand*\SectionsOff{%
\let\section\acs@sections@none
\let\subsection\acs@sections@none
\let\subsubsection\acs@sections@none
}
\@onlypreamble\SectionsOff
-\newcommand*{\SectionsOn}{%
+\newcommand*\SectionsOn{%
\let\section\acs@section
\let\subsection\acs@subsection
\let\subsubsection\acs@subsubsection
@@ -758,17 +963,23 @@
}{}
\newenvironment{suppinfo}{%
\acs@subsection*{\suppinfoname}%
+ \acs@toc@collect\acs@suppinfo@print
}{}
-\newcommand*{\acknowledgementname}{Acknowledgement}
+\newcommand\acs@suppinfo@print[1]{%
+ #1
+ This material is available free of charge via the Internet at
+ \url{http://pubs.acs.org}.
+}
+\newcommand*\acknowledgementname{Acknowledgement}
\AtEndOfClass{%
- \renewcommand*{\bibsection}{%
+ \def\bibsection{%
\acs@subsection*{\refname}%
}%
}
-\newcommand*{\suppinfoname}{Supporting Information Available}
-\newcommand*{\acs@abstract}{}
+\newcommand*\suppinfoname{Supporting Information Available}
+\newcommand*\acs@abstract{}
\let\acs@abstract\abstract
-\newcommand*{\acs@endabstract}{}
+\newcommand*\acs@endabstract{}
\let\acs@endabstract\endabstract
\begingroup
\catcode`{ \active
@@ -800,22 +1011,22 @@
\fi
)
\endgroup
-\newcommand*{\acs@iffalse}{\iffalse}
-\newcommand*{\AbstractOff}{%
+\newcommand*\acs@iffalse{\iffalse}
+\newcommand*\AbstractOff{%
\let\abstract\acs@abstract@start
\let\endabstract\acs@abstract@end
}
\@onlypreamble\AbstractOff
-\newcommand*{\AbstractOn}{%
+\newcommand*\AbstractOn{%
\let\abstract\acs@abstract
\let\endabstract\acs@endabstract
}
\@onlypreamble\AbstractOn
\newtoks\acs@toc@toks
\newtoks\acs@toc@empty@toks
-\newcommand*{\acs@toc@begins}{}
-\newcommand*{\acs@toc@content}{}
-\newcommand{\acs@toc@collect}[1]{%
+\newcommand*\acs@toc@begins{}
+\newcommand*\acs@toc@content{}
+\newcommand\acs@toc@collect[1]{%
\acs@toc@toks{%
\expandafter#1\expandafter{\the\acs@toc@toks}%
}%
@@ -832,7 +1043,7 @@
}%
\acs@toc@content
}
-\newcommand*{\acs@toc@collect@aux}{}
+\newcommand*\acs@toc@collect@aux{}
\long\def\acs@toc@collect@aux#1\end#2{%
\edef\acs@toc@begins{%
\acs@toc@collect@begins#1\begin\end
@@ -847,16 +1058,16 @@
\fi
\acs@toc@content
}
-\newcommand*{\acs@toc@collect@begins}{}
+\newcommand*\acs@toc@collect@begins{}
\long\def\acs@toc@collect@begins#1\begin#2{%
\ifx\end#2\else
b\expandafter\acs@toc@collect@begins
\fi
}
-\newcommand{\acs@toc@collect@body}[1]{%
+\newcommand\acs@toc@collect@body[1]{%
\global\acs@toc@toks\expandafter{\the\acs@toc@toks#1}%
}
-\newcommand{\acs@toc@print}[1]{%
+\newcommand\acs@toc@print[1]{%
\begin{center}
\fbox{%
\begin{minipage}{9cm}
@@ -883,13 +1094,13 @@
\newpage
\fi
}
-\newcommand*{\tocentryname}{Graphical TOC Entry}
-\newcommand*{\tocsize}{%
+\newcommand*\tocentryname{Graphical TOC Entry}
+\newcommand*\tocsize{%
\@setfontsize\tocsize\@viiipt\@ixpt
}
-\newcommand*{\acs@type@list}{article,communication,suppinfo}
-\newcommand*{\acs@type@default}{article}
-\newcommand*{\acs@type@check}{%
+\newcommand*\acs@type@list{article,communication,suppinfo}
+\newcommand*\acs@type@default{article}
+\newcommand*\acs@type@check{%
\@tempswafalse
\@for\@tempa:=\acs@type@list\do{%
\ifx\@tempa\acs@manuscript
@@ -904,18 +1115,93 @@
\let\acs@manuscript\acs@type@default
\fi
}
-\renewcommand*{\refname}{%
+\def\refname{%
\ifnum\the\value{bibnote}>\z@\relax
Notes and
\fi
References%
}
-\newcommand*{\acs@setkeys}{\setkeys{acs}}
+\newcommand*\acs@setkeys{\setkeys{acs}}
\let\acs@killabstract\AbstractOff
\let\acs@killsecs\SectionsOff
-\newcommand*{\acs@validtype}[2][article]{%
- \renewcommand*{\acs@type@default}{#1}%
- \renewcommand*{\acs@type@list}{#2}%
+\newcommand*\acs@validtype[2][article]{%
+ \def\acs@type@default{#1}%
+ \def\acs@type@list{#2}%
+}
+\newcommand*\acs@par{}
+\let\acs@par\par
+\newcommand*\acs@layout@shared{%
+ \AtBeginDocument{\singlespacing}%
+ \twocolumn
+ \tolerance=2000\relax
+ \emergencystretch=10pt\relax
+ \geometry{
+ letterpaper,
+ top = 12.7mm,
+ bottom = 16.8mm,
+ left = 19.3mm,
+ right = 19.3mm
+ }%
+ \setlength{\columnsep}{8.1mm}%
+ \setlength{\parindent}{3.3mm}%
+ \renewenvironment{acknowledgement}{%
+ \def\@tempa{acknowledgement}%
+ \ifx\@currenvir\@tempa
+ \let\par\relax
+ \acksize
+ \vspace{6pt}%
+ \textbf{\acknowledgementname}%
+ \else
+ \acs@subsection*{\acknowledgementname}%
+ \fi
+ }{%
+ \acs@par
+ }%
+ \renewenvironment{suppinfo}{%
+ \def\@tempa{suppinfo}%
+ \ifx\@currenvir\@tempa
+ \expandafter\acs@suppinfo@aux
+ \else
+ \acs@subsection*{\suppinfoname}%
+ \fi
+ }{%
+ \acs@par
+ }%
+}
+\newcommand*\acs@suppinfo@aux{%
+ \let\par\relax
+ \suppsize
+ \vspace{6pt}%
+ \textbf{\suppinfoname:}
+ \acs@toc@collect\acs@suppinfo@print
+}
+\newcommand*\acksize{\normalsize}
+\newcommand*\suppsize{\normalsize}
+\newcommand*\acs@layout@nine{%
+ \def\@xipt{11}%
+ \long\def\normalsize{%
+ \@setfontsize\normalsize\@ixpt\@xipt
+ }%
+ \normalsize
+ \let\@listi\@listI
+ \abovedisplayskip 5\p@ \@plus2\p@ \@minus 5\p@\relax
+ \abovedisplayshortskip \z@ \@plus3\p@\relax
+ \belowdisplayshortskip 3\p@ \@plus3\p@ \@minus 3\p@\relax
+ \belowdisplayskip\abovedisplayskip\relax
+ \abovecaptionskip 5\p@\relax
+ \intextsep 7\p@ \@plus 2\p@ \@minus 2\p@\relax
+}
+\newcommand*\acs@layout@ten{%
+ \long\def\normalsize{%
+ \@setfontsize\normalsize\@xpt\@xiipt
+ }%
+ \normalsize
+ \@setfontsize\normalsize\@xpt\@xiipt
+ \let\@listi\@listI
+ \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@\relax
+ \abovedisplayshortskip \z@ \@plus3\p@\relax
+ \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@\relax
+ \belowdisplayskip \abovedisplayskip\relax
}
\InputIfFileExists{\acs@journal.cfg}{}{%
\acs@warning{%
@@ -925,19 +1211,16 @@
\input{jacsat.cfg}%
}
\acs@type@check
-\def\@tempa{note}
-\ifx\acs@manuscript\@tempa
+\ifx\acs@manuscript\acs@manuscript@note
\SectionsOff
\fi
-\def\@tempa{review}
-\ifx\acs@manuscript\@tempa
+\ifx\acs@manuscript\acs@manuscript@review
\SectionsOn
\SectionNumbersOn
\fi
-\def\@tempa{suppinfo}
-\ifx\acs@manuscript\@tempa
+\ifx\acs@manuscript\acs@manuscript@suppinfo
\setkeys{acs}{maxauthors = 0}
- \renewcommand*{\thepage}{S\arabic{page}}
+ \def\thepage{S\arabic{page}}
\fi
\ifacs@super
\RequirePackage[sort&compress,numbers,super]{natbib}