summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/asmejour
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-01 20:57:04 +0000
committerKarl Berry <karl@freefriends.org>2019-11-01 20:57:04 +0000
commite499a25c618d42ee096e05a6cd0eb198797984f3 (patch)
treebf64a7a459d40b6f3a3ba584fb918c4454ceb323 /Master/texmf-dist/tex/latex/asmejour
parent300623708b584eefa04ae500d8f94571d2de1b17 (diff)
asmejour (1nov19)
git-svn-id: svn://tug.org/texlive/trunk@52598 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/asmejour')
-rw-r--r--Master/texmf-dist/tex/latex/asmejour/asmejour.cls18
1 files changed, 12 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/asmejour/asmejour.cls b/Master/texmf-dist/tex/latex/asmejour/asmejour.cls
index beb43646347..3f7653278c2 100644
--- a/Master/texmf-dist/tex/latex/asmejour/asmejour.cls
+++ b/Master/texmf-dist/tex/latex/asmejour/asmejour.cls
@@ -6,7 +6,7 @@
%% The asmejour.cls file should be used with the files asmejour.bst (for citations) and asmejour-template.tex.
%%
%%
-%% This file is version 1.06 dated 2019/10/01.
+%% This file is version 1.07 dated 2019/10/31.
%%
%% Author: John H. Lienhard V
%% Department of Mechanical Engineering
@@ -52,7 +52,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{asmejour}[2019/10/01 asmejour paper format]
+\ProvidesClass{asmejour}[2019/10/31 asmejour paper format]
\LoadClass[twoside,9pt,twocolumn]{extarticle}
@@ -200,11 +200,15 @@
%% make \hline in tables heavier than default 0.4pt
\setlength\arrayrulewidth{.5\p@}
+\RequirePackage{booktabs}
+\renewcommand*{\toprule}{\specialrule{0.5pt}{0pt}{\doublerulesep}\specialrule{0.5pt}{0pt}{3pt}}
+\renewcommand*{\midrule}{\specialrule{0.5pt}{2pt}{3pt}}
+\renewcommand*{\bottomrule}{\specialrule{0.5pt}{1pt}{\doublerulesep}\specialrule{0.5pt}{0pt}{0pt}}
%%%%%%%% FONT related %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{mathtools} % extends amsmath
-\RequirePackage[utf8]{inputenc}
+\RequirePackage[utf8]{inputenc} % backward compatibility...
\RequirePackage[]{babel}
\RequirePackage[]{newtxtext}
\RequirePackage[varqu,varl]{inconsolata} % sans typewriter font
@@ -262,6 +266,8 @@
}
\providecommand{\nomname}{Nomenclature}
\providecommand{\keywordname}{Keywords}
+ \providecommand{\appendicesname}{Appendices}
+
%%%%%%%%%%%%%%%%% EQUATION AND LINE NUMBERING %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -432,7 +438,7 @@
%% Special handling of the appendices
%% Assumes that appendices are the last technical content in paper
\RenewDocumentCommand{\appendix}{}{%
- \pdfbookmark[1]{Appendices}{appendices}
+ \pdfbookmark[1]{\appendicesname}{appendices}
\setcounter{section}{0}
\renewcommand\thesection{\Alph{section}}
\setcounter{equation}{0}
@@ -536,8 +542,8 @@
\DeclareDocumentCommand{\entry}{m g}{%
\IfNoValueTF{#2}{%
\itemsep12\p@ plus 4\p@ minus 4\p@% \bigskip
- \goodbreak\item[\bfseries#1\hfill]\itemsep3\p@ plus 1\p@ minus 1\p@\nopagebreak% \smallskip, ASME closer to \medskip
- }{%
+ \goodbreak\item[\bfseries#1\hfill]\itemsep3\p@ plus 1\p@ minus 1\p@\@itempenalty=1000%
+ }{%
\item[\hfill#1${} = {}$]#2%
\setlength\itemsep\savitemsep
\settowidth\@widest{#1${} = {}$}%