summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-11-10 21:46:05 +0000
committerKarl Berry <karl@freefriends.org>2017-11-10 21:46:05 +0000
commit209d559f177c1017107f059d3ffa33c3dc720586 (patch)
treef3a514d2de50509d703e4c98f7d8bbf6cb28de92 /Master/texmf-dist/tex
parentb76c05df77b59adc603978440f8061b272c77516 (diff)
beilstein (10nov17)
git-svn-id: svn://tug.org/texlive/trunk@45741 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/beilstein/beilstein.cls43
1 files changed, 23 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/beilstein/beilstein.cls b/Master/texmf-dist/tex/latex/beilstein/beilstein.cls
index b17a0727f7d..455805f21ea 100644
--- a/Master/texmf-dist/tex/latex/beilstein/beilstein.cls
+++ b/Master/texmf-dist/tex/latex/beilstein/beilstein.cls
@@ -9,7 +9,7 @@
%% beilstein -- Support for submissions to the ``Beilstein Journal
%% of Nanotechnology'' published by the Beilstein-Institut
%% for the Advancement of Chemical Sciences
-%% Version: 1.2
+%% Version: 1.3
%% E-mail: journals-support@beilstein-institut.de
%% License: Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
@@ -17,7 +17,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{beilstein}
-[2017/08/21 v1.2 Template for submissions to the ``Beilstein Journal %
+[2017/11/09 v1.3 Template for submissions to the ``Beilstein Journal %
of Nanotechnology'' (BJNANO)]
\RequirePackage{xkeyval}
\RequirePackage{ifthen}
@@ -410,24 +410,27 @@ bookreport,review,letter}
{\includegraphics[width=8.2cm,keepaspectratio]{#1}}
\newcommand{\dblcolscheme}[1]%
{\includegraphics[width=16.8cm,keepaspectratio]{#1}}
-\IfFileExists{cleveref.sty}{%
- \RequirePackage{cleveref}[2009/12/11]
-}{\ClassInfo{beilstein}{Package ``cleveref'' was not found and %
- \MessageBreak therefore has not been loaded.}}
-\@ifpackageloaded{cleveref}{%
-\crefname{figure}{Figure}{Figures}
-\crefname{table}{Table}{Tables}
-\crefname{scheme}{Scheme}{Schemes}
-\crefformat{scheme}{Scheme~#2#1#3}
-\Crefformat{scheme}{Scheme~#2#1#3}
-\crefname{suppinfo}{Supporting Information File}{Supporting
-Information Files}
-\crefformat{suppinfo}{Supporting Information File~#2#1#3}
-\Crefformat{suppinfo}{Supporting Information File~#2#1#3}
-}{\newcommand{\cref}[1]%
- {\ClassError{beilstein}{Macro \string\cref\space has not been
- defined\MessageBreak since the cleveref package could not be
- loaded}{Please install the package cleveref first}
+\RequirePackage{etoolbox}%
+\AtEndPreamble{%
+ \IfFileExists{cleveref.sty}{%
+ \RequirePackage{cleveref}[2009/12/11]
+ }{\ClassInfo{beilstein}{Package ``cleveref'' was not found and %
+ \MessageBreak therefore has not been loaded.}}
+ \@ifpackageloaded{cleveref}{%
+ \crefname{figure}{Figure}{Figures}
+ \crefname{table}{Table}{Tables}
+ \crefname{scheme}{Scheme}{Schemes}
+ \crefformat{scheme}{Scheme~#2#1#3}
+ \Crefformat{scheme}{Scheme~#2#1#3}
+ \crefname{suppinfo}{Supporting Information File}{Supporting
+ Information Files}
+ \crefformat{suppinfo}{Supporting Information File~#2#1#3}
+ \Crefformat{suppinfo}{Supporting Information File~#2#1#3}
+ }{\newcommand{\cref}[1]%
+ {\ClassError{beilstein}{Macro \string\cref\space has not been
+ defined\MessageBreak since the cleveref package could not be
+ loaded}{Please install the package cleveref first}
+ }%
}%
}%
\RequirePackage[sort&compress,numbers]{natbib}