texlive[50845] Master/texmf-dist: asmeconf (7apr19)

commits+karl at tug.org commits+karl at tug.org
Sun Apr 7 23:26:15 CEST 2019


Revision: 50845
          http://tug.org/svn/texlive?view=revision&revision=50845
Author:   karl
Date:     2019-04-07 23:26:15 +0200 (Sun, 07 Apr 2019)
Log Message:
-----------
asmeconf (7apr19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/asmeconf/README.md
    trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.pdf
    trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex
    trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls

Modified: trunk/Master/texmf-dist/doc/latex/asmeconf/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/asmeconf/README.md	2019-04-07 21:22:39 UTC (rev 50844)
+++ trunk/Master/texmf-dist/doc/latex/asmeconf/README.md	2019-04-07 21:26:15 UTC (rev 50845)
@@ -6,27 +6,28 @@
 
   Files in this distribution are:
 
-          README.md             -- this file
-          asmeconf.cls          -- the class file
-          asmeconf.bst          -- bibtex style for ASME conference format
-          asmeconf-template.tex -- a latex template/example for this class
-          asmeconf-template.pdf -- documentation/sample paper
-          asmeconf-sample.bib   -- a sample bibliography file
+          README.md              -- this file
+          asmeconf.cls           -- the class file
+          asmeconf.bst           -- bibtex style for ASME conference format
+          asmeconf-template.tex  -- a latex template/example for this class
+          asmeconf-template.pdf  -- documentation/sample paper
+          asmeconf-sample.bib    -- a sample bibliography file
+          *
           sample-figure-1.pdf, sample-figure-2a.pdf, sample-figure-2b.pdf -- figures for the example
 
   The .tex and .cls files are commented and should be self-explanatory.
 
-  This is version 1.02 dated 2019/04/04.
+  This is version 1.03 dated 2019/04/06.
   
   
 
   This template was designed to approach the following aims:
 
-  - match ASME's font specifications and layout precisely
+  - match ASME's font current specifications and layout
 	
-  - match ASME's citation formats
+  - match ASME's current citation formats
 	
-  - support hyperlinks (for cross-references to figures, tables, citations, and web)
+  - support use of hyperref package (hyperlink references to figures, tables, citations, and web)
 	
   - support pdf bookmarks
 	

Modified: trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex	2019-04-07 21:22:39 UTC (rev 50844)
+++ trunk/Master/texmf-dist/doc/latex/asmeconf/asmeconf-template.tex	2019-04-07 21:26:15 UTC (rev 50845)
@@ -2,7 +2,7 @@
 %%  This file is asmeconf-template.tex, a template to format ASME Conference papers according to
 %%  the requirements on ASME's conference web pages (as posted in March 2019).
 %%
-%%  This file is version 1.02 dated 2019/04/04
+%%  This file is version 1.03 dated 2019/04/06
 %%
 %%  Author: John H. Lienhard V
 %%          Department of Mechanical Engineering
@@ -151,7 +151,8 @@
 ASME does not specify a standard nomenclature list. Be sure to put your symbols into the nomenclature list, including SI units.
 
 
-\subsection*{Section headings and captions}
+%% Use title case for subsections and subsubsections
+\subsection*{Section Headings and Captions}
 ASME requires that section headings and captions be set in an uppercase, bold face, sans serif font.  The class will do this automatically.  You can place \verb|\cite{..}|, \verb|\ref{..}|, \verb|\label{..}|, and into headings and captions directly, as you would in the main text. Do not enclose them braces, e.g.\ \verb|{\cite{..}}|, which will cause errors. You can place \verb|\footnote{..}| into headings, but not into captions.\footnote{See \texttt{tex-stackexchange} for various approaches to footnotes in captions, if you really want to have them.}
 
 Simple math can be used in either captions or section headings, but see the \texttt{asmeconf.tex} source file for examples of how to deal with more complicated expressions.
@@ -160,31 +161,39 @@
 
 For a section heading that includes more complicated math (and macros), you may use the optional argument of \verb|\section[..]{..}| to create a pdf bookmark without losing characters or producing warnings or errors. See the \texttt{asmeconf.tex} source file for examples of this. These bookmarks should usually be text expressions, although some math is supported.  
 
-Text in section headings and captions will not be capitalized if enclosed in a \verb|\NoCaseChange{...}| command. 
+Text in section headings and captions will not be capitalized if enclosed in a \verb|\NoCaseChange{...}| command.
 
-\subsubsection*{Latin for layout}
-The rest of this text uses Latin to show layout and usage. Refer to the \texttt{.tex} file for further details. \lipsum[4-5] % <=== This command generates paragraphs of fake Latin.  Delete it here and elsewhere!
-
 %%%%%%%%%%%%% begin figure %%%%%%%%%%%%%%%%%
 
+%% captions go below figures
+
 \begin{figure}
 \centering\includegraphics[width=0.7\linewidth]{sample-figure-1.pdf}
 \caption{A figure caption with math, $\bm{\mathsf{z = (r,\sfphi)}}$ \cite{Lienhard2019b}\label{fig:1}}
-%% note: \upphi is upright \phi under the newtxmath package used here. 
+%% note: \sfphi is sans serif \phi, defined by the class file.
 \end{figure}
  
 %%%%%%%%%%%%% end figure %%%%%%%%%%%%%%%%%%%
 
+\subsubsection*{Subsection Headings in Title Case}
+Subsections and sub-subsection headings should be in title case (first letter of primary words capitalized). 
+The rest of this text uses Latin to show layout and usage. Refer to the \texttt{.tex} file for further details. 
 
+\subsubsection*{Latin for Layout}
+\lipsum[4-5] % <=== This command generates paragraphs of fake Latin.  Delete it here and elsewhere!
+
+
 %% Dealing with complicated math in a section heading: optional argument provides the pdfbookmark
 %% without losing characters or producing warnings/errors.
-\section*[Math in a section heading: a=0]{Math in a section heading: $\bm{\vec{\mathsf{a}}=\mathsf{0}}$}
+\section*[Math in a section heading: u\cdot\omega=0]{Math in a section heading: $\bm{\vec{\mathsf{u}}\cdot\vec{\sfomega}=\mathsf{0}}$}
 
 \lipsum[6-7] % <=== This command generates paragraphs of fake Latin.  Delete it here and elsewhere!
 
 
 %%%%%%%%%%%%%%% begin simple table %%%%%%%%%%%%%%%%%%%%%%%%%% 
- 
+
+%% captions go above tables
+
 \begin{table}[t]
 \caption[Table]{A simple table\label{tab:1}}
 \centering{%
@@ -203,7 +212,7 @@
 
 
 %%%%%%%%%%%%%%% begin more complicated table %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- 
+
 \begin{table}[t]
 \caption{Table with more complicated columns}\label{tab:2}%
 \centering{%
@@ -249,14 +258,14 @@
 
 
 
-%% Subsections with math do not need special handling because they are neither uppercase nor bookmarked
-%% Note that \dot or \vec go outside \mathsf{..}
-\subsection*{Subsection with math: $\bm{\dot{\mathsf{S}}_{\textsf{gen}}}$ \cite{bejan}.}
+%% Subsections with math do not need any special handling because they are neither uppercased nor bookmarked
+%% Note that \dot or \vec must go outside of \mathsf{..}
+\subsection*{Subsection with Math: $\bm{\dot{\mathsf{S}}_{\textsf{gen}}}$ \cite{bejan}.}
 
 \lipsum[10] % <=== This command generates paragraphs of fake Latin.  Delete it here and elsewhere!
 
 
-\subsubsection*{Sub-subsection\footnote{Another longer footnote to show the leading and line breaking, and how it will sit at the bottom of a column. Another longer footnote to show the leading and line breaking, and how it will sit at the bottom of a column.} heading}
+\subsubsection*{Sub-subsection\footnote{Another longer footnote to show the leading and line breaking, and how it will sit at the bottom of a column. Another longer footnote to show the leading and line breaking, and how it will sit at the bottom of a column.} Heading}
 
 \lipsum[12-13] % <=== This command generates paragraphs of fake Latin.  Delete it here and elsewhere!
 \begin{equation}\label{eqn:dw}
@@ -341,19 +350,18 @@
 %% This specific .bst style allows: venue = {location of conference}, and confmonth = {Month days}
 %%
 
-\nocite{*} %% <=== delete this line if you do not want to typeset the entire contents of your .bib file.
+\nocite{*} %% <=== delete this line unless you want to typeset the entire contents of your .bib file.
 \bibliographystyle{asmeconf}     %% .bst file following ASME conference format. Do not change.
-\bibliography{asmeconf-sample}   %% name of your bib file
+\bibliography{asmeconf-sample}   %% <=== change this to name of your bib file
 
 %%%  APPENDICES  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \appendix
 
-\section{First appendix}
-\lipsum[20] % <=== This command generates paragraphs of fake Latin.  Delete it here and elsewhere!
+%% Note that appendices will be "numbered" A, B, C, ... etc. Use \section, not \section*
+%% Equations should be numbered sequentially following those in the paper. Don't reset the counter.
 
-
 %% Here we use the optional argument for the pdf bookmark.
-\section[The vector product AxB]{The vector product $\bm{\vec{\mathsf A}\times\vec{\mathsf B}}$}
+\section[The vector product A\times B]{The vector product $\bm{\vec{\mathsf A}\times\vec{\mathsf B}}$}
 
 \lipsum[21] % <=== This command generates paragraphs of fake Latin.  Delete it here and elsewhere!
 \begin{align}
@@ -361,10 +369,12 @@
                                   &{}= \iint_{\mathcal{S}} \nabla \times \frac{D\mathbf{u}}{Dt}  \cdot d\mathbf{A}\\
                                   &{}= \iint_{\mathcal{S}}  \nabla p \times \nabla \left( \frac{1}{\rho}\right) \cdot d\mathbf{A}
 \end{align}
+
+%% Subsection headings are no numbered in appendices
+\subsection*{Subsection Heading}
+
 \lipsum[22] % <=== This command generates paragraphs of fake Latin.  Delete it here and elsewhere!
 
-\subsection*{A subsection in an appendix}
-\lipsum[23] % <=== This command generates paragraphs of fake Latin.  Delete it here and elsewhere!
 
 \end{document}
 

Modified: trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls	2019-04-07 21:22:39 UTC (rev 50844)
+++ trunk/Master/texmf-dist/tex/latex/asmeconf/asmeconf.cls	2019-04-07 21:26:15 UTC (rev 50845)
@@ -5,7 +5,7 @@
 %%
 %%  Please note that ASME's journals follow specifications different from ASME conference papers.
 %%
-%%  This file is version 1.02 dated 2019/04/04.
+%%  This file is version 1.03 dated 2019/04/06.
 %%
 %%  Author: John H. Lienhard V
 %%          Department of Mechanical Engineering
@@ -144,7 +144,6 @@
 %%%% font size selection  %%%%%%%%
 %%%% ASME's specs differ from latex standard article-10 class %%%
 
-\makeatletter
 \renewcommand\LARGE{\@setfontsize\LARGE{15}{18}}    %... default is 17
 \renewcommand\Large{\@setfontsize\Large{12}{14.5}}  %... default is 14
 \renewcommand\large{\@setfontsize\large{11}{13.6}}  %... default is 12
@@ -151,9 +150,9 @@
 \renewcommand\normalsize{\@setfontsize\normalsize{10}{12}}
 \renewcommand\small{\@setfontsize\small{9}{10.8}}
 \renewcommand\footnotesize{\@setfontsize\footnotesize{8}{9.6}}
-\makeatother
 
 
+
 %%%%%% footer %%%%%%%
 
 \RequirePackage{fancyhdr}
@@ -179,10 +178,8 @@
 }
 
 %% reduce indentation of footnotes
-\makeatletter
 \renewcommand\@makefntext[1]{%
   \noindent\makebox[2ex][r]{\@makefnmark}#1}
-\makeatother
 
 
 %%%%%%%%% CAPTION RELATED %%%%%%%%%%%%%%%%
@@ -285,12 +282,10 @@
 
 %% Let's also add \footnote to the \TextUppercase exception list, so that footnote text won't be capitalized
 %% if given in section headings
-\RequirePackage{xpatch}
-     \makeatletter
-     \xpatchcmd{\@uclcnotmath}{\@nonchangecase\ref}{\@nonchangecase\ref\@nonchangecase\footnote}{}{}
-     \makeatother
+\RequirePackage{xpatch}     
+\xpatchcmd{\@uclcnotmath}{\@nonchangecase\ref}{\@nonchangecase\ref\@nonchangecase\footnote}{}{}
+     
 
-
 %%% Create an optional argument for unnumbered sections and set pdf bookmark (thru \addcontentsline).
 %%% The optional argument will manually set the pdf bookmark for that section; can be used to avoid hyperref 
 %%%     errors when macros are in section titles.
@@ -315,7 +310,7 @@
 
 %% Abstract environment
 %% \keywords command should be given someplace before the \end{abstract} command.
-\makeatletter
+
 \providecommand{\@keywords}{\relax}
 
 \DeclareDocumentCommand{\keywords}{m}{%
@@ -331,7 +326,6 @@
 	{\@keywords\bigskip%
 }
 
-\makeatother
 
 %% Nomenclature environment.
 %% Increase first optional argument to a dimension > 2em if wide entries cause undesired misalignment of columns. 
@@ -358,8 +352,6 @@
 
 %%%%%%%%%%%%%%%%% Headers and Title %%%%%%%%%%%%%%%%%%%%%
 
-\makeatletter
-
 \newcommand{\ConfName}[1]{\long\gdef\@ConfName{#1}}
 \providecommand\@ConfName{\hbox{ }}
 
@@ -400,7 +392,6 @@
      }%
 }
 
-\makeatother
 
 %%%%%%%%%%%   Author block  %%%%%%%%%%%%%%%%
 
@@ -480,7 +471,7 @@
 \let\savethefootnote\thefootnote
 
 %% Flag for corresponding author (expecting just one, but if two enter both email addresses and flag both authors)
-\makeatletter
+
 \newif\ifCA\CAfalse
 \newcommand{\CAemail}[1]{\gdef\@CAemail{#1}}
 
@@ -492,7 +483,7 @@
 }
 
 %% Flag for joint first authors (two or more)
-\makeatletter
+
 \newif\ifJA\JAfalse
 
 \DeclareDocumentCommand{\JointFirstAuthor}{}{%
@@ -523,11 +514,10 @@
 \fi
 \let\thefootnote\savethefootnote
 }
-\makeatother
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-
 %% Provide sans serif upright Greek letters, following a suggestion
 %% to the class author by Michael Sharpe (March 2019).
 %% Access sans serif Greek from STIX fonts.



More information about the tex-live-commits mailing list