diff options
author | Karl Berry <karl@freefriends.org> | 2022-06-27 20:19:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-06-27 20:19:04 +0000 |
commit | a8a66eaffa6fc2d687bc9d188c621c8c8f6d8b66 (patch) | |
tree | 2cdf2fdbe11a92c50ff717b41f6d26e9ee239124 /Master/texmf-dist/doc/latex/asmejour/asmewide_example | |
parent | 1890f892975db4b08c649e9c14d26f28b122ed57 (diff) |
asmejour (27jun22)
git-svn-id: svn://tug.org/texlive/trunk@63736 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/asmejour/asmewide_example')
-rw-r--r-- | Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmejour-wide-equation-examples.pdf | bin | 2978593 -> 3048771 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmejour-wide-equation-examples.tex | 8 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmewide.sty | 23 |
3 files changed, 20 insertions, 11 deletions
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 5cd8ea6a865..278e3f08965 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 1efd910acce..63e91cf262a 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 @@ -12,14 +12,14 @@ %% %% NB: the strip environment from cuted is incompatible with the [lineno] option to asmejour! %% -\documentclass[nocopyright,nolists,balance,pdf-a]{asmejour} +\documentclass[nocopyright,nolists,pdf-a]{asmejour} %% This file's version and date are: \def\AJwidetextversion{1.0} \def\AJverdate{January 10, 2022} % \usepackage{asmewide} -\usepackage{lipsum}% Latin filler text +\usepackage{lipsum}% Latin filler text (lipsum generates a message about 'unused global options' - this can be ignored) % %%%% asmejour template inputs %%%% \JourName{Applied Mechanics} @@ -34,7 +34,7 @@ % \begin{filecontents}{asme-wide-equations.bib} @online{lienhard2021, - author = {Lienhard, John H., V}, + author = {Lienhard, V, John H.}, title = {Preprint Template for {ASME} Journal Papers: \texttt{asmejour.cls}}, organization = {Comprehensive \TeX\ Archive Network}, version = {{\versionno}}, @@ -103,7 +103,7 @@ in \textbf{red} in this document meant to be read---the rest is simply filler to \end{abstract} \maketitle - + \section{Introduction} \lipsum[1-3] \section{Section} diff --git a/Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmewide.sty b/Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmewide.sty index b0c9a481f26..949da71852f 100644 --- a/Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmewide.sty +++ b/Master/texmf-dist/doc/latex/asmejour/asmewide_example/asmewide.sty @@ -1,7 +1,7 @@ %% -%% This file is `asmewide.sty'. +%% This file is `asmewide.sty'. %% -%% Copyright (c) 2022 John H. Lienhard. Use under the MIT license: https://ctan.org/license/mit +%% Copyright (c) 2022 John H. Lienhard. Use under the MIT license: https://ctan.org/license/mit %% %% Defines a widetext environment within ASME dimensions %% Use for material spanning both columns (i.e., for wide equations) @@ -12,23 +12,32 @@ %% The modifications made were: follow ASME dimensions; remove revtex-specific macros; update/rework commands; adapt to most recent cuted.sty %% (Leaders don't vanish at pagebreaks, as in revtex, evidently related to how cuted.sty handles strip construction. Have coded around this.) %% -%% Required packages: cuted.sty v2.0 and flushend.sty v4.0 [2021/10/04] or later; asmeconf.cls w/its required packages, esp. etoolbox, xparse +%% Required packages: cuted.sty v2.0 and flushend.sty v4.0 [2021/10/04] or later; asmeconf.cls or asmejour.cls w/their required packages, esp. etoolbox, xparse %% -%% The widetext environment can only appear once per page. It clashes with floats and footnotes, requiring some hand-fitting of page layouts. +%% The widetext environment can only appear once per page. It clashes with floats and footnotes, and often requires some hand-fitting of page layouts. %% %% USAGE: * \begin{widetext} ...wide material here... \end{widetext} %% OPTIONAL ARGUMENTS: %% * \begin{widetext[N] .. changes upper/lower separation of wide material from default Xpt to Npt (X = 5pt asmeconf.cls; X = 10pt asmejour.cls) %% * \begin{widetext}[][tbn]: t = top line only; b = bottom line only; n = no lines. BOTH arguments are REQUIRED, even if first is left empty. %% +%% asmewide,sty supports one option, [raggedend], which suppresses final page column balancing: \usepackage[raggedend]{asmewide} +%% NB: remove the option [balance] when using [raggedend]! +%% %% NB: the strip environment from cuted is incompatible with the [lineno] option to asmeconf and asmejour! %% \NeedsTeXFormat{LaTeX2e} -\def\AW@versionno{1.0} -\def\AW@versiondate{2021/12/26\space} +\def\AW@versionno{1.1} +\def\AW@versiondate{2022/06/26\space} \ProvidesPackage{asmewide}[\AW@versiondate\space v\AW@versionno\space ASME wide equation environment (JHL)] +\DeclareOption{raggedend}{% Added 2022/05/08, to suppressed flushend on last page, if desired + \AfterEndPreamble{\raggedend} +} +\DeclareOption*{} +\ProcessOptions \relax + \ifdefined\NewDocumentCommand\else \RequirePackage{xparse} \fi @@ -37,7 +46,7 @@ \@ifpackagelater{cuted}{2021/10/04}{% \relax }{% - \PackageError{asmewide}{Your version of cuted.sty is too old. You can get an update at https://ctan.org/pkg/cuted}{You need an up-to-date version of cuted.sty to run asmewide.sty.}% + \PackageError{asmewide}{The asmewide package has detected that the version of cuted.sty you are using is too old to be compatible. You can get an update at https://ctan.org/pkg/sttools}{You need at least v2.0 of cuted.sty to run asmewide.sty. Without it, you will get more errors. See discussion of installation process here: https://github.com/John02139/asmeconf/issues/4}% } \RequirePackage{flushend}[2021/10/04] |