Debian Codegraph @

texmf-dist/doc/latex/asmejour/README.md

raw symbols SCIP
1
2 #asmejour: A template for ASME journal papers#
3
4 Version 1.27 dated 2025/11/30.
5
6 ####Overview####
7 This class provides a template to format preprints in the style of journal papers published by the American Society of Mechanical Engineers.
8 The layout and reference formats follow the style of published papers in 2025.
9
10 This work is not a publication of ASME.
11
12 Files in this distribution are:
13
14 ``` README.md -- this file
15 asmejour.cls -- the class file
16 asmejour.bst -- bibtex style for ASME journal references
17 asmejour-template.tex -- a latex template/example for this class
18 asmejour-template.pdf -- documentation/sample paper
19 asmejour-sample.bib -- a sample bibliography file
20 asmejour-style.css -- css file for better rendering of tagged PDF
21 *
22 sample-figure-1.pdf,
23 sample-figure-2a.pdf,
24 sample-figure-2b.pdf -- figures for the example template
25 /asmewide_example -- directory includes asmewide.sty and examples of wide equations```
26
27 The .tex and .cls files are commented and should be self-explanatory.
28
29
30 This template was designed to approach the following aims:
31
32 - closely approximate ASME's fonts and layout, including author/title/abstract design
33
34 - match ASME's current reference formats, including hyperlinked DOI and URL (replaces asmems4.bst)
35
36 - support hyperlinks to figures, tables, equations, references, and external URLs
37
38 - support pdf bookmarks and metadata
39
40 - provide line numbers for editing and review
41
42 - support balancing of columns on last page
43
44 - support PDF/A (accessible and archival) standards if desired
45
46 - support copyright notices for federal employees and contractors
47
48 - support bold-face math and citations in section headings and captions
49
50 - enable various math and text features with newtxmath, newtxtext, and inconsolata packages
51
52 - enable passages in other languages, e.g., for a translation of the abstract or a quotation
53
54
55 ####Author####
56
57 John H. Lienhard V
58
59 Department of Mechanical Engineering
60
61 Massachusetts Institute of Technology
62
63 Cambridge, MA 02139-4307 USA
64
65
66 ---
67
68 ####Change log####
69 v1.27 (2025/11/30)
70 - Revisions to achieve full compliance with well-tagged pdf under 2025/11/01 \LaTeX format. (For the 2025/06/01 \LaTeX format, omit \\emph from \\caption and use the option \[nolists\])
71 - Require \LuaLaTeX when tagging is active (throw error with \pdfTeX)
72 - Warn if \LaTeX format is older than 2022/06/01
73 - Fix format bugs: “Fig.”, not “Figure”; include “.” at end of paragraph titles; set keywords in italics.
74 - Restore pdf bookmarks for unnumbered sections (lost in v1.22)
75 - Extensive changes to code for captions and subcaptions
76 - Implement the socket {build/column/outputbox} for footnote placement
77 - Eliminate subcaption and hologo packages. Load caption and footmisc packages only for older \LaTeX formats.
78 - Add a css style file for better html rendering
79 - Get \\mathbf from symbol font, not text font, under unicode-math
80 - Add Strong tag for author names and \\EntryHeading
81 - Revise patch for hanging indents in appendix section titles
82 - Tag table header rows in .tex file
83 - Change \\textit to \\emph in .bst, .cls, and .txt for HTML rendering in conversion of tagged pdf
84 - Use latex hooks mechanism instead of \\AtBegin..., \\AtEnd..., and several \\patchcmd
85 - Add patch for \\doteq in LeteSansMath-Bold; add footnote about matching math and text digits.
86 - Increase \\@itempenalty to 10000 in \\EntryHeading
87 - Review and edit expl3 code
88 - Set babel to default to US English for recent versions of babel
89 - Minor edits to asmewide example
90 - Revise documentation
91
92 v1.26 (2025/04/18)
93 - Disable loading of exscale package by extarticle.cls (was causing spurious formula tag in section headings)
94 - Correct order of setting the lsmgreek and fsmgreek symbol fonts
95 - Move \\allowdisplaybreaks out of .cls and into .tex file, to allow user to control
96 - Drop unnecessary bookmark "Appendices"
97 - Add additional code/text around dropped option \[mathalfa=ccc=ddd\]
98 - Replace Figure 1 with a new pdf to end A-3u validation problem in pdfTeX
99 - Other minor changes in code and documentation
100
101 v1.25 (2025/04/07)
102 - Add support for unicode-math, using fonts from TeX Live. \LuaLaTeX now loads unicode-math by default.
103 - Drop these packages: titlesec, enumitem, ifthen, iftex, totcount, hyperxmp, inputenc, bookmark, glyphtounicode
104 - Move hologo package loading from .cls file to .tex file
105 - Drop \[mathalfa\] class option. User can instead load mathalpha in the preamble when using pdfTeX
106 - Drop legacy PDF/A options \[pdf-a, pdfaconformance, pdfapart\]. Use \\DocumentMetadata instead
107 - Select larger small caps from newtxtext by default, drop \[largesc\] option
108 - Switch to LaTeX's native keyvalue mechanism; load kvoptions package only for backward compatibility
109 - Change vertical skip adjustment on multline environment from 7pt to 10pt (= \\jot in this class)
110 - Reduce use of etoolbox in favor of LaTeX's hook mechanisms; this limits asmejour to LaTeX formats dated 2020/10 or later
111 - Fixed operator encoding for sans and sansbold math versions (to OT1)
112 - Add pages and chapter to @book{.. entry in asmejour.bst; use pages= rather than eid= in sample .bib
113 - Reduce space between items in lists
114 - This version is backward compatible to the 2020/10 \LaTeX format. Older formats will not compile this version.
115 - Convert sample images to PDF/A-3u
116 - Convert remaining title block code to expl3
117 - Add error message for unused \\author command
118 - Construct \\@author token list for consistency with standard classes
119 - Revise documentation
120 - v1.25 is PDF/UA-2 compliant if: \[captionpatch\] option is used; subcaptions are not used; figures are compliant; and \[nolists\] option is called or \\ref\* is used in optional argument of captions. Validation: Arlington model and demo.vera.org.
121
122 v1.24 (2025/01/26)
123 - Drop metalogo package
124 - Add optional line numbers to author and title text
125 - Rescale roman, helvetica, and typewriter fontdimens under fontspec to match pdftex
126 - Define \\@title
127 - Replace xcoffin package by expl3 coffins, and resolve related tagging problem
128 - Edits to asmewide.sty: set \\@RuleWidth at end of \\maketitle; add \\ignorespacesafterend
129 - Minor code clean-up
130
131 v1.23 (2024/07/24)
132 - Add class option for single-column formatting, \[singlecolumn\], as sometimes requested for review (thanks Lennart Hultgren)
133 - Change language sample from French to German, to avoid active characters (from Fourier to Pohlhausen)
134 - Reduce size of line number font
135 - Adjust code for \\appendix to better accommodate tagged pdf
136 - Correct bug in babel main language selection
137 - Miscellaneous code clean up and simplification
138
139 v1.22 (2024/02/06)
140 - The newtx package has dropped superiors option, so asmejour has dropped the \[superiors\] option and related code.
141 - Dropped legacy options \[lang, lang-second, lang-third\]
142 - Remove several other blocks of legacy code
143 - Refresh sample figures
144 - Edits to asmejour.bst: fix punctuation and spacing in journal title macros
145 - Edit asmejour-sample.bib
146
147 v1.21 (2023/10/22)
148 - Adjust loading order of hyperxmp and hyperref to accommodate v5.12 of hyperxmp package
149 - Change code that italicizes letters in subequation numbers to avoid conflict with hyperref
150 - Adjust font loading under luaLaTeX, now requiring that TeX Gyre Termes, TeX Gyre Heros, and Inconsolatazi4 are available
151 - Enable line numbers in abstract
152 - Revise code handling footnotes (now protected); revise code handling most package options; remove some legacy code.
153 - Minor correction to asmejour.bst for \\hrefurl when used separately from asmejour.cls
154 - Edit documentation
155
156 v1.20 (2022/12/30)
157 - Include patch for bug in hyperxmp.
158 - Italicize letters in subequation numbers, to match ASME style.
159 - Add macro "jhmt" to asmejour.bst for "ASME J Heat Mass Transfer"; add figures from jhmt and cite in asmejour-template.tex.
160
161 v1.19 (2022/06/26)
162 - Correct typo in asmejour.cls (line 359): \\protec should be \\protect
163 - Force T1 encoding of qhvc font under LuaLaTeX (for title and author blocks)
164 - Update code for Inconsolata and Helvetica fonts under LuaLaTeX to ensure T1 encoding. Adjust scale factors.
165 - Scale Helvetica font to 0.91, to better match roman font.
166 - Add option to asmewide.sty to suppress final page column balancing, [raggedend], expand error message text.
167
168 v1.18 (2022/01/10)
169 - Introduce asmewide.sty, an experimental package for setting page-width equations in a two column format. A document with examples of use is included.
170
171 v1.17 (2021/12/26):
172 - Add code to warn about obsolete LaTeX installations. TeX Live 2020 or later is recommended for the asmejour package.
173
174 v1.16 (2021/12/23):
175 - suppress warnings about unused options when calling mathalfa and/or barcolor
176 - eliminate use of \\entry{} with a single argument to produce subheadings in nomenclature; use \\EntryHeading{} instead. (**not backward compatible**)
177 - incorporate pending changes to LaTeX pdf management in relation to pdf-a color profile loading and recently deprecated \\pdfcatalog command
178 - load xparse only for older kernels
179 - edit documentation; mention \\mathversion sans and sansbold
180 - add upright, sans serif Greek letters for math
181 - minor edits to class file code; correct calls for pdfminorversion; edit warnings
182 - minor edits to asmejour.bst in relation to hyperlinks, \\href, \\hrefurl; update jht macro to latest style
183
184 v1.15 (2021/02/01):
185 - fix issue with math accents in mathversion sansbold (for captions)
186 - add optional copyright notices for government employees and contractors
187 - add \\EntryHeading command for nomenclature
188 - provide additional options for typewriter font
189 - simplify language options for babel
190 - make subfigure example consistent with ASME's labeling
191 - make abstract environment tolerant of blank lines
192 - edit sample bib file; include example of @manual
193 - update some usage of xparse; internal changes to \\PaperYear, \\CorrespondingAuthor and \\keywords commands.
194 - edit code for keys and options; correct largesc option; slightly increase interword shrink; remove legacy code;
195 - substantially edit documentation
196
197 v1.14 (2020/08/12): Set pdf page layout to a single page, rather than a two-page spread.
198
199 v1.13 (2020/08/10): Add support for PDF/A archival standards (1b, 2b, 2u, 3b, 3u), as the newtx fonts have recently gained complete unicode maps; also, restore varl and varqu as default options of the inconsolata font.
200
201 v1.12 (2020/04/12): Change subfigure \\ref labels to have parentheses around italic letters; remove space between consecutive numerical citations; add macro to adjust vertical space below abstract; edit documentation; remove varl and varqu options of inconsolata font; extensively edit/document asmejour-sample.bib file.
202
203 Many changes to asmejour.bst (v1.03) to improve consistency with ASME reference formats for collections, technical reports, and conference papers, to better manage hyperlinks, and to warn for missing fields. These includes: move venue, eventdate, and paper number to end of @inproceedings; move paper number after address of @techreport; hyperlink technical report numbers and conference numbers, and provide fallback for missing numbers; separate serial collection parenthetical layout from @incollection into new @inserialcollection; add default name for @inproceedings paper number, "Paper No.", changed by type ={} (this alternation is not backward compatible!); add oclc macro for archive field; complete the set of macros for ASME journal names.
204
205 v1.11: ensure T1 font encoding, utf-8 input, and LuaLaTeX compatibility; edit documentation.
206
207 v1.10: update asmejour.bst to most recent Crossref standard prefix for doi (https://doi.org/); remove xpatch package from class file; disable \\( and \\) in pdf bookmarks to avoid warnings; adjust \\eqref in bookmarks; edit documentation.
208
209 v1.09: adjust nomenclature list; edit language support
210
211 v1.08: adjust penalties in nomenclature list; fix minor typos in template
212
213 v1.07: add commands for \\toprule, \\midrule, and \\bottomrule in ASME style; add advice on landscape material; minor edits to \\entry and for language support.
214
215 v1.06: allow standard \\date, \\maketitle, and \\title commands and abstract environment; make final column balancing a package option; remove \\normalfont from AMS equation tags to allow tags to match caption font; incorporate \\subfigure in example template; allow line numbers in AMS display math; provide comma between sequential footnote marks; adjust babel options; other minor edits; revise template text.
216
217 v1.05: automate list of figures/tables with option to omit; replace balance package with flushend package and automate; revise skips in nomenclature; address conflicts of lineno package with other elements; option to hyphenate typewriter font; new options for footer text; adjust \\emergencystretch and \\tolerance; additional documentation and references
218
219 v1.04: edit documentation; add language support via babel
220
221 v1.03: expand documentation; fix conflict between lineno and balance packages; more footer options; edit \\entry
222
223 v1.02: adjust formats of 2nd and 3rd level headings; add option for line numbers; eqn tags in blue
224
225 v1.01: edit documentation, remove development code
226
227 v1.00: initial release
228
229 ---
230
231 ####License####
232
233 Copyright (c) 2025 John H. Lienhard
234
235 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
236 associated documentation files (the "Software"), to deal in the Software without restriction,
237 including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
238 and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
239 subject to the following two conditions:
240
241 The above copyright notice and this permission notice shall be included in all copies or
242 substantial portions of the Software.
243
244 The software is provided "as is", without warranty of any kind, express or implied, including but
245 not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement.
246 In no event shall the authors or copyright holders be liable for any claim, damages or other liability,
247 whether in an action of contract, tort or otherwise, arising from, out of or in connection with the
248 software or the use or other dealings in the software.