From e499a25c618d42ee096e05a6cd0eb198797984f3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 1 Nov 2019 20:57:04 +0000 Subject: asmejour (1nov19) git-svn-id: svn://tug.org/texlive/trunk@52598 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/asmejour/asmejour.cls | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/asmejour') 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${} = {}$}% -- cgit v1.2.3