diff options
author | Karl Berry <karl@freefriends.org> | 2024-07-26 16:49:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-07-26 16:49:45 +0000 |
commit | 45febbfabdf9618b5e9c1aa5e643d534d5c0be51 (patch) | |
tree | 24452c6691f4d58bf4346b95499ba4ba8dfa24e6 /Master/texmf-dist/doc | |
parent | 96f1a2f59c7a7540af17dcf944c4bd0f30a69b22 (diff) |
asmejour (26jul24)
git-svn-id: svn://tug.org/texlive/trunk@71903 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/asmejour/README.md | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/asmejour/asmejour-sample.bib | 17 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/asmejour/asmejour-template.pdf | bin | 729589 -> 728579 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/asmejour/asmejour-template.tex | 89 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmejour-wide-equation-examples.pdf | bin | 2983602 -> 2982565 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmejour-wide-equation-examples.tex | 8 |
6 files changed, 75 insertions, 49 deletions
diff --git a/Master/texmf-dist/doc/latex/asmejour/README.md b/Master/texmf-dist/doc/latex/asmejour/README.md index 69fe1e00fc9..612e0b027a6 100644 --- a/Master/texmf-dist/doc/latex/asmejour/README.md +++ b/Master/texmf-dist/doc/latex/asmejour/README.md @@ -1,7 +1,7 @@ #asmejour: A template for ASME journal papers# - Version 1.22 dated 2024/02/06. + Version 1.23 dated 2024/07/24. ####Overview#### This class provides a template to format preprints in the style of journal papers published by the American Society of Mechanical Engineers. @@ -67,6 +67,14 @@ ####Change log#### +v1.23 (2024/07/24) + - Add class option for single-column formatting, \[singlecolumn\], as sometimes requested for review (thanks Lennart Hultgren) + - Change language sample from French to German, to avoid active characters (from Fourier to Pohlhausen) + - Reduce size of line number font + - Adjust code for \\appendix to better accommodate tagged pdf + - Correct bug in babel main language selection + - Miscellaneous code clean up and simplification + v1.22 (2024/02/06) - The newtx package has dropped superiors option, so asmejour has dropped the \[superiors\] option and related code. - Dropped legacy options \[lang, lang-second, lang-third\] diff --git a/Master/texmf-dist/doc/latex/asmejour/asmejour-sample.bib b/Master/texmf-dist/doc/latex/asmejour/asmejour-sample.bib index 3b715d3d059..08438fd94d9 100644 --- a/Master/texmf-dist/doc/latex/asmejour/asmejour-sample.bib +++ b/Master/texmf-dist/doc/latex/asmejour/asmejour-sample.bib @@ -1,6 +1,6 @@ %% Sample bibliography file for asmejour.bst and asmejour.cls %% -%% Revised: 06 February 2024 +%% Revised: 21 July 2024 %% Copyright John H. Lienhard, MIT %% Offered under the MIT license: https://ctan.org/license/mit @@ -350,9 +350,22 @@ title = {Th\'{e}orie Analytique de la Chaleur}, publisher = {Firmin Didot, P\`{e}re et Fils}, address = {Paris}, - url = {https://archive.org/details/analyticaltheory00fourrich}, + url = {https://archive.org/details/analyticaltheory00fourrich}, } +@article{pohlhausen1921, + author = {Pohlhausen, E.}, + title = {Der {W}\"{a}rmeaustausch zwischen festen K\"{o}rpern und {F}l\"{u}ssigkeiten mit kleiner reibung und kleiner {W}\"{a}rmeleitung}, + journal = {Zeitschrift f\"{u}r {A}ngewandte {M}athematik und {M}echanik}, + volume = {1}, + number = {2}, + pages = {115--121}, + doi = {10.1002/zamm.19210010205}, + year = {1921}, +} +%url = {https://onlinelibrary.wiley.com/doi/abs/10.1002/zamm.19210010205}, + + @techreport{reynolds1958, author = {W. C. Reynolds and W. M. Kays and S. J. Kline}, title = {Heat transfer in the Incompressible Turbulent Boundary Layer. {I}---Constant Wall Temperature}, diff --git a/Master/texmf-dist/doc/latex/asmejour/asmejour-template.pdf b/Master/texmf-dist/doc/latex/asmejour/asmejour-template.pdf Binary files differindex 6fc96310102..c15cc9f7977 100644 --- a/Master/texmf-dist/doc/latex/asmejour/asmejour-template.pdf +++ b/Master/texmf-dist/doc/latex/asmejour/asmejour-template.pdf diff --git a/Master/texmf-dist/doc/latex/asmejour/asmejour-template.tex b/Master/texmf-dist/doc/latex/asmejour/asmejour-template.tex index 18ae24c0572..7e3f8a29306 100644 --- a/Master/texmf-dist/doc/latex/asmejour/asmejour-template.tex +++ b/Master/texmf-dist/doc/latex/asmejour/asmejour-template.tex @@ -3,7 +3,7 @@ %% %% This file is asmejour-template.tex, a template to format papers in the style of ASME journal papers. %% -%% This file is version 1.22 dated 2024/02/06 +%% This file is version 1.23 dated 2024/07/24 %% %% Author: John H. Lienhard V %% Department of Mechanical Engineering @@ -33,8 +33,10 @@ %% %% * Option to omit all ASME text fields from the footer [nofoot]. %% +%% * Option for single column formatting [singlecolumn]. +%% %% * Options for PDF/A compliance. With pdfTeX, [pdf-a] will produce PDF/A-3u compliance with sRGB OutputIntent. -%% * [pdfapart= 1 or 2 or 3] and [pdfaconformance= b or u] can enable levels 1b, 2b, 2u, and 3b. +%% * [pdfapart= 1 or 2 or 3] and [pdfaconformance= b or u] will select other levels: 1b, 2b, 2u, and 3b. %% * %% * Recently, LaTeX (2021 and later) has integrated support for pdf-a, through the \DocumentMetadata{..} %% * command. This approach works with both pdfTeX and luaLaTeX. The asmeconf class supports this new feature, @@ -59,8 +61,8 @@ %% * [hyphenate] allow hyphenation, with pdfTeX only (normally, the typewriter font is not hyphenated) %% %% * Options for the babel package to support passages in other languages (such as a translated -%% * abstract in an appendix), e.g. [french]. The main language will default to English -%% * unless a different main language is selected, e.g. [main=spanish]. See Appendix C for details. +%% * abstract in an appendix), e.g. [german]. The main language will default to English +%% * unless a different main language is selected, e.g. [main=spanish]. See Appendix B for details. %% %% For details of the newtx and mathalfa packages, refer to their documentation (available at CTAN: http://ctan.org). %% @@ -82,16 +84,16 @@ %% see https://www.latex-project.org/news/latex2e-news/ltnews35.pdf %% Uncomment the next lines and omit the option [pdf-a], if you are using an up-to-date LaTeX platform -%\DocumentMetadata{% -% pdfstandard=A-3b,% A-2b, A-2u, A-3b, or A-3u (don't use u options with LuaLaTeX) -% pdfversion=1.7, -% lang=en-US, -%} +\DocumentMetadata{% + pdfstandard=A-3u,% A-2b, A-2u, A-3b, or A-3u (don't use u options with LuaLaTeX) + pdfversion=1.7, + lang=en-US, +} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Class options are described above. -\documentclass[upint,varvw,barcolor=Goldenrod3,mathalfa=cal=euler,balance,hyphenate,french,pdf-a]{asmejour}% subscriptcorrection, +\documentclass[nocopyright,upint,varvw,barcolor=Goldenrod3,mathalfa=cal=euler,balance,hyphenate,german]{asmejour}% subscriptcorrection,french %%%% pdf metadata %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -121,11 +123,14 @@ % Use title case (upper and lower case letters) % Note usage below for corresponding author. -\SetAuthorBlock{Author Name[s]}{Department of Mechanical Engineering,\\ - Institution or Company Name,\\ - Street address,\\ - City, State, Country\\ - email: xxx@yyy.zzz} +\SetAuthorBlock{John H.\ Lienhard\CorrespondingAuthor}{% + Fellow ASME\\ + Rohsenow Kendall Heat Transfer Laboratory,\\ + Department of Mechanical Engineering,\\ + Massachusetts Institute of Technology,\\ + Cambridge, MA 02139 USA\\ + email: lienhard@mit.edu +} % To label one or more corresponding authors put "Name\CorrespondingAuthor". No space after "Name". % An optional argument can be added if email is not in address block as @@ -133,14 +138,12 @@ % Can also include multiple emails and use the command more than once for multiple corresponding authors, % "Name\CorrespondingAuthor{write@to.him, write@to.her}" -\SetAuthorBlock{John H.\ Lienhard V\CorrespondingAuthor}{% -Fellow ASME\\ -Rohsenow Kendall Heat Transfer Laboratory,\\ -Department of Mechanical Engineering,\\ -Massachusetts Institute of Technology,\\ -Cambridge, MA 02139 USA\\ -email: lienhard@mit.edu -} +\SetAuthorBlock{Author Name[s]}{Department of Mechanical Engineering,\\ + Institution or Company Name,\\ + Street address,\\ + City, State, Country\\ + email: xxx@yyy.zzz +} %%% Change to your paper title. Can insert line breaks if you wish (otherwise breaks are selected automatically). \title{Preprint Template for ASME\\ Journal Papers: asmejour.cls} @@ -164,6 +167,7 @@ This paper is an example and {\upshape\LaTeX} template for the {\upshape\texttt{ \maketitle %% This command creates the author/title/abstract block. Essential! + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%% End of fields to be completed. Now write! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -227,7 +231,7 @@ Section, subsection, and subsubsection headings should be in title case (first l %% captions go below figures \begin{figure} -\centering\includegraphics[width=\linewidth]{sample-figure-1.pdf} +\centering\includegraphics[width=\linewidth,alt={Linearization errors}]{sample-figure-1.pdf} \caption{Caption with math, eqn.~\eqref{eqn:1}: $\Delta T/T_m$ vs.\ $\Delta T/T_1$~\cite{lienhard2019}\label{fig:1}} \end{figure} @@ -466,8 +470,12 @@ As of June 2022, the \LaTeX 3 team has added native support for PDF/A in the \La \subsection{Typewriter Font Options} This font is the sans-serif, monospaced font \texttt{inconsolata}. By default, the word spacing is variable, but option \texttt{[mono]} ends this behavior. A slashed zero is the default; option \texttt{[var0]} removes the slash. Option \texttt{[hyphenate]} enables hyphenation of the typewriter font when running \hologo{pdfTeX}. +\subsection{Single column layout} The option \texttt{[singlecolumn]} switches from two-column to single-column layout. %%%%%%%%%%%%%%% begin two column table %%%%%%%%%%%%%%%%%% +% +% note: the fourth column could be a dcolumn instead of using \makebox, with d{1.4} replacing c column. +% \begin{table*}[t] \caption{A table spanning two columns}\label{tab:4}% \centering{% @@ -478,7 +486,8 @@ As of June 2022, the \LaTeX 3 team has added native support for PDF/A in the \La \multicolumn{1}{c!{\hspace*{3.em}}}{$\textrm{erfc}(x)$} & \multicolumn{1}{c}{$x$} & \multicolumn{1}{c}{$\textrm{erf}(x)$} & -\multicolumn{1}{c@{\hspace*{1.5em}}}{$\textrm{erfc}(x)$} \\ \midrule +\multicolumn{1}{c@{\hspace*{1.5em}}}{$\textrm{erfc}(x)$} \\ +\midrule 0.00 & 0.00000 & 1.00000 & 1.10 & 0.88021 & 0.11980 \\ 0.05 & 0.05637 & 0.94363 & 1.20 & 0.91031 & 0.08969 \\ 0.10 & 0.11246 & 0.88754 & 1.30 & 0.93401 & 0.06599 \\ @@ -554,7 +563,7 @@ Acknowledge individuals, institutions, or companies that supported the authors i \entry{b}{bulk value} \entry{$\infty$}{free stream value} -\end{nomenclature} +\end{nomenclature} %%%%%%%%%%%%%%% APPENDICES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -571,31 +580,30 @@ Acknowledge individuals, institutions, or companies that supported the authors i This text is just for illustration. The radiation fractional function may be written in terms of the incomplete zeta function for convenience: \begin{align} -f(\lambda T) = {}& \frac{1}{\sigma T^4} \int_0^\lambda\frac{2\pi h c_o^2}{\lambda^5 \left[ \exp (h c_o/k_B T \lambda) - 1\right] } \, d\lambda \\ - = {}& \frac{1}{\sigma T^4}\frac{2\pi k_B^4 T^4}{h^3c_o^2}\int^\infty_{c_2/\lambda T}\frac{t^3}{e^t -1}\, dt\label{eqn:zeta} +f(\lambda T) &= \frac{1}{\sigma T^4} \int_0^\lambda\frac{2\pi h c_o^2}{\lambda^5 \left[ \exp (h c_o/k_B T \lambda) - 1\right] } \, d\lambda \\ + &= \frac{1}{\sigma T^4}\frac{2\pi k_B^4 T^4}{h^3c_o^2}\int^\infty_{c_2/\lambda T}\frac{t^3}{e^t -1}\, dt\label{eqn:zeta} \end{align} When $\lambda T \rightarrow \infty$, $f = 1$ and the last equation yields the well-known result \begin{equation} - {\sigma T^4} =\frac{2\pi k_B^4 T^4}{h^3c_o^2} \underbrace{\int_0^\infty \frac{t^3}{e^t - 1} \, dt}_{\equiv\mspace{2mu} \zetaup(4)\Gamma(4)} +\sigma T^4 =\frac{2\pi k_B^4 T^4}{h^3c_o^2} \underbrace{\int_0^\infty \frac{t^3}{e^t - 1} \, dt}_{\equiv\mspace{2mu} \zetaup(4)\Gamma(4)} \end{equation} where the Gamma function $\Gamma(4) = 3!$ and the Riemann zeta function, $\zetaup(4)$, has the indicated integral representation \cite[\S13.12]{ww1927}. A classical result due to Euler \cite{euler1740} gives $\zetaup(4) = \pi^4/90$ (see also \cite[\S167]{euler1748}), from which we recover the usual definition of the Stefan-Boltzmann constant, $\sigma$. - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\section{Language Support} +\section{Language Support\label{app:language}} ASME publishes in English, but the \texttt{babel} package is loaded for users who may wish to include other languages. For example, an author might wish to include an appendix that provides the abstract in another language. When more than one language option is included in \verb|\documentclass[..]{asmejour}|, English will be assumed to be the main language of the document. (To choose a different main language, set \texttt{[main=..]}). -If no language options are given, the package defaults to English. As an example, a passage in French is -shown in \selectlanguage{french}\appendixname~\ref{app:fourier}\selectlanguage{english}. +If no language options are given, the package defaults to English. As an example, a passage in German is +shown in \selectlanguage{german}\appendixname~\ref{app:pohlhausen}\selectlanguage{english}. The standard caption and section names will follow \texttt{babel}'s dictionary for primary languages other than English. Users may additionally change ``Keywords'', ``Nomenclature'', and ``Corresponding author'' by renewing the commands \verb|\keywordname|, \verb|\nomname|, and \verb|\CAwords|. Changes to the page footer were described in Sec.~\ref{sec:footer}. The pdf bookmark for ``Appendices'' by be changed by renewing \verb|\appendicesname|. The font encoding is set to T1 and utf-8 input is supported: -%% If you have trouble with the next line (or the French text that follows), your file may not be saved in utf-8 format. You can delete these lines to resolve the issue. +%% If you have trouble with the next line, your file may not be saved in utf-8 format. You can delete these lines to resolve the issue. \typeout{If you have trouble with the next line, your file may not be saved in utf-8 format. You can delete that line to resolve the issue.} \ifluatex\typeout{Under LuaLaTeX, some of these accents must be obtained as escaped characters, with \=a, \c{e}, \l, \.o, \oe, \v{z}, \'z, etc.}\fi àáâäæãåā èéęëêēė îïíīįì ôöòóœøōõ ûüùúū çćč ł ñń ßśš ÿ žźż @@ -604,18 +612,13 @@ No effort has been made to support customization of language-specific fonts (som %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\selectlanguage{french} -\section{Discours Préliminaire de Fourier}\label{app:fourier} - -Les causes primordiales ne nous sont point connues; mais elles sont assujetties à des lois simples et constantes, que l'on peut découvrir par l'observation, et dont l'étude est l'objet de la philosophie naturelle. - -La chale ur pénètre, comme la gravité, toutes les substances de l'univers, ses rayons occupent toutes les parties de l'espace. Le but de notre ouvrage est d'exposer les lois mathématiques que suit cet élément. Cette théorie formera désormais une des branches les plus importantes de la physique générale~\cite{fourier1822}. +\selectlanguage{german} +\section{Der Wärmeaustausch zwischen festen Körpern und Flüssigkeiten mit kleiner reibung und kleiner Wärmeleitung (von E. Pohlhausen)\label{app:pohlhausen}} +In einer strömenden Flussigkeit sind Wärmeleitung und Wärmekonvektion Vorgänge, die mit der inneren Reibung (oder Impulsleitung) und mit der Impulskonvektion große Aehnlichkeit besitzen. Mathematisch findet dies seinen Ausdruck in dem gleichartigen Bau der Differentialgleichungen, die einerseits für die Temperatur und anderseits für den Geschwindigkeitsvektor in der Flüssigkeit bestehen. Man kann daraus auf eine Beziehung +zwischen dem Wärmeaustanch und dem Reibungswiderstand schließen, die eine strömende Flüssigkeit an einem festen Körper hervorrufen. Dies ist zuerst von Prandtl ausgesprochen und durchgeführt worden, und zwar für turbulente Vorgänge, unter der vereinfachenden Annahme von Wärmequellen und -senken im Innern der Flüssigkeit~\cite{pohlhausen1921}. \selectlanguage{english} -% When you drop the [french] option, delete your .aux file as well, since [french] sets ":" as an active character. - - %%%%%%%%%%%%% BIBLIOGRAPHY %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \nocite{*} %% <=== Delete this line - unless you wish to typeset the entire contents of your .bib file. diff --git a/Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmejour-wide-equation-examples.pdf b/Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmejour-wide-equation-examples.pdf Binary files differindex 5b93ad2cf97..c3b0bc535e1 100644 --- a/Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmejour-wide-equation-examples.pdf +++ b/Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmejour-wide-equation-examples.pdf diff --git a/Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmejour-wide-equation-examples.tex b/Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmejour-wide-equation-examples.tex index 69b98af0b29..5a506330aa4 100644 --- a/Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmejour-wide-equation-examples.tex +++ b/Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmejour-wide-equation-examples.tex @@ -1,6 +1,6 @@ %% Examples of a widetext macro for setting wide equations in the asmejour class. %% -%% Copyright (c) 2022 John H. Lienhard. Use under the MIT license: https://ctan.org/license/mit +%% Copyright (c) 2024 John H. Lienhard. Use under the MIT license: https://ctan.org/license/mit %% %% %% USAGE: * \begin{widetext} ...wide material here... \end{widetext} @@ -15,8 +15,8 @@ \documentclass[nocopyright,nolists,pdf-a]{asmejour} %% This file's version and date are: - \def\AJwidetextversion{1.01} - \def\AJverdate{October 22, 2023} + \def\AJwidetextversion{1.02} + \def\AJverdate{July 24, 2024} % \usepackage{asmewide} \usepackage{lipsum}% Latin filler text (lipsum generates a message about 'unused global options' - this can be ignored) @@ -81,6 +81,8 @@ address = {New York}, %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} +\PreprintString{PREPRINT} + \SetAuthorBlock{John H.\ Lienhard V}{% Fellow of ASME \\ Rohsenow Kendall Heat Transfer Laboratory, \\ |