Debian Codegraph @

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

raw
1
2 #asmeconf: A latex template for ASME conference papers#
3
4 Version 1.46 dated 2026/01/10.
5
6 ####Overview####
7 This class provides a LaTeX template for ASME Conference papers formatted according to
8 the requirements on ASME's web pages (as posted in 2026):
9
10 [www.asme.org/publications-submissions/proceedings/formatting-the-paper](https://www.asme.org/publications-submissions/proceedings/formatting-the-paper)
11
12 A up-to-date BibTeX style for reference and citation formatting is also included.
13
14 The asmeconf class is designed to approach the following aims:
15
16 - match ASME's font current specifications and layout
17
18 - match ASME's current reference formats, and add support for DOI and URL fields (asmeconf.bst replaces asmems4.bst)
19
20 - support hyperlinks to figures, tables, equations, references, and external URLs
21
22 - support pdf bookmarks and metadata
23
24 - set author names and addresses in either the traditional grid layout or the more recent inline style
25
26 - provide line numbers for editing and review
27
28 - support balancing of columns on last page
29
30 - support PDF/A standards (archival and accessible pdf formats)
31
32 - support copyright footer for federal employees and contractors
33
34 - enable various math and text font features
35
36 - support bold face, sans serif math in section headings
37
38 - support footnotes in section headings
39
40 - enable passages in other languages, e.g., for a translation of the abstract or a quotation
41
42 - support for many scripts: Latin, Arabic, Bengali, Chinese, Cyrillic, Devanagari, Greek, Hangul, Japanese, Tamil
43
44 The .tex and .cls files are commented and should be self-explanatory.
45
46 The files in this distribution are:
47
48 README.md -- this file
49 asmeconf.cls -- the class file
50 asmeconf.bst -- bibtex style for current ASME conference format
51 asmeconf-sample.bib -- a sample bibliography file
52 asmeconf-style.css -- css file for better rendering of tagged PDF
53 asmeconf-template.tex -- a latex template/example for this class
54 asmeconf-template.pdf -- documentation/sample paper
55 *
56 sample-figure-1.pdf,
57 sample-figure-2a.pdf,
58 sample-figure-2b.pdf -- figures for the sample paper
59 *
60 examples/ -- a directory of examples:
61 -- nonlinear ode integration within LaTeX using Lua code
62 -- tagged PDF/A-UA2 file that renders well as html
63 -- grid-style layout of author names/addresses
64 -- footers for government employees
65 -- asmewide.sty and an example of use, for two-column equations
66 -- fontspec and scripts for abstracts in 25 languages
67
68 This work is not a publication of ASME itself.
69
70 ####Author####
71
72 John H. Lienhard V
73
74 Department of Mechanical Engineering
75
76 Massachusetts Institute of Technology
77
78 Cambridge, MA 02139-4307 USA
79
80
81 ---
82
83 ####Change log####
84 v1.46 (2026/01/10)
85 - For formats later than 2025/06/01, use native footnote support; fnpos and footmisc packages used for backward compatibility only
86 - Rescale LeteSans and LeteSansBold math fonts to better match Heros text font
87 - Various edits to css file to improve layout and to provide better cross-browser support
88 - Uppercase "APPENDIX" and remove hanging indent from appendix titles when tagging is active (both had been lost in a previous edit)
89 - Return pdf bookmarks to unnumbered sections (also lost in a previous edit)
90 - Edit code related to captions to better capture various combinations of PDF/A, tagging, and LaTeX format date
91 - Add: role/new-tag = { Paper\_number/Div }
92 - Edit documentation
93
94 v1.45 (2025/11/10)
95 - Declare role/user-NS = asmeconf and change tag-add-new to role/new-tag.
96 - Drop redundant Div.
97
98 v1.44 (2025/11/08)
99 - Class can now produce tagged PDF that validates as UA-2, A-4F, and WTPDF-1 using lualatex and no subcaptions
100 - Added example of UA-2 compliant PDF with attached css to the examples directory
101 - Made various changes to support accessible pdf (UA-2):
102 - included a css style file for better html rendering
103 - replaced \\textit by \\emph in .bst for semantic emphasis and html rendering
104 - in documentation, replaced \\textit by \\emph for semantic emphasis and html rendering
105 - unicode-math now loads bold math from the symbol font (\\mathbf=sym) for better html rendering
106 - Fixed bug that caused hyperlinks in author affiliation numbers
107 - Changed keywords format so that only “Keywords:” is in boldface sans-serif type
108 - Fixed several malformed or undefined expl3 variables
109 - Babel main language now defaults to USEnglish to match en-US in \\DocumentMetadata
110 - Removed a spurious space in \\RequirePackage\[\\ac@TtwoA,\\ac@Tfive,\\ac@LGR,T1\]{fontenc}
111 - Dropped default use of \[spanish\] option to avoid emergent interaction with \\@lbibitem
112 - Edited implementation of caption fonts to accommodate 2025/11/01 \LaTeX release
113 - Revised documentation
114 - Regenerated example files
115
116 v1.43 (2025/04/21)
117 - Change loading order for sf greek glyphs
118 - Other minor changes
119
120 v1.42 (2025/04/17)
121 - Rework the \[nofontspec\] class option, including font scaling and internal switches
122 - Add \[loadscripts\] option for non-Latin scripts under \LuaLaTeX, to speed compilation. Simplify other font loading and add user-level \\if switches
123 - Drop +ss03 (straight quote marks) for Inconsolatazi4 (typewriter font)
124 - Fix bug in main language setting
125 - Change fallback and documentation around former class option \[mathalfa=ccc=ddd\]
126 - Edit class documentation and fontspec example file
127 - Review and adjust backward compatibility; fix noncasechange in \\section
128 - Miscellaneous code clean-up, including sectionnumberdepth in @startsec, encoding of operator font in sans and sansbold, set \\newif, etc.
129 - PFD/UA-2 compliance (well-tagged PDF) is same as for v1.41
130
131 v1.41 (2025/03/27)
132 - \LuaLaTeX now loads unicode-math by default unless the class option \[nofontspec\] is used.
133 - PDFA/UA-2 compliance is now possible using \LuaLaTeX by: omitting subcaptions and most language options, using compliant figures, omitting cross-references from captions, and loading the option \[captionpatch\], while using an appropriate invocation of \\DocumentMetadata.
134 - Unicode-math will load Termes, Heros, Inconsolata, and Lete Sans Math fonts, with a few symbols drawn from STIX 2 fonts. Fira Math loads as a fallback to Lete Sans Math. These fonts are in TeX Live.
135 - Eliminated legacy options \[pdfa, pdfaopt, pdfaconformance\]. PDF/A compliance is enabled by \\DocumentMetadata{..}
136 - Eliminated \[mathalfa\] option. Instead, load mathalpha package in preamble or use unicode-math with range option.
137 - Eliminated \[largesc\] option (now selected by default for pdftex).
138 - Revised code for conference headers; added class option \[nohead\] to drop headers if desired.
139 - Switch to \LaTeX's native key value mechanism, with the kvoptions package as a fallback.
140 - Eliminated these packages: iftex, ifthen, hyphensubst. Eliminate these fallback packages: inputenc, hyperxmp, bookmark.
141 - Load hologo package in the .tex file rather than the .cls file.
142 - Fixed hanging indent of appendix section headings when tagging is active.
143 - Fixed spurious vertical space after full line in abstract\* under lualatex.
144 - Addressed color-related conflicts between luatexja and other fonts (removed \\Noto@color )
145 - Rescaled Inconsolata font from 1.05 to 1.03 to better math lower case roman text
146 - Ensured that english-language font is used for footer text under \LuaLaTeX when including other scripts.
147 - Replaced \\int\_if\_zero:nTF by \\int\_compare:nTF for backward compatibility, and addressed related Expl3 compatibility issues.
148 - Converted various code sections to Expl3 from \LaTeX2e, and removed legacy code here and there.
149 - Removed legacy commands \\MakeTitlePage and \\PaperTitle (use \\maketitle and \\title)
150 - Documented nomenclature options.
151 - Fixed description list in Appendix B.
152 - Made sample figures PDF/A-3u compliant.
153 - Updated sample .bib file.
154 - Update example files.
155
156 v1.40 (2025/01/29)
157 - Drop titlesec package to avoid degrading tag structure
158 - Rework tagging of coffins in author/affiliation block
159 - Fix minor bug that transferred spaces following \\affil and \\CorrespondingAuthor into superscripts
160
161 v1.39 (2025/01/26)
162 - Recode title and author blocks into expl3, adjust code to support tagged pdf
163 - Revise other expl3 command and variable naming
164 - Drop metalogo and xcoffins packages; use expl3 coffins directly.
165 - Edit .bib and .tex files to replace \\LuaLaTeX by \\hologo{LuaLaTeX}
166 - Move optional loading of \[textcase\] and \[inputenc\] to compatibility section
167 - Edits to asmewide.sty: set \\@RuleWidth at end of \\maketitle; add \\ignorespacesafterend
168 - Add an experimental and undocumented option \[captionpatch\] for tagging the caption package. With this option and pdftex, asmeconf can validate as PDF 2.0/a-4f provided that the \[spanish\] option is omitted. (UA-2 validation is not possible at present.)
169
170 v1.38 (2024/08/01)
171 - Add dcolumn type ",{x.y}" to center numbers on a comma separator
172 - Change appendix section titles block format, rather than hanging indentation
173 - Replace sample French appendix by a German appendix
174 - Fix bug in \[main=\] option (for babel)
175 - Define commands \\@title and \\@author
176 - Code clean-up (compatibility code, bookmark package loading, twocolumn loading,...)
177 - Various code changes to better support future tagged pdf
178 - Update documentation for using fontspec with asmeconf
179 - Rescale Termes, Helvetica, and Inconsolata fontdimens under LuaLaTeX to match pdfTeX
180 - Add logic to asme-template.tex to test for presence of non-latin fonts under LuaLaTeX
181 - Change code for Japanese fonts to by-pass bug in luatexja-fontspec
182 - Correct typo in babel font loading for traditional Chinese
183 - Remove calls for Harfbuzz renderer since fontspec handles this internally
184
185 v1.37 (2024/02/06)
186 - Under LuaLaTeX, fontspec is now loaded by default. The option \[nofontspec\] will prevent this.
187 - Eliminate the following long-deprecated options: \[oldauthor, lang, lang-second, lang-third\]
188 - newtxtext has removed the superiors font options (Jan 2024). As a result, the option \[nodefaultsups\] has been removed from asmeconf, along with supporting code
189 - Streamline code for option handling and compatibility testing; other code clean-up
190 - Switch code handling successive footnotes to expl3, adjust intersecting code
191 - Small code changes to accommodate future tagged pdf
192 - Refresh sample figures, edit sample bib file
193 - Edits to asmeconf.bst: fix punctuation and spacing in journal title macros
194
195 v1.36 (2023/12/28)
196 - Change option-passing to xcolor package to address recent changes that package's code which lead to an error message.
197
198 v1.35 (2023/10/19)
199 - Adjust pdf-a code to accommodate recent changes to hyperxmp package. NOTE: \\DocumentMetadata{ ..} is now preferred to using class option [pdf-a].
200 - Add option to not use boldface text in captions: \[unboldcaption\]
201 - Add mathversion sans for sans-serif math and set as default in unbolded captions
202
203 v1.34 (2022/12/30)
204 - Roll back advanced metadata feature for compatibility with pre-2022 installations
205
206 v1.33 (2022/12/30)
207 - Update headers to 2023 IMECE
208 - Add macro "jhmt" to asmeconf.bst for "ASME J. Heat Mass Transfer"; add sample citation and figures from jhmt.
209
210 v1.32 (2022/09/14)
211 - Incorporate patch to correct bug in hyperxmp that had impaired pdf/a compliance.
212 - Add code to asmeconf.bst for empty page field in @article.
213
214 v1.31 (2022/07/04)
215 - Minor updates to address changes in the June 2022 release of LaTeX (PL 4) and the textcase package.
216 - Add option to asmewide.sty to suppress final page column balancing, \[raggedend\], expand error message text.
217
218 v1.30 (2022/03/14)
219 - Edit code loading fonts for Greek, Vietnamese, and cyrillic languages under pdflatex, to ensure compatibility with newtx v1.71. These options now require LaTeX distributions 2020/02/02 or later.
220 - Edit font loading for the case when luaLaTeX is called without fontspec.
221
222 v1.29 (2022/03/10)
223 - Include current date and venue for 2022 IMECE (subject to change)
224 - Edit example .tex file for asmewide.sty to remove description of unreleased development code
225 - Fix bug in nofoot option that stopped capitalization of captions
226 - Adjust scale factors on typewriter (raise to 1.05) and sans serif fonts (lower to 0.91)
227
228 v1.28 (2022/02/14)
229 - Introduce asmewide.sty, an experimental package for setting page-width equations in a two column format. A document with examples of use is included.
230 - Increase scale of sans serif font under fontspec from 0.9 to 0.94, to better match newtxtext under pdflatex
231
232 v1.27 (2021/12/26):
233 - fix bug in captions that appeared in Jan. 2021 (code not uppercasing caption text)
234 - revise code to switch to grid-style author block through a single package option, \[grid\]; previous macros for grid-style remain active.
235 - various code modifications to enable older LaTeX distributions to run this class. With pdfLaTeX, TeX Live 2016 or later should be used; with LuaLaTeX, TeX Live 2021 or later should be used.
236 - eliminate use of \\entry{} with a single argument to produce subheadings in nomenclature; use \\EntryHeading{} instead. (**not backward compatible**)
237 - incorporate recent changes to LaTeX pdf management in relation to pdf-a color profile loading and recently deprecated \\pdfcatalog command
238 - minor edits in relation to url links
239 - minor edits to asmeconf.bst
240 - allow omission of affiliation superscript for single author or single institution
241 - other minor code clean up
242
243 v1.26 (2021/02/20):
244 - edit title and metadata
245 - put real author's name ahead of placeholder names
246
247 v1.25 (2021/02/20):
248 - edit descriptions
249 - change \\mathsf in sansbold to be upright
250 - move fontenc call under pdflatex options
251
252 v1.24 (2021/01/26):
253 - fix issue with math accents in headings & captions (Thanks to Beomjun Kye for reporting the problem)
254 - adjust code for sans-serif upright Greek letters
255
256 v1.23 (2021/01/18):
257 - Several minor edits and corrections
258
259 v1.22 (2021/01/14):
260 - New command \\EntryHeading to produce subheadings in the nomenclature list;
261 - New syntax for \\CorrespondingAuthor command with the authorgrid option (**not backward compatible**)
262 - Add version field to the .bst file for publications online, manuals, and books;
263 - Revise sample .bib file;
264 - Enable language-specific fonts under pdflatex for Greek, Vietnamese, and cyrillic languages, with examples of abstracts in these languages;
265 - Enable fontspec support for many scripts and languages under LuaLaTeX, including also Arabic, Bengali, Chinese, Japanese, Korean, and Tamil;
266 - Provide example files for: authorgrid layout; integration of nonlinear ODE by LuaLaTeX; abstracts in 25 languages with fontspec+LuaLaTeX;
267 - Extensively revise code that handles class options and keys, also add additional warning and error messages;
268 - Create github issue tracker;
269 - Fix several minor bugs;
270 - Edit documentation.
271
272 v1.21 (2020/12/10): Edit documentation; update some usage of xparse under the hood; confirm compliance with substitutefont package.
273
274 v1.20 (2020/11/08): Add options to change copyright notice for federal employees and contractors; rename option "oldauthors" as "authorgrid"; other minor edits. Thanks to Bret Van Poppel for suggesting the federal copyright.
275
276 v1.19 (2020/08/12): Add support for PDF/A archival standards (1b, 2b, 2u, 3b, 3u), as the newtx fonts have recently gained complete unicode maps; set pdf to load with single-page display rather than 2-page spread; add example of grid-style author block.
277
278 v1.18 (2020/04/14): edit and expand documentation; revise sample .bib file; extensive edits to asmeconf.bst, to better support hyperlinks, to correct eid error, and for better conformance to ASME style (details listed in .bst file); add foreign language example.
279
280 v1.17: set T1 font encoding with utf-8 input, ensure LuaLaTeX compatibility; load hologo and metalogo packages; edit documentation.
281
282 v1.16: remove xpatch and comment packages from class file; disable \\( and \\) in pdf bookmarks to avoid warnings; edit documentation.
283
284 v1.15: correct extra space left by \\CorrespondingAuthor when that author is not last; correct breakage of \\ref in captions. Thanks to Bret Van Poppel for reporting these issues.
285
286 v1.14: edit documentation; use 2020 IMECE header in layout example
287
288 v1.13: add babel options for language support; minor text edits; adjust nomenclature list penalties
289
290 v1.12: add support for line numbers for editing; add support for final column balancing; edit skips in nomenclature; adjust \\tolerance and \\emergencystretch (for line breaking); improve support for equation tags in captions; adopt standard \\maketitle and \\title commands; include \\versionfootnote for tracking revisions of draft.
291
292 v1.11: minor adjustments to title, author, and affiliation layout
293
294 v1.1: revise several parts of the layout to match ASME's updated specifications from Summer 2019 (including author block, abstract font, placement of nomenclature, and minor spacings); add .bst support for online references and eprints; expand documentation significantly; guidance on fitting equations into columns.
295
296 v1.07: improve support for numbered section headings; allow omission of corresponding author email; edit documentation
297
298 v1.06: automate bold sans math in captions and headings; small adjustments to default spacings; adjust font of paper number to 18 pt; edit documentation
299
300 v1.05: minor code clean-up; change to keyvalue for to control font for superiors
301
302 v1.04: fix option passing for mathalfa package; adjust \\entry to create nomenclature subheadings efficiently.
303
304
305 ---
306
307 ####License####
308
309 Copyright (c) 2025 John H. Lienhard
310
311 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
312 associated documentation files (the "Software"), to deal in the Software without restriction,
313 including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
314 and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
315 subject to the following two conditions:
316
317 The above copyright notice and this permission notice shall be included in all copies or
318 substantial portions of the Software.
319
320 The software is provided "as is", without warranty of any kind, express or implied, including but
321 not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement.
322 In no event shall the authors or copyright holders be liable for any claim, damages or other liability,
323 whether in an action of contract, tort or otherwise, arising from, out of or in connection with the
324 software or the use or other dealings in the software.