summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/els-cas-templates/cas-sc.cls
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/els-cas-templates/cas-sc.cls')
-rw-r--r--macros/latex/contrib/els-cas-templates/cas-sc.cls26
1 files changed, 18 insertions, 8 deletions
diff --git a/macros/latex/contrib/els-cas-templates/cas-sc.cls b/macros/latex/contrib/els-cas-templates/cas-sc.cls
index 855ec476fc..d84d03c2f2 100644
--- a/macros/latex/contrib/els-cas-templates/cas-sc.cls
+++ b/macros/latex/contrib/els-cas-templates/cas-sc.cls
@@ -5,21 +5,21 @@
%% ......................................
%%
%% It may be distributed under the conditions of the LaTeX Project Public
-%% License, either version 1.2 of this license or (at your option) any
+%% License, either version 1.3c of this license or (at your option) any
%% later version. The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
-%% and version 1.2 or later is part of all distributions of LaTeX
+%% and version 1.3c or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% The list of all files belonging to the 'CAS Bundle' is
%% given in the file `manifest.txt'.
%%
-%% $Id: cas-sc.cls 49 2020-03-14 09:05:10Z rishi $
+%% $Id: cas-sc.cls 66 2021-05-11 14:17:42Z rishi $
\def\RCSfile{cas-sc}%
- \def\RCSversion{2.1}%
- \def\RCSdate{2020/03/14}%
+ \def\RCSversion{2.3}%
+ \def\RCSdate{2021/05/11}%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{\RCSfile}[\RCSdate, \RCSversion: Formatting class
for CAS single column articles]
@@ -48,7 +48,7 @@
\DeclareOption{final}{\global\casfinallayouttrue}
\DeclareOption{review}{\global\casreviewlayouttrue}
-\ExecuteOptions{a4paper,10pt,oneside,fleqn,review}
+\ExecuteOptions{a4paper,10pt,oneside,fleqn}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
\LoadClass{article}
@@ -113,11 +113,19 @@
\thispagestyle{first}
\ifbool{longmktitle}
{
- \LongMaketitleBox
+ \ifnum\theblind>0\relax
+ \LongMaketitleBox[blind]
+ \else
+ \LongMaketitleBox
+ \fi
\ProcessLongTitleBox
}
{
- \MaketitleBox
+ \ifnum\theblind>0\relax
+ \MaketitleBox[blind]
+ \else
+ \MaketitleBox
+ \fi
\printFirstPageNotes
}
\normalcolor \normalfont
@@ -125,6 +133,7 @@
\renewcommand\thefootnote{\arabic{footnote}}
\gdef\@pdfauthor{\infoauthors}
\gdef\@pdfsubject{Complex ~STM ~Content}
+ \ifbool{casreviewlayout}{\doublespacing}{}
}
%
@@ -152,6 +161,7 @@
{ \RequirePackage[scaled=.85]{inconsolata} }
{ \tex_gdef:D \ttdefault { cmtt } }
+\ifbool{casreviewlayout}{\RequirePackage{setspace}}{}
\ExplSyntaxOff