diff options
author | Karl Berry <karl@freefriends.org> | 2010-01-16 23:45:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-01-16 23:45:27 +0000 |
commit | 073661b413b5683c65ca049724362422a931bfd8 (patch) | |
tree | 38761986672f223c7af2b8985e651c18fffb2b56 /Master/texmf-dist/tex/latex/achemso/achemso.cls | |
parent | 4d12c3875aa543d42fc585b4771c9b9ef6981424 (diff) |
achemso update (16jan10)
git-svn-id: svn://tug.org/texlive/trunk@16750 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 | 86 |
1 files changed, 46 insertions, 40 deletions
diff --git a/Master/texmf-dist/tex/latex/achemso/achemso.cls b/Master/texmf-dist/tex/latex/achemso/achemso.cls index c73d5ea0199..5d768bd70ba 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} - [2009/12/16 v3.3g Submission to ACS journals] + [2010/01/15 v3.4 Submission to ACS journals] \LoadClass[12pt,letter]{article} \newcommand*\acs@warning{\ClassWarning{achemso}} \newcommand*\acs@ifundefined[1]{% @@ -277,6 +277,7 @@ \RequirePackage[T1]{fontenc} \RequirePackage[margin=2.54cm]{geometry} \RequirePackage[scaled=0.90]{helvet} +\RequirePackage[capitalise]{cleveref} \RequirePackage{ caption, courier, @@ -284,8 +285,7 @@ graphicx, mathptmx, setspace, - url, - varioref + url } \AtBeginDocument{\doublespacing} \renewcommand*{\title}[2][]{% @@ -970,11 +970,15 @@ \centering \acs@floatboxreset } -\labelformat{scheme}{\schemename~#1} -\labelformat{chart}{\chartname~#1} -\labelformat{graph}{\graphname~#1} -\labelformat{figure}{\figurename~#1} -\labelformat{table}{\tablename~#1} +\crefname{chart}{Chart}{Chart} +\crefname{figure}{Figure}{Figures} +\crefname{graph}{Graph}{Graphs} +\crefname{scheme}{Scheme}{Schemes} +\newcommand*\plainref{} +\AtBeginDocument{ + \let\plainref\ref + \let\ref\cref +} \newcommand*\acs@section{} \let\acs@section\section \newcommand*\acs@subsection{} @@ -1045,7 +1049,7 @@ \newcommand\acs@suppinfo@print[1]{% #1 This material is available free of charge via the Internet at - \url{http://pubs.acs.org}. + \url{http://pubs.acs.org/}. } \newcommand*\acknowledgementname{Acknowledgement} \AtEndOfClass{% @@ -1144,15 +1148,6 @@ \newcommand\acs@collect@body[1]{% \global\acs@collect@toks\expandafter{\the\acs@collect@toks#1}% } -\newcommand\acs@toc@print[1]{% - \begin{center} - \fbox{% - \begin{minipage}{9cm} - \vbox to 3.5cm{#1}% - \end{minipage}% - }% - \end{center}% -} \newcommand\acs@abstract@print[1]{% \global\long\def\acs@abstract@text{% \if@twocolumn @@ -1170,24 +1165,35 @@ }% \AtEndDocument{\acs@abstract@text}% } -\newenvironment{tocentry}{% - \if@twocolumn - \@restonecoltrue\onecolumn - \else - \@restonecolfalse\newpage - \fi - \acs@section*{\tocentryname}% - \tocsize - \sffamily - \singlespacing - \acs@collect\acs@toc@print -}{% - \if@restonecol - \twocolumn - \else - \newpage - \fi +\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}{9 cm} + \vbox to 3.5 cm{#1}% + \end{minipage}% + }% + \end{center}% + \if@restonecol + \twocolumn + \else + \newpage + \fi + }% + \AtEndDocument{\acs@tocentry@text}% } +\newenvironment{tocentry}{\acs@collect\acs@tocentry@print}{} \newcommand*\tocentryname{Graphical TOC Entry} \newcommand*\tocsize{% \@setfontsize\tocsize\@viiipt\@ixpt @@ -1349,12 +1355,12 @@ %% %% Originally developed by Mats Dahlgren %% Copyright (C) 1996-1998 by Mats Dahlgren -%% Copyright (C) 2008-2009 by +%% Copyright (C) 2008-2010 by %% Joseph Wright <joseph.wright@morningstar2.co.uk> %% %% Part of this bundle is derived from cite.sty, to which the %% following license applies: -%% Copyright (C) 1989-2003 by Donald Arseneau +%% Copyright (C) 1989-2009 by Donald Arseneau %% These macros may be freely transmitted, reproduced, or %% modified provided that this notice is left intact. %% @@ -1369,11 +1375,11 @@ %% Joseph Wright. %% %% This work consists of the file achemso.dtx -%% and the derived files achemso.pdf, -%% achemso.bib, -%% achemso.cls, +%% and the derived files achemso.cls, %% achemso.ins, +%% achemso.pdf, %% achemso.sty, +%% achemso-demo.bib, %% achemso-demo.tex, %% natmove.sty and %% a number of configuration files. |