diff options
author | Norbert Preining <norbert@preining.info> | 2020-08-13 03:02:18 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-08-13 03:02:18 +0000 |
commit | 1163ada9c470777f1cd48cfc16ffa9c26758827e (patch) | |
tree | 14711035f159182ac7523e28129a86075c24a220 /macros/latex/contrib | |
parent | e0812858de2e5d85ce63d194b8e02f2fd69a86fc (diff) |
CTAN sync 202008130302
Diffstat (limited to 'macros/latex/contrib')
23 files changed, 232 insertions, 74 deletions
diff --git a/macros/latex/contrib/aomart/README b/macros/latex/contrib/aomart/README index 9ceea25659..31738d4abe 100644 --- a/macros/latex/contrib/aomart/README +++ b/macros/latex/contrib/aomart/README @@ -1,12 +1,21 @@ LaTeX Class for The Annals of Mathematics Boris Veytsman - Version 1.21 + Version 1.24 This package provides the class for typesetting articles for The Annals of Mathematics, http://annals.princeton.edu/. Changes: + Version 1.24 + Optionally print MSC designation + + Version 1.23 + Large ymath symbols are now default + + Version 1.22 + Changed margins for screen mode + Version 1.21 Better support of internationalization diff --git a/macros/latex/contrib/aomart/aomart.dtx b/macros/latex/contrib/aomart/aomart.dtx index 29d2c8e44d..3bfbf3390a 100644 --- a/macros/latex/contrib/aomart/aomart.dtx +++ b/macros/latex/contrib/aomart/aomart.dtx @@ -1,7 +1,7 @@ % \iffalse -% $Id: aomart.dtx,v 1.74 2017/12/14 04:17:05 boris Exp $ +% $Id: aomart.dtx,v 1.77 2020/08/09 22:26:46 boris Exp $ % -% Copyright 2010-2017, Princeton University (Mathematics Department) +% Copyright 2010-2020, Princeton University (Mathematics Department) % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either % version 1.3 of this license or (at your option) any @@ -23,7 +23,7 @@ % public domain. % % \fi -% \CheckSum{1474} +% \CheckSum{1532} % % %% \CharacterTable @@ -66,7 +66,7 @@ % \GetFileInfo{aomart.dtx} % \newcommand{\progname}[1]{\textsf{#1}} % \title{\LaTeX{} Class for The \emph{Annals of -% Mathematics}\thanks{\copyright 2010, Princeton University +% Mathematics}\thanks{\copyright 2010--2020, Princeton University % (Mathematics Department)}} % \author{Boris Veytsman\thanks{% % \href{mailto:borisv@lk.net}{\texttt{borisv@lk.net}}, @@ -260,6 +260,9 @@ % \progname{amsart}). % % +% \DescribeOption{printscheme}% +% Normally the scheme for MSC numbers is not printed. If the option +% |printscheme| is chosen, however, it is printed explicitly. % % %\subsection{Top Matter} @@ -412,9 +415,8 @@ % \subject{primary}{msc2000}{20E45} % \subject{secondary}{msc2000}{20F65} % \end{verbatim} -% % -% \DescribeMacro{\formatdate} +% \DescribeMacro{\formatdate}% % The macro |\formatdate| is used to format the dates in the % commands. Its argument is the date in the format |YYYY-MM-DD|, for % example @@ -779,7 +781,7 @@ \ProvidesFile{aomart.dtx} %</gobble> %<class>\ProvidesClass{aomart} -[2017/12/13 v1.21 Typesetting articles for the Annals of Mathematics] +[2020/08/09 v1.24 Typesetting articles for the Annals of Mathematics] % \end{macrocode} % % @@ -878,7 +880,15 @@ % % \end{macro} % -% +% \begin{macro}{\if@aom@printscheme} +% \changes{v1.24}{2020/08/09}{Added optional printing of scheme} +% \begin{macrocode} +\newif\if@aom@printscheme +\@aom@printschemefalse +\DeclareOption{printscheme}{\@aom@printschemetrue} +% \end{macrocode} +% +% \end{macro} % % All other options are passed to \progname{amsart}: % \begin{macrocode} @@ -912,13 +922,15 @@ % \changes{v0.5}{2010/10/24}{Made Roman font the default URL font} % \changes{v0.10}{2010/12/20}{Screen mode triggers special URL % settings} -% \changes{v1.1}{2010/12/31}{In manuscript mode the links are always blue} +% \changes{v1.1}{2010/12/31}{In manuscript mode the links are always +% blue} +% \changes{v1.22}{2018/05/21}{In screen mode we no longer crop pages} % \begin{macrocode} \RequirePackage{fancyhdr, lastpage, ifpdf} \RequirePackage[breaklinks,colorlinks]{hyperref} \if@aom@screen@mode \hypersetup{linkcolor=blue,citecolor=blue, - urlcolor=blue, pdfpagescrop={110 705 500 80}}% + urlcolor=blue}% \else\if@aom@manuscript@mode \hypersetup{linkcolor=blue,citecolor=blue, urlcolor=blue}% @@ -978,13 +990,40 @@ % %\subsection{Fonts} %\label{sec:fonts} -% +% % \changes{v0.8}{2010/1/16}{Added yhmath} -% We use \progname{yhmath} for wide symbols: +% We use \progname{yhmath} for large symbols: % \begin{macrocode} \RequirePackage{yhmath} % \end{macrocode} % +% \changes{v1.23}{2018/12/25}{Made ymath large symbols default} +% Since version 1.2 ymath no longer makes its large symbols default. +% We override this +% \begin{macrocode} +\DeclareSymbolFont{largesymbols}{OMX}{yhex}{m}{n} +% \end{macrocode} +% +% \begin{macro}{\widehat} +% \begin{macro}{\widetilde} +% \changes{v1.23}{2018/12/25}{We are taking wide hat and wide tilde +% from amsfonts} +% The way \cs{widehat} and \cs{widetilde} are implemented in ymath is +% buggy, see +% \url{https://www.reddit.com/r/LaTeX/comments/2j7mtn/usepackageamsmath_vs_usepackageyhmath_and_the/}. We use AMS definitions instead +% \begin{macrocode} +\xdef\widehat#1{\noexpand\@mathmeasure\z@\textstyle{#1}% + \noexpand\ifdim\noexpand\wd\z@>\tw@ em% + \mathaccent"0\hexnumber@\symAMSb 5B{#1}% + \noexpand\else\mathaccent"0362{#1}\noexpand\fi} +\xdef\widetilde#1{\noexpand\@mathmeasure\z@\textstyle{#1}% + \noexpand\ifdim\noexpand\wd\z@>\tw@ em% + \mathaccent"0\hexnumber@\symAMSb 5D{#1}% + \noexpand\else\mathaccent"0365{#1}\noexpand\fi} +% \end{macrocode} +% +% \end{macro} +% \end{macro} % % \changes{v0.3}{2010/09/26}{Added package mdputu} % \changes{v0.4}{2010/09/28}{Switched to upright digits in italics @@ -1363,16 +1402,24 @@ % % \begin{macro}{\subject} % \changes{v1.18}{2017/02/15}{Drop scheme and primary/secondary} -% \changes{v1.20}{2017/05/09}{Make primary and secondary subjects separated} -% Subjects: +% \changes{v1.20}{2017/05/09}{Make primary and secondary subjects +% separated} +% \changes{v1.24}{2020/08/09}{Added scheme} +% Subjects. % \begin{macrocode} \let\@primarysubjects\@empty \let\@secondarysubjects\@empty +\let\@primaryscheme\@empty +\let\@secondaryschme\@empty \def\subject#1#2#3{% \expandafter\ifx\csname @#1subjects\endcsname\@empty\relax \expandafter\gdef\csname @#1subjects\endcsname{#3}% \else \expandafter\g@addto@macro\csname @#1subjects\endcsname{, #3}% + \fi + \if@aom@printscheme + \expandafter\g@addto@macro\csname @#1subjects\endcsname{% + ~(#2)}% \fi} % \end{macrocode} % @@ -1831,20 +1878,20 @@ \def\@setsubjects{% \let\@subjects\@empty \ifx\@primarysubjects\@empty\else - \edef\@subjects{Primary: \@primarysubjects}% + \edef\@subjects{Primary:~\@primarysubjects}% \fi \ifx\@secondarysubjects\@empty\else \ifx\@primarysubjects\@empty - \edef\@subjects{Secondary: \@secondarysubjects}% + \edef\@subjects{Secondary:~\@secondarysubjects}% \else - \edef\@subjects{\@subjects; Secondary: \@secondarysubjects}% + \edef\@subjects{\@subjects; Secondary:~\@secondarysubjects}% \fi \fi \ifpdf \hypersetup{pdfsubject=\@subjects}% \fi \if@aom@oldkeywords\else - \@footnotetext{AMS Classification: \@subjects.}% + \@footnotetext{AMS Classification:~\@subjects.}% \fi } % \end{macrocode} diff --git a/macros/latex/contrib/aomart/aomart.pdf b/macros/latex/contrib/aomart/aomart.pdf Binary files differindex b55d158b22..58366ab260 100644 --- a/macros/latex/contrib/aomart/aomart.pdf +++ b/macros/latex/contrib/aomart/aomart.pdf diff --git a/macros/latex/contrib/aomart/aomfrench.pdf b/macros/latex/contrib/aomart/aomfrench.pdf Binary files differindex 52c5111612..5b411b76b1 100644 --- a/macros/latex/contrib/aomart/aomfrench.pdf +++ b/macros/latex/contrib/aomart/aomfrench.pdf diff --git a/macros/latex/contrib/aomart/aomsample.pdf b/macros/latex/contrib/aomart/aomsample.pdf Binary files differindex 96e744afda..817a42f5ee 100644 --- a/macros/latex/contrib/aomart/aomsample.pdf +++ b/macros/latex/contrib/aomart/aomsample.pdf diff --git a/macros/latex/contrib/aomart/aomsample.tex b/macros/latex/contrib/aomart/aomsample.tex index ed04e86b7a..9d331b0b85 100644 --- a/macros/latex/contrib/aomart/aomsample.tex +++ b/macros/latex/contrib/aomart/aomsample.tex @@ -13,7 +13,7 @@ %%% ==================================================================== \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must December 1994 or later -\documentclass[manuscript]{aomart} +\documentclass[manuscript, printscheme]{aomart} %\usepackage[english]{babel} %\documentclass[screen]{aomart} %\documentclass{aomart} @@ -120,16 +120,16 @@ Fairfax, VA 22030} \urladdr{http://borisv.lk.net} \givenname{Boris} \surname{Veytsman} -\copyrightyear{2008--2017} -\copyrightnote{\textcopyright~2008--2012 Boris Veytsman} +\copyrightyear{2008--2020} +\copyrightnote{\textcopyright~2008--2020 Boris Veytsman} \thanks{The class was commissioned by Annals of Mathematics} \keyword{Hamiltonian paths} \keyword{Typesetting} -\subject{primary}{matsc2000}{1AB5} -\subject{primary}{matsc2000}{2FD5} -\subject{secondary}{matsc2000}{FFFF} -\subject{secondary}{matsc2000}{G25} +\subject{primary}{matsc2020}{1AB5} +\subject{primary}{matsc2020}{2FD5} +\subject{secondary}{matsc2020}{FFFF} +\subject{secondary}{matsc2020}{G25} \received{\formatdate{2004-12-24}} \revised{\formatdate{2006-04-12}} diff --git a/macros/latex/contrib/aomart/aomsample1.pdf b/macros/latex/contrib/aomart/aomsample1.pdf Binary files differindex 860f2696b4..cbc4470d34 100644 --- a/macros/latex/contrib/aomart/aomsample1.pdf +++ b/macros/latex/contrib/aomart/aomsample1.pdf diff --git a/macros/latex/contrib/aomart/aomsample1.tex b/macros/latex/contrib/aomart/aomsample1.tex index 6dfb76e81d..29257baead 100644 --- a/macros/latex/contrib/aomart/aomsample1.tex +++ b/macros/latex/contrib/aomart/aomsample1.tex @@ -13,7 +13,7 @@ %%% ==================================================================== \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) [1994/12/01]% LaTeX date must December 1994 or later -\documentclass[manuscript]{aomart} +\documentclass[manuscript, printscheme]{aomart} %\usepackage[english]{babel} %\documentclass[screen]{aomart} %\documentclass{aomart} @@ -120,16 +120,16 @@ Fairfax, VA 22030} \urladdr{http://borisv.lk.net} \givenname{Boris} \surname{Veytsman} -\copyrightyear{2008--2017} -\copyrightnote{\textcopyright~2008--2012 Boris Veytsman} +\copyrightyear{2008--2020} +\copyrightnote{\textcopyright~2008--2020 Boris Veytsman} \thanks{The class was commissioned by Annals of Mathematics} \keyword{Hamiltonian paths} \keyword{Typesetting} -\subject{primary}{matsc2000}{1AB5} -\subject{primary}{matsc2000}{2FD5} -\subject{secondary}{matsc2000}{FFFF} -\subject{secondary}{matsc2000}{G25} +\subject{primary}{matsc2020}{1AB5} +\subject{primary}{matsc2020}{2FD5} +\subject{secondary}{matsc2020}{FFFF} +\subject{secondary}{matsc2020}{G25} \received{\formatdate{2004-12-24}} \revised{\formatdate{2006-04-12}} diff --git a/macros/latex/contrib/apa7/apa7.dtx b/macros/latex/contrib/apa7/apa7.dtx index dc57e6829e..b81d61d094 100644 --- a/macros/latex/contrib/apa7/apa7.dtx +++ b/macros/latex/contrib/apa7/apa7.dtx @@ -4,11 +4,11 @@ % % % CHANGE THESE VALUES WITH EACH NEW RELEASE: % % % -%<class>\ProvidesClass{apa7}[2020/08/02 v2.02 APA formatting (7th edition)] +%<class>\ProvidesClass{apa7}[2020/08/12 v2.03 APA formatting (7th edition)] % % %<*internal> % -\def\apaSevenVersionDate{2020/08/02} -\def\apaSevenVersionNumber{2.02} +\def\apaSevenVersionDate{2020/08/12} +\def\apaSevenVersionNumber{2.03} % % % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -109,6 +109,7 @@ and the derived files apa7.ins, APA7british.txt, APA7dutch.txt, APA7english.txt, + APA7french.txt, APA7german.txt, APA7ngerman.txt, APA7greek.txt, @@ -131,6 +132,7 @@ and the derived files apa7.ins, \file{./config/APA7british.txt}{\from{\jobname.dtx}{british}} \file{./config/APA7dutch.txt}{\from{\jobname.dtx}{dutch}} \file{./config/APA7english.txt}{\from{\jobname.dtx}{english}} + \file{./config/APA7french.txt}{\from{\jobname.dtx}{french}} \file{./config/APA7german.txt}{\from{\jobname.dtx}{german}} \file{./config/APA7ngerman.txt}{\from{\jobname.dtx}{ngerman}} \file{./config/APA7greek.txt}{\from{\jobname.dtx}{greek}} @@ -251,6 +253,8 @@ and the derived files apa7.ins, % % \changes{v2.02}{2020/08/02}{Added the "and" in multiple author list to translation files. } % +% \changes{v2.03}{2020/08/12}{Added French localization. } +% % \begin{abstract} % The \textit{Publication Manual} of the American Psychological % Association is widely used in the social sciences. The most @@ -3698,6 +3702,22 @@ The detailed results are shown in Table~\ref{tab:DeckedTable}. \lipsum[22] % \end{macrocode} %\end{macro} % +% +%\begin{macro}{APA7french.txt} +% \begin{macrocode} +%<*french> +\ProvidesFile{APA7french.txt}[2020/08/12 v1.01 apa7 configuration for French] % translation by lejun[at]gmx.fr + +\renewcommand{\lastauthorseparator}{et}% and +\renewcommand{\acksname}{Note de l'auteur}% Author Note +\renewcommand{\keywordname}{Mots Clés}% Keywords +\renewcommand{\notesname}{Notes de bas de page}% Footnotes + +%</french> +% \end{macrocode} +%\end{macro} +% +% %\begin{macro}{APA7dutch.txt} % \begin{macrocode} %<*dutch> @@ -3712,6 +3732,7 @@ The detailed results are shown in Table~\ref{tab:DeckedTable}. \lipsum[22] % \end{macrocode} %\end{macro} % +% %\begin{macro}{APA7german.txt} % \begin{macrocode} %<*german> @@ -3726,6 +3747,7 @@ The detailed results are shown in Table~\ref{tab:DeckedTable}. \lipsum[22] % \end{macrocode} %\end{macro} % +% %\begin{macro}{APA7ngerman.txt} % \begin{macrocode} %<*ngerman> @@ -3740,6 +3762,7 @@ The detailed results are shown in Table~\ref{tab:DeckedTable}. \lipsum[22] % \end{macrocode} %\end{macro} % +% %\begin{macro}{APA7greek.txt} % \begin{macrocode} %<*greek> @@ -3754,6 +3777,7 @@ The detailed results are shown in Table~\ref{tab:DeckedTable}. \lipsum[22] % \end{macrocode} %\end{macro} % +% %\begin{macro}{APA7czech.txt} % \begin{macrocode} %<*czech> @@ -3768,6 +3792,7 @@ The detailed results are shown in Table~\ref{tab:DeckedTable}. \lipsum[22] % \end{macrocode} %\end{macro} % +% %\begin{macro}{APA7turkish.txt} % \begin{macrocode} %<*turkish> @@ -3782,6 +3807,7 @@ The detailed results are shown in Table~\ref{tab:DeckedTable}. \lipsum[22] % \end{macrocode} %\end{macro} % +% %\begin{macro}{APA7endfloat.cfg} % \begin{macrocode} %<*APAendfloat> diff --git a/macros/latex/contrib/apa7/apa7.ins b/macros/latex/contrib/apa7/apa7.ins index 054d5df5e4..3b4b786df8 100644 --- a/macros/latex/contrib/apa7/apa7.ins +++ b/macros/latex/contrib/apa7/apa7.ins @@ -83,6 +83,7 @@ and the derived files apa7.ins, APA7british.txt, APA7dutch.txt, APA7english.txt, + APA7french.txt, APA7german.txt, APA7ngerman.txt, APA7greek.txt, @@ -105,6 +106,7 @@ and the derived files apa7.ins, \file{./config/APA7british.txt}{\from{\jobname.dtx}{british}} \file{./config/APA7dutch.txt}{\from{\jobname.dtx}{dutch}} \file{./config/APA7english.txt}{\from{\jobname.dtx}{english}} + \file{./config/APA7french.txt}{\from{\jobname.dtx}{french}} \file{./config/APA7german.txt}{\from{\jobname.dtx}{german}} \file{./config/APA7ngerman.txt}{\from{\jobname.dtx}{ngerman}} \file{./config/APA7greek.txt}{\from{\jobname.dtx}{greek}} @@ -148,6 +150,7 @@ and the derived files apa7.ins, %% APA7british.txt, %% APA7dutch.txt, %% APA7english.txt, +%% APA7french.txt, %% APA7german.txt, %% APA7ngerman.txt, %% APA7greek.txt, diff --git a/macros/latex/contrib/apa7/apa7.pdf b/macros/latex/contrib/apa7/apa7.pdf Binary files differindex eaaac2a8ca..d38e5802c1 100644 --- a/macros/latex/contrib/apa7/apa7.pdf +++ b/macros/latex/contrib/apa7/apa7.pdf diff --git a/macros/latex/contrib/apa7/samples/longsample.pdf b/macros/latex/contrib/apa7/samples/longsample.pdf Binary files differindex cb080d9a48..841fc1b02f 100644 --- a/macros/latex/contrib/apa7/samples/longsample.pdf +++ b/macros/latex/contrib/apa7/samples/longsample.pdf diff --git a/macros/latex/contrib/apa7/samples/shortsample.pdf b/macros/latex/contrib/apa7/samples/shortsample.pdf Binary files differindex e2536018fb..57c1868a5b 100644 --- a/macros/latex/contrib/apa7/samples/shortsample.pdf +++ b/macros/latex/contrib/apa7/samples/shortsample.pdf diff --git a/macros/latex/contrib/asmeconf/README.md b/macros/latex/contrib/asmeconf/README.md index e611fea975..b6155a016f 100644 --- a/macros/latex/contrib/asmeconf/README.md +++ b/macros/latex/contrib/asmeconf/README.md @@ -1,7 +1,7 @@ #asmeconf: A template for ASME conference papers# - Version 1.18 dated 2020/04/14. + Version 1.19 dated 2020/08/12. ####Overview#### This class provides a template to format ASME Conference papers according to @@ -23,6 +23,8 @@ sample-figure-1.pdf, sample-figure-2a.pdf, sample-figure-2b.pdf -- figures for the example + * + author-grid-style.pdf -- example of title page with "oldauthors" option The .tex and .cls files are commented and should be self-explanatory. @@ -51,6 +53,8 @@ - support balancing of columns on last page +- support PDF/A (archival) standards if desired + ####Author#### @@ -66,6 +70,8 @@ --- ####Change log#### + + 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. 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. diff --git a/macros/latex/contrib/asmeconf/asmeconf-template.pdf b/macros/latex/contrib/asmeconf/asmeconf-template.pdf Binary files differindex 840922971e..7a53a2857c 100644 --- a/macros/latex/contrib/asmeconf/asmeconf-template.pdf +++ b/macros/latex/contrib/asmeconf/asmeconf-template.pdf diff --git a/macros/latex/contrib/asmeconf/asmeconf-template.tex b/macros/latex/contrib/asmeconf/asmeconf-template.tex index af6ca23847..f9804e00da 100644 --- a/macros/latex/contrib/asmeconf/asmeconf-template.tex +++ b/macros/latex/contrib/asmeconf/asmeconf-template.tex @@ -3,11 +3,11 @@ %% This file is asmeconf-template.tex, a template to format ASME Conference papers according to %% the requirements on ASME's conference web pages. %% -%% This file is version 1.18 dated 2020/04/14 +%% This file is version 1.19 dated 2020/08/12 %% %% As of version 1.11, this template follows ASME's newer conference guidelines first posted July 2019. %% The new guidelines have changed the requested author block formatting to be inline. -%% (This template supports the old grid format as a package option.) +%% (This template continues to support the old grid format as a package option.) %% Nomenclature now follows the abstract. Abstract is in italics. %% %% Author: John H. Lienhard V @@ -44,7 +44,7 @@ %% * blank line and [lineno] option when you move to your final version. %% %% * An option to use the old grid arrangement of author names [oldauthors]. See Appendix B for usage, -%% * because the authors and affiliations must be entered different in this case. +%% * because the authors and affiliations must be entered differently in this case. %% %% * An option to allow hyphenation of the typewriter font [hyphenate] %% * Hyphenation is normally suppressed for typewriter mode because it is often used for code. @@ -54,6 +54,9 @@ %% * If a secondary or tertiary language is set, the main language must also be set. %% * The spanish module makes "." active, clashing with some code; \spanishdeactivate{.} stops this. %% +%% * Options for PDF/A compliance. [pdf-a] will produce PDF/A-3u compliance with sRGB OutputIntent. +%% * [pdfapart= 1 or 2 or 3] and [pdfaconformance= b or u] allow other levels: 1b, 2b, 2u, and 3b. +%% %% For details of newtxmath and mathalfa, refer to their documentation (available on CTAN: http://ctan.org). %% %% The use of commands defined or modified by the asmeconf class is illustrated below. In particular, @@ -86,7 +89,7 @@ %% Class options are described above. -\documentclass[varvw,largesc,upint,mathalfa=cal=euler,hyphenate,balance,lang-second=french,lang=english,colorlinks]{asmeconf} % <=== remove colorlinks before submission to ASME! +\documentclass[varvw,largesc,upint,mathalfa=cal=euler,hyphenate,balance,lang-second=french,lang=english,colorlinks,pdf-a]{asmeconf} % <=== remove colorlinks before submission to ASME! %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%% Fields to be completed %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -122,14 +125,14 @@ \title{Place Title Here: Place Subtitle After Colon} % <=== change to YOUR title -%% Put author names into the order you want. Use the same order for affiliations. -%% \affil{#} tags the author's affiliation to the address in \SetAffiliation{#}. -%% No space between last name and \affil{#}, separate names with commas. -%% -%% \CorrespondingAuthor{email} follows that author's affiliation, no spaces. -%% If multiple corresponding authors, put both email addresses in the same command and place after both authors. -%% -%% \JointFirstAuthor, if applicable, follows the affiliation of the relevant authors, no spaces. +% Put author names into the order you want. Use the same order for affiliations. +% \affil{#} tags the author's affiliation to the address in \SetAffiliation{#}. +% No space between last name and \affil{#}, separate names with commas. +% +% \CorrespondingAuthor{email} follows that author's affiliation, no spaces. +% If multiple corresponding authors, put both email addresses in the same command and place after both authors. +% +% \JointFirstAuthor, if applicable, follows the affiliation of the relevant authors, no spaces. \SetAuthors{Luis Hern\'andez\affil{1}\JointFirstAuthor , Maria Silva\affil{2}\JointFirstAuthor, Henry Tudor\affil{3}, Catherine~Parr\affil{3}, John H.\ Lienhard V\affil{4}\CorrespondingAuthor{lienhard@mit.edu}} @@ -463,6 +466,12 @@ Hyphenation is normally suppressed for typewriter mode because this font is ofte \subsection{Support for Other Languages} The package can be adapted to incorporate (or entirely use) languages other than English. See Appendix \ref{appendix:c} for details. +\subsection{Archivability:~PDF/A} Compliance with PDF/A standards can be enabled using the option \texttt{[pdf-a]} +when running with \hologo{pdfLaTeX}. The default setting is for PDF/A-3u with sRGB OutputIntent (\texttt{sRGB.icc}). +If levels 1b, 2b, 2u, or 3b are preferred, use the options \texttt{[pdfapart=1 or 2 or 3]} and +\texttt{[pdfaconformance=b or u]}. Note that accessible conformance~(\texttt{a}) is not currently possible with \LaTeX. + + %%%%% Conclusions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{Conclusion} @@ -570,12 +579,12 @@ La chale ur pénètre, comme la gravité, toutes les substances de l'univers, se % Use title case (upper and lower case letters) % (Most of the example names below are not real people, just very common names.) -\SetAuthorBlock{Luis Hern\'{a}ndez\JointFirstAuthor}{Institution or Company Name, City, State} -\SetAuthorBlock{Maria Silva\JointFirstAuthor}{Institution or Company Name, City, Province, Canada} +\SetAuthorBlock{Luis Hern\'{a}ndez\JointFirstAuthor}{Institution or Company Name \\ City, State} +\SetAuthorBlock{Maria Silva\JointFirstAuthor}{Institution or Company Name \\ City, Province, Canada} \SetAuthorBlock{Henry Tudor, Catherine Parr}{Hampton Court Palace \\ Richmond, England} -\SetAuthorBlock{Jinsoo Kim}{Institution or Company Name, City, Country} -\SetAuthorBlock{Yusuf Yilmaz}{Institution or Company Name, City, Country} +\SetAuthorBlock{Jinsoo Kim}{Institution or Company Name \\ City, Country} +\SetAuthorBlock{Yusuf Yilmaz}{Institution or Company Name \\ City, Country} % Can omit second argument of \CorrespondingAuthor if putting email into address % i.e., can just use \CorrespondingAuthor{name}. @@ -584,4 +593,3 @@ La chale ur pénètre, comme la gravité, toutes les substances de l'univers, se \SetAuthorBlock{\CorrespondingAuthor{John H.\ Lienhard V}{lienhard@mit.edu}}{% Massachusetts Institute of Technology \\ Cambridge, MA} - diff --git a/macros/latex/contrib/asmeconf/asmeconf.bst b/macros/latex/contrib/asmeconf/asmeconf.bst index 1388b084f8..2882591d68 100644 --- a/macros/latex/contrib/asmeconf/asmeconf.bst +++ b/macros/latex/contrib/asmeconf/asmeconf.bst @@ -1362,7 +1362,7 @@ FUNCTION {inbook} new.block crossref missing$ { - format.bvolume output + format.number.series output format.number.series output new.block new.sentence diff --git a/macros/latex/contrib/asmeconf/asmeconf.cls b/macros/latex/contrib/asmeconf/asmeconf.cls index be225271d9..b1f0ec6b34 100644 --- a/macros/latex/contrib/asmeconf/asmeconf.cls +++ b/macros/latex/contrib/asmeconf/asmeconf.cls @@ -5,9 +5,9 @@ %% %% Please note that ASME's journals follow specifications different from ASME conference papers. %% -%% This file is version 1.18 dated 2020/04/14. - \def\versionno{1.18} - \def\versiondate{2020/04/14\space} +%% This file is version 1.19 dated 2020/08/12. + \def\versionno{1.19} + \def\versiondate{2020/08/12\space} %% %% Author: John H. Lienhard V %% Department of Mechanical Engineering @@ -22,6 +22,7 @@ %% 4. Use the newtxtext and newtxmath font packages, including relevant features %% 5. Provide automatic layout of author names and addresses %% 6. Support bold face, sans serif math in headings +%% 7. Support the archival PDF/A standards 1b, 2b, 2u, 3b, and 3u %% %% This class is compatible with either pdfLaTeX or LuaLaTeX. The class uses a number of packages, %% many of which are part of the standard LaTeX distribution, and all of which are in TeXLive and @@ -33,7 +34,7 @@ %% This class is not designed for unicode-math or fontspec, given that the ASME conference style is %% specific with respect to the font selections. %% -%% Options for the class are configured on lines 79-169. +%% Options for the class are configured on lines 79-210. %% %% The class defines two environments: abstract and nomenclature. The latter has an optional argument to %% control the space between the entries and the definitions. @@ -78,6 +79,7 @@ %%%%%%%%%%%%%% Options for the class %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \RequirePackage{ifthen} +\RequirePackage{iftex} % check whether pdftex or another engine is used \newboolean{DefaultSups} \setboolean{DefaultSups}{true} \newboolean{Oldauthors} @@ -86,13 +88,18 @@ \setboolean{Balance}{false} \newboolean{lineno} \setboolean{lineno}{false} - +\newboolean{setpdfa} +\setboolean{setpdfa}{false} +\newboolean{pdfaone} +\setboolean{pdfaone}{false} \RequirePackage{kvoptions} %\RequirePackage{kvsetkeys} % already loaded by kvoptions \SetupKeyvalOptions{ family=asmeconf, prefix=asmeconf@, + family=pdfaopt, + prefix=pdafopt@, setkeys=\kvsetkeys, } @@ -137,7 +144,31 @@ \PassOptionsToPackage{#1}{babel}% } -\ProcessKeyvalOptions* +\ProcessKeyvalOptions{asmeconf} + + +\ifpdftex %% PDF/A compliance has only been configured for pdflatex +% +%%% set key [pdfa] to activate pdf/a compliance (default is pdf/A-3u) + \define@key{pdfaopt}{pdf-a}[true]{% + \setboolean{setpdfa}{#1}% + \PassOptionsToPackage{pdfa,pdfapart=3,pdfaconformance=u}{hyperref}% +} +%%% to select part 1, 2 or 3 + \define@key{pdfaopt}{pdfapart}[3]{% + \PassOptionsToPackage{pdfapart=#1}{hyperref}% + \ifthenelse{\equal{#1}{1}}{\setboolean{pdfaone}{true}}{\relax}% +} +%% to select conformance b or u. NB: a is not possible with pdfLaTeX, and u is not possible with 1. + \define@key{pdfaopt}{pdfaconformance}[u]{% + \PassOptionsToPackage{pdfaconformance=#1}{hyperref}% +} + \ProcessKeyvalOptions{pdfaopt} +\else + \ClassWarningNoLine{asmejour}{PDF/A compliance option requires pdfLaTeX engine}% +\fi + +%%%%%%%%%%%%%%%%%%% %% option to have colored hyperlinks \DeclareOption{colorlinks}{% @@ -204,9 +235,11 @@ \RequirePackage[T1]{fontenc} -\RequirePackage{iftex} % check whether pdfTeX or a different engine is used \ifpdftex - \pdfminorversion=7 % This selection is not required. + \ifthenelse{\boolean{pdfaone}}{ + \pdfminorversion=4}{% for pdf/a-1 need version 4, not 7 + \pdfminorversion=7 % this selection is not really required. + } \RequirePackage[utf8]{inputenc} % for backward compatibility with pre-2018 distributions \else \relax @@ -343,7 +376,30 @@ \titleformat{\section}{\mathversion{sansbold}\bfseries\sffamily\raggedright}{\MakeTextUppercase{\appendixname}\ \thesection.}{0.5em}{\MakeTextUppercase} } -%%%%%%%%%%%%% hyperref %%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%% Hyperref %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\ifthenelse{\boolean{setpdfa}}{% +% + %%% to assist with unicode glyph mapping, following M. Sharpe's recommendation in newtx documentation. + \pdfgentounicode=1 %% enable CMaps + \input glyphtounicode.tex %% lists of mappings + \InputIfFileExists{glyphtounicode-cmr.tex}{}{} %% additional mappings + \InputIfFileExists{glyphtounicode-ntx.tex}{}{} %% additional mappings +% +%%% a fairly generic RGB color profile, aimed at on-screen rendering (not print production) +\immediate\pdfobj stream attr{/N 3} file{sRGB.icc} +\pdfcatalog{% + /OutputIntents [ + << + /Type /OutputIntent + /S /GTS_PDFA1 + /DestOutputProfile \the\pdflastobj\space 0 R + /OutputConditionIdentifier (sRGB) + /Info (sRGB) + >> + ] +}% +}{\relax} \RequirePackage{hyperxmp} %% to fix transfer of metadata to Acrobat pdf @@ -363,7 +419,7 @@ pdftitle={}, % <=== add in .tex file pdfkeywords={}, % <=== add in .tex file pdfnewwindow=true,% - pdfpagelayout=TwoPageRight,% + pdfpagelayout=SinglePage, %TwoPageRight,% changed this 12/08/2020 pdfauthor={}, % <=== add in .tex file pdfdisplaydoctitle=true% ]{hyperref} diff --git a/macros/latex/contrib/asmeconf/author-grid-style.pdf b/macros/latex/contrib/asmeconf/author-grid-style.pdf Binary files differnew file mode 100644 index 0000000000..a6f3ca6d12 --- /dev/null +++ b/macros/latex/contrib/asmeconf/author-grid-style.pdf diff --git a/macros/latex/contrib/asmejour/README.md b/macros/latex/contrib/asmejour/README.md index cdb321c070..18e1eb7a6f 100644 --- a/macros/latex/contrib/asmejour/README.md +++ b/macros/latex/contrib/asmejour/README.md @@ -1,7 +1,7 @@ #asmejour: A template for ASME journal papers# - Version 1.13 dated 2020/08/10. + Version 1.14 dated 2020/08/12. ####Overview#### This class provides a template to format preprints submitted to ASME journals. The layout and reference @@ -59,6 +59,8 @@ ####Change log#### +v1.14 (2020/08/12): Set pdf page layout to a single page, rather than a two-page spread. + 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. 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. diff --git a/macros/latex/contrib/asmejour/asmejour-template.pdf b/macros/latex/contrib/asmejour/asmejour-template.pdf Binary files differindex a2e8242ecb..9545616fed 100644 --- a/macros/latex/contrib/asmejour/asmejour-template.pdf +++ b/macros/latex/contrib/asmejour/asmejour-template.pdf diff --git a/macros/latex/contrib/asmejour/asmejour-template.tex b/macros/latex/contrib/asmejour/asmejour-template.tex index 1d8bae4b5f..75a0357c10 100644 --- a/macros/latex/contrib/asmejour/asmejour-template.tex +++ b/macros/latex/contrib/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 %% as they are being published in 2020. %% -%% This file is version 1.13 dated 2020/08/10 +%% This file is version 1.14 dated 2020/08/12 %% %% Author: John H. Lienhard V %% Department of Mechanical Engineering @@ -84,7 +84,7 @@ %% Class options are described above. -\documentclass[largesc,upint,varvw,barcolor=Goldenrod3,nocopyright,hyphenate,balance,lang-second=french,lang=english,pdf-a]{asmejour} +\documentclass[largesc,upint,varvw,mathalfa=cal=euler,barcolor=Goldenrod3,nocopyright,hyphenate,balance,lang-second=french,lang=english,pdf-a]{asmejour} %%%%% FIELDS TO BE COMPLETED FOLLOW %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -263,7 +263,8 @@ In addition, many options for calligraphic, script, and fraktur fonts are availa \begin{quote} \verb|\documentclass[mathalfa=cal=euler]{asmejour}| \end{quote} -which selects the Euler font for \verb|\mathcal| (this is our default). To find all the font options, refer to the \texttt{mathalfa} package documentation \cite{sharpe2}. +which selects the Euler font for \verb|\mathcal|, as in $A \in \mathcal{P}(A)$. %($\mathcal{T}_1 \subset \mathcal{T}_2$) +To find all the font options, refer to the \texttt{mathalfa} documentation \cite{sharpe2}. The typewriter font loaded is \texttt{inconsolata} (which is sans serif), as suggested by the \texttt{newtx} package documentation. The class is not set up for use with the \texttt{fontspec} or \texttt{unicode-math} packages. diff --git a/macros/latex/contrib/asmejour/asmejour.cls b/macros/latex/contrib/asmejour/asmejour.cls index 4aec9de24f..f7bcc1b215 100644 --- a/macros/latex/contrib/asmejour/asmejour.cls +++ b/macros/latex/contrib/asmejour/asmejour.cls @@ -6,9 +6,9 @@ %% The asmejour.cls file should be used with the files asmejour.bst (for citations) and asmejour-template.tex. %% %% -%% This file is version 1.13 dated 2020/08/10. - \def\versionno{1.13} - \def\versiondate{2020/08/10\space} +%% This file is version 1.14 dated 2020/08/12. + \def\versionno{1.14} + \def\versiondate{2020/08/12\space} %% %% Author: John H. Lienhard V %% Department of Mechanical Engineering @@ -22,7 +22,7 @@ %% The Times/Helvetica style fonts are from Michael Sharpe's excellent newtxtext and newtxmath packages. %% This class is not designed for unicode-math or fontspec. %% -%% Options for the class are described on lines 63-173. +%% Options for the class are described on lines 61-216. %% %% The class defines an environment for nomenclature. LaTeX must be run twice to align those columns. %% @@ -559,7 +559,7 @@ pdftitle={}, % <=== add in .tex file pdfkeywords={}, % <=== add in .tex file pdfnewwindow=true,% - pdfpagelayout=TwoPageRight,% + pdfpagelayout=SinglePage, %TwoPageRight,% changed 12/08/2020 pdfauthor={}, % <=== add in .tex file pdfdisplaydoctitle=true% ]{hyperref} |