summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-12 21:29:31 +0000
committerKarl Berry <karl@freefriends.org>2020-04-12 21:29:31 +0000
commit321ccf46e86d034685420aa1c5faa90cc6d543e4 (patch)
treea300a0e5a6c3a6f8d854e956d80d5f711bb0259c /Master/texmf-dist/tex
parent656c2588b2ce9d477986f176d75589bbec400918 (diff)
asmejour (12apr20)
git-svn-id: svn://tug.org/texlive/trunk@54698 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/asmejour/asmejour.cls24
1 files changed, 19 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/asmejour/asmejour.cls b/Master/texmf-dist/tex/latex/asmejour/asmejour.cls
index ea70605bda7..2f2ff1f9998 100644
--- a/Master/texmf-dist/tex/latex/asmejour/asmejour.cls
+++ b/Master/texmf-dist/tex/latex/asmejour/asmejour.cls
@@ -6,9 +6,9 @@
%% The asmejour.cls file should be used with the files asmejour.bst (for citations) and asmejour-template.tex.
%%
%%
-%% This file is version 1.11 dated 2020/02/29.
- \def\versionno{1.11}
- \def\versiondate{2020/02/29\space}
+%% This file is version 1.12 dated 2020/04/12.
+ \def\versionno{1.12}
+ \def\versiondate{2020/04/12\space}
%%
%% Author: John H. Lienhard V
%% Department of Mechanical Engineering
@@ -184,6 +184,7 @@
% ASME's pdf pages are 11.25 in. tall, not 11.00 in.
\RequirePackage[sort&compress,numbers]{natbib}
+\AtBeginDocument{\def\NAT@space{\relax}} % ASME puts no space between numerical references (4/5/20)
\setlength\bibsep{0pt plus 1pt minus 0pt} % ASME keeps this tight
\renewcommand*{\bibfont}{\footnotesize}
@@ -222,7 +223,7 @@
\RequirePackage{mathtools} % extends amsmath
\RequirePackage[]{babel}
\RequirePackage[]{newtxtext}
-\RequirePackage[varqu,varl]{inconsolata} % sans typewriter font
+\RequirePackage[]{inconsolata} % sans typewriter font % removed varl, varqu 2020/04/08 for unicode compatibility
\RequirePackage[]{newtxmath}
%% override \textsu if using default superiors
@@ -426,6 +427,15 @@
\captionsetup[figure]{labelfont={sf,bf},textfont={sf,bf},textformat=boldmath,labelsep=quad}
\captionsetup[table]{labelfont={sf,bf},textfont={sf,bf},textformat=boldmath,labelsep=quad,skip=0.5\baselineskip}
+%% 4 April 2020. ASME only labels subfigures with a sans serif, italic (a), (b),... no caption text, no bold face.
+%% Could set labelfont={sf},textfont={sf}, and normal math version needed; but would need sans math...
+
+\captionsetup[subfigure]{labelformat=simple} % default: =parens
+\renewcommand\thesubfigure{(\textit{\alph{subfigure}})}
+
+\captionsetup[subtable]{labelformat=simple}
+\renewcommand\thesubtable{(\textit{\alph{subtable}})}
+
%%%%%%%%%%%% SECTION HEADINGS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% wish to accommodate hyperref
@@ -737,12 +747,16 @@
%%%%%%%%%%
+\newlength{\@AbstractSep} %% <== separation of author/abstract coffin from main two-column text.
+\setlength{\@AbstractSep}{12.5mm}
+\NewDocumentCommand\AbstractSep{m}{\setlength{\@AbstractSep}{#1}}
+
\DeclareDocumentCommand{\MakeTitlePage}{}{%
\thispagestyle{title}%
\twocolumn[
\begin{@twocolumnfalse}
\ConstructAuthorBlock
- \vspace*{12.5mm}
+ \vspace*{\@AbstractSep}
\end{@twocolumnfalse}
]
\ifCA