summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-10-05 21:19:30 +0000
committerKarl Berry <karl@freefriends.org>2020-10-05 21:19:30 +0000
commita51559088d2b3ef74c53aab3badfb39ff991fb8a (patch)
tree09d46902f7eaf5856321d8485f716633445376d0 /Master
parentb1ae90907e77f83b07155bebd78ced57b8554ac8 (diff)
revtex4-2, but not 4-1 (5oct20)
git-svn-id: svn://tug.org/texlive/trunk@56559 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/bibtex/bst/revtex/aapmrev4-2.bst15
-rw-r--r--Master/texmf-dist/bibtex/bst/revtex/aipauth4-2.bst15
-rw-r--r--Master/texmf-dist/bibtex/bst/revtex/aipnum4-2.bst15
-rw-r--r--Master/texmf-dist/bibtex/bst/revtex/apsrev4-2.bst9
-rw-r--r--Master/texmf-dist/bibtex/bst/revtex/apsrmp4-2.bst11
-rw-r--r--Master/texmf-dist/doc/latex/revtex/README8
-rw-r--r--Master/texmf-dist/doc/latex/revtex/aip4-2.pdfbin0 -> 380825 bytes
-rw-r--r--Master/texmf-dist/doc/latex/revtex/ltxdocext.pdfbin0 -> 297025 bytes
-rw-r--r--Master/texmf-dist/doc/latex/revtex/ltxfront.pdfbin0 -> 449339 bytes
-rw-r--r--Master/texmf-dist/doc/latex/revtex/ltxgrid.pdfbin0 -> 609623 bytes
-rw-r--r--Master/texmf-dist/doc/latex/revtex/ltxutil.pdfbin0 -> 481008 bytes
-rw-r--r--Master/texmf-dist/doc/latex/revtex/revtex4-2.pdfbin0 -> 635876 bytes
-rw-r--r--Master/texmf-dist/doc/latex/revtex/source/aip4-2.pdfbin341492 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/revtex/source/ltxdocext.pdfbin260213 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/revtex/source/ltxfront.pdfbin359761 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/revtex/source/ltxgrid.pdfbin474584 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/revtex/source/ltxutil.pdfbin361686 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/revtex/source/revtex4-2.pdfbin485975 -> 0 bytes
-rw-r--r--Master/texmf-dist/source/latex/revtex/aip4-2.dtx789
-rw-r--r--Master/texmf-dist/source/latex/revtex/ltxdocext.dtx9
-rw-r--r--Master/texmf-dist/source/latex/revtex/ltxfront.dtx11
-rw-r--r--Master/texmf-dist/source/latex/revtex/ltxgrid.dtx129
-rw-r--r--Master/texmf-dist/source/latex/revtex/ltxutil.dtx171
-rw-r--r--Master/texmf-dist/source/latex/revtex/revtex-bst.dtx3873
-rw-r--r--Master/texmf-dist/source/latex/revtex/revtex4-2.dtx19
-rw-r--r--Master/texmf-dist/tex/latex/revtex/aapm4-2.rtx5
-rw-r--r--Master/texmf-dist/tex/latex/revtex/aip4-2.rtx770
-rw-r--r--Master/texmf-dist/tex/latex/revtex/aps10pt4-2.rtx7
-rw-r--r--Master/texmf-dist/tex/latex/revtex/aps11pt4-2.rtx7
-rw-r--r--Master/texmf-dist/tex/latex/revtex/aps12pt4-2.rtx7
-rw-r--r--Master/texmf-dist/tex/latex/revtex/aps4-2.rtx7
-rw-r--r--Master/texmf-dist/tex/latex/revtex/apsrmp4-2.rtx7
-rw-r--r--Master/texmf-dist/tex/latex/revtex/ltxdocext.sty2
-rw-r--r--Master/texmf-dist/tex/latex/revtex/ltxfront.sty9
-rw-r--r--Master/texmf-dist/tex/latex/revtex/ltxgrid.sty106
-rw-r--r--Master/texmf-dist/tex/latex/revtex/ltxutil.sty69
-rw-r--r--Master/texmf-dist/tex/latex/revtex/revsymb4-2.sty7
-rw-r--r--Master/texmf-dist/tex/latex/revtex/revtex4-2.cls179
-rw-r--r--Master/texmf-dist/tex/latex/revtex/sor4-2.rtx5
39 files changed, 4484 insertions, 1777 deletions
diff --git a/Master/texmf-dist/bibtex/bst/revtex/aapmrev4-2.bst b/Master/texmf-dist/bibtex/bst/revtex/aapmrev4-2.bst
index 38e829fddd6..68d0755e889 100644
--- a/Master/texmf-dist/bibtex/bst/revtex/aapmrev4-2.bst
+++ b/Master/texmf-dist/bibtex/bst/revtex/aapmrev4-2.bst
@@ -1395,7 +1395,6 @@ FUNCTION {check.speaker}
if$
}
-
STRINGS { bibinfo}
FUNCTION {format.names.fname}
@@ -1780,7 +1779,7 @@ FUNCTION {format.isbn.output}
}
FUNCTION {format.issn.output}
-{
+{
}
FUNCTION {doi.base}
@@ -1817,7 +1816,7 @@ FUNCTION {link.tag.open}
if$
}
{
- "https://doi.org/" swap$ *
+ "https://doi.org/" swap$ *
href.command
}
if$
@@ -2644,7 +2643,7 @@ FUNCTION {book}
editor format.key output
}{
format.authors output.nonnull
-% crossref missing$ { editor.check.book } 'skip$ if$
+%% crossref missing$ { editor.check.book } 'skip$ if$
}
if$
new.block.comma
@@ -2975,7 +2974,7 @@ FUNCTION {unpublished}
}
FUNCTION {dataset}
-{
+{
output.bibitem
format.authors "author" output.check
author format.key output
@@ -3037,7 +3036,7 @@ FUNCTION {format.lab.names}
s num.names$ 'numnames :=
numnames 'namesleft :=
{ namesleft #0 > }
- {
+ {
format.name.apply
't :=
nameptr #1 >
@@ -3048,9 +3047,9 @@ FUNCTION {format.lab.names}
numnames
#3
> and
- {
+ {
"others" 't :=
- #1 'namesleft :=
+ #1 'namesleft :=
}
'skip$
if$
diff --git a/Master/texmf-dist/bibtex/bst/revtex/aipauth4-2.bst b/Master/texmf-dist/bibtex/bst/revtex/aipauth4-2.bst
index daa268a6419..1bdd8c8e418 100644
--- a/Master/texmf-dist/bibtex/bst/revtex/aipauth4-2.bst
+++ b/Master/texmf-dist/bibtex/bst/revtex/aipauth4-2.bst
@@ -1396,7 +1396,6 @@ FUNCTION {check.speaker}
if$
}
-
STRINGS { bibinfo}
FUNCTION {format.names.fname}
@@ -1776,7 +1775,7 @@ FUNCTION {format.isbn.output}
}
FUNCTION {format.issn.output}
-{
+{
}
FUNCTION {doi.base}
@@ -1813,7 +1812,7 @@ FUNCTION {link.tag.open}
if$
}
{
- "https://doi.org/" swap$ *
+ "https://doi.org/" swap$ *
href.command
}
if$
@@ -2640,7 +2639,7 @@ FUNCTION {book}
editor format.key output
}{
format.authors output.nonnull
-% crossref missing$ { editor.check.book } 'skip$ if$
+%% crossref missing$ { editor.check.book } 'skip$ if$
}
if$
new.block.comma
@@ -2971,7 +2970,7 @@ FUNCTION {unpublished}
}
FUNCTION {dataset}
-{
+{
output.bibitem
format.authors "author" output.check
author format.key output
@@ -3033,7 +3032,7 @@ FUNCTION {format.lab.names}
s num.names$ 'numnames :=
numnames 'namesleft :=
{ namesleft #0 > }
- {
+ {
format.name.apply
't :=
nameptr #1 >
@@ -3044,9 +3043,9 @@ FUNCTION {format.lab.names}
numnames
#3
> and
- {
+ {
"others" 't :=
- #1 'namesleft :=
+ #1 'namesleft :=
}
'skip$
if$
diff --git a/Master/texmf-dist/bibtex/bst/revtex/aipnum4-2.bst b/Master/texmf-dist/bibtex/bst/revtex/aipnum4-2.bst
index 01be74110a7..bcd4db30794 100644
--- a/Master/texmf-dist/bibtex/bst/revtex/aipnum4-2.bst
+++ b/Master/texmf-dist/bibtex/bst/revtex/aipnum4-2.bst
@@ -1395,7 +1395,6 @@ FUNCTION {check.speaker}
if$
}
-
STRINGS { bibinfo}
FUNCTION {format.names.fname}
@@ -1780,7 +1779,7 @@ FUNCTION {format.isbn.output}
}
FUNCTION {format.issn.output}
-{
+{
}
FUNCTION {doi.base}
@@ -1817,7 +1816,7 @@ FUNCTION {link.tag.open}
if$
}
{
- "https://doi.org/" swap$ *
+ "https://doi.org/" swap$ *
href.command
}
if$
@@ -2644,7 +2643,7 @@ FUNCTION {book}
editor format.key output
}{
format.authors output.nonnull
-% crossref missing$ { editor.check.book } 'skip$ if$
+%% crossref missing$ { editor.check.book } 'skip$ if$
}
if$
new.block.comma
@@ -2975,7 +2974,7 @@ FUNCTION {unpublished}
}
FUNCTION {dataset}
-{
+{
output.bibitem
format.authors "author" output.check
author format.key output
@@ -3037,7 +3036,7 @@ FUNCTION {format.lab.names}
s num.names$ 'numnames :=
numnames 'namesleft :=
{ namesleft #0 > }
- {
+ {
format.name.apply
't :=
nameptr #1 >
@@ -3048,9 +3047,9 @@ FUNCTION {format.lab.names}
numnames
#3
> and
- {
+ {
"others" 't :=
- #1 'namesleft :=
+ #1 'namesleft :=
}
'skip$
if$
diff --git a/Master/texmf-dist/bibtex/bst/revtex/apsrev4-2.bst b/Master/texmf-dist/bibtex/bst/revtex/apsrev4-2.bst
index ab913061715..009b427f256 100644
--- a/Master/texmf-dist/bibtex/bst/revtex/apsrev4-2.bst
+++ b/Master/texmf-dist/bibtex/bst/revtex/apsrev4-2.bst
@@ -1396,7 +1396,6 @@ FUNCTION {check.speaker}
if$
}
-
STRINGS { bibinfo}
FUNCTION {format.names.fname}
@@ -1781,7 +1780,7 @@ FUNCTION {format.isbn.output}
}
FUNCTION {format.issn.output}
-{
+{
}
FUNCTION {doi.base}
@@ -1818,7 +1817,7 @@ FUNCTION {link.tag.open}
if$
}
{
- "https://doi.org/" swap$ *
+ "https://doi.org/" swap$ *
href.command
}
if$
@@ -2701,7 +2700,7 @@ FUNCTION {book}
editor format.key output
}{
format.authors output.nonnull
-% crossref missing$ { editor.check.book } 'skip$ if$
+%% crossref missing$ { editor.check.book } 'skip$ if$
}
if$
new.block.comma
@@ -3028,7 +3027,7 @@ FUNCTION {unpublished}
}
FUNCTION {dataset}
-{
+{
output.bibitem
format.authors "author" output.check
author format.key output
diff --git a/Master/texmf-dist/bibtex/bst/revtex/apsrmp4-2.bst b/Master/texmf-dist/bibtex/bst/revtex/apsrmp4-2.bst
index d7a57cbf69f..ceb71395fb2 100644
--- a/Master/texmf-dist/bibtex/bst/revtex/apsrmp4-2.bst
+++ b/Master/texmf-dist/bibtex/bst/revtex/apsrmp4-2.bst
@@ -1398,7 +1398,6 @@ FUNCTION {check.speaker}
if$
}
-
STRINGS { bibinfo}
FUNCTION {format.names.fname}
@@ -1776,7 +1775,7 @@ FUNCTION {format.isbn.output}
}
FUNCTION {format.issn.output}
-{
+{
}
FUNCTION {doi.base}
@@ -1813,7 +1812,7 @@ FUNCTION {link.tag.open}
if$
}
{
- "https://doi.org/" swap$ *
+ "https://doi.org/" swap$ *
href.command
}
if$
@@ -2625,7 +2624,7 @@ FUNCTION {book}
editor format.key output
}{
format.authors output.nonnull
-% crossref missing$ { editor.check.book } 'skip$ if$
+%% crossref missing$ { editor.check.book } 'skip$ if$
}
if$
format.date.output.check date.block
@@ -2951,7 +2950,7 @@ FUNCTION {unpublished}
}
FUNCTION {dataset}
-{
+{
output.bibitem
format.authors "author" output.check
author format.key output
@@ -3099,7 +3098,7 @@ FUNCTION {calc.label}
control.year #0 > { purify$ #-1 #4 substring$ } 'skip$ if$
}
if$
- "(" swap$ *
+ "(" swap$ *
* 'label :=
}
diff --git a/Master/texmf-dist/doc/latex/revtex/README b/Master/texmf-dist/doc/latex/revtex/README
index f40d9475af1..ff3578c4ef2 100644
--- a/Master/texmf-dist/doc/latex/revtex/README
+++ b/Master/texmf-dist/doc/latex/revtex/README
@@ -1,15 +1,15 @@
%% ****** Start of file README ****** %
%%
%% This file is part of the APS files in the REVTeX 4 distribution.
-%% Version 4.2c of REVTeX, January, 2019.
+%% Version 4.2e of REVTeX, October, 2020.
%%
-%% Copyright (c) 1999-2019 American Physical Society.
+%% Copyright (c) 1999-2020 American Physical Society.
%%
-Last updated 18 January 2019
+Last updated 03 October 2020
This file describes the contents of this distribution of REVTeX 4.2,
-version 4.2c. The definitive source of information about REVTeX 4
+version 4.2d. The definitive source of information about REVTeX 4
is the APS web page http://journals.aps.org/revtex/.
User queries should be directed to revtex@aps.org.
diff --git a/Master/texmf-dist/doc/latex/revtex/aip4-2.pdf b/Master/texmf-dist/doc/latex/revtex/aip4-2.pdf
new file mode 100644
index 00000000000..f09149f7334
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/revtex/aip4-2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/revtex/ltxdocext.pdf b/Master/texmf-dist/doc/latex/revtex/ltxdocext.pdf
new file mode 100644
index 00000000000..61334493f76
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/revtex/ltxdocext.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/revtex/ltxfront.pdf b/Master/texmf-dist/doc/latex/revtex/ltxfront.pdf
new file mode 100644
index 00000000000..85e6950c5da
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/revtex/ltxfront.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/revtex/ltxgrid.pdf b/Master/texmf-dist/doc/latex/revtex/ltxgrid.pdf
new file mode 100644
index 00000000000..f0ebeaa4a25
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/revtex/ltxgrid.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/revtex/ltxutil.pdf b/Master/texmf-dist/doc/latex/revtex/ltxutil.pdf
new file mode 100644
index 00000000000..3e082a972c8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/revtex/ltxutil.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/revtex/revtex4-2.pdf b/Master/texmf-dist/doc/latex/revtex/revtex4-2.pdf
new file mode 100644
index 00000000000..cc916149666
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/revtex/revtex4-2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/revtex/source/aip4-2.pdf b/Master/texmf-dist/doc/latex/revtex/source/aip4-2.pdf
deleted file mode 100644
index 20beefd433f..00000000000
--- a/Master/texmf-dist/doc/latex/revtex/source/aip4-2.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/revtex/source/ltxdocext.pdf b/Master/texmf-dist/doc/latex/revtex/source/ltxdocext.pdf
deleted file mode 100644
index 1bafd39214e..00000000000
--- a/Master/texmf-dist/doc/latex/revtex/source/ltxdocext.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/revtex/source/ltxfront.pdf b/Master/texmf-dist/doc/latex/revtex/source/ltxfront.pdf
deleted file mode 100644
index 263d0760103..00000000000
--- a/Master/texmf-dist/doc/latex/revtex/source/ltxfront.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/revtex/source/ltxgrid.pdf b/Master/texmf-dist/doc/latex/revtex/source/ltxgrid.pdf
deleted file mode 100644
index b293ea8c95a..00000000000
--- a/Master/texmf-dist/doc/latex/revtex/source/ltxgrid.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/revtex/source/ltxutil.pdf b/Master/texmf-dist/doc/latex/revtex/source/ltxutil.pdf
deleted file mode 100644
index 07457ba1a69..00000000000
--- a/Master/texmf-dist/doc/latex/revtex/source/ltxutil.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/revtex/source/revtex4-2.pdf b/Master/texmf-dist/doc/latex/revtex/source/revtex4-2.pdf
deleted file mode 100644
index e1167cd1f0d..00000000000
--- a/Master/texmf-dist/doc/latex/revtex/source/revtex4-2.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/source/latex/revtex/aip4-2.dtx b/Master/texmf-dist/source/latex/revtex/aip4-2.dtx
index 9f949a976c1..2c40254d9d6 100644
--- a/Master/texmf-dist/source/latex/revtex/aip4-2.dtx
+++ b/Master/texmf-dist/source/latex/revtex/aip4-2.dtx
@@ -16,9 +16,10 @@
% installation, typeset this document with \LaTeX.
% Maintenance Status
% This work has the LPPL maintenance status "maintained";
-% Current Maintainer of this work is Arthur Ogawa.
+% Current Maintainer of this work is Arthur Ogawa
+% changes for version 4.2d and 4.2e by Phelype Oleinik.
%
-% Version (4.2c)
+% Version (4.2e)
% Modified by Aptara
%
% This work consists of the main source file aip4-2.dtx
@@ -74,7 +75,7 @@ altering it directly is inadvisable;
instead, modify the original source file.
See the URL in the file README-AIP.
-Copyright (c) 2019 American Institute of Physics.
+Copyright (c) 2019--2020 American Institute of Physics.
mailto:tex@aip.org
Maintained by Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net)
@@ -84,6 +85,9 @@ Version (4.2c)
Modified by Aptara
under contract to American Institute of Physics
+Version (4.2d,4.2e)
+Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org)
+
License
You may distribute this file under the conditions of the
LaTeX Project Public License 1.3c or later
@@ -128,7 +132,6 @@ License
% \fi
%
% \GetFileInfo{aip4-2.dtx}
-% \CheckSum{6707}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -151,14 +154,13 @@ License
%<*package>
%%% @LaTeX-file{
%%% filename = "aip4-2.dtx",
-%%% version = "4.2c",
-%%% date = "2019/01/18",
-%%% time = "14:29:48 GMT-5",
-%%% checksum = "6737",
+%%% version = "4.2e",
+%%% date = "2020/10/03",
%%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
+%%% Phelype Oleinik (mailto:phelype.oleinik at latex-project.org),
%%% commissioned by the American Institute of Physics.
%%% ",
-%%% copyright = "Copyright (C) 2019 American Institute of Physics,
+%%% copyright = "Copyright (C) 2019--2020 American Institute of Physics,
%%% distributed under the terms of the
%%% LaTeX Project Public License 1.3c, see
%%% ftp://ctan.tug.org/macros/latex/base/lppl.txt
@@ -174,7 +176,6 @@ License
%%% keywords = "latex, page grid, main vertical list",
%%% supported = "yes",
%%% abstract = "aip substyle for REVTeX",
-%%% docstring = "The checksum field above generated by ltxdoc",
%%% }
%</package>
% \fi
@@ -261,7 +262,7 @@ License
% \begin{macrocode}
%<*driver|package>
%<version>
- [2019/01/18/14:29:48 4.2c AIP substyle for REVTeX]% \fileversion
+ [2020/10/03 4.2e AIP substyle for REVTeX]% \fileversion
%</driver|package>
% \end{macrocode}
%
@@ -1852,7 +1853,6 @@ generate the needed \file{.bst} files and install them in
% \begin{macrocode}
\def\@journal@default{cha}%
\def\@pointsize@default{12}%
-\@booleanfalse\pagerestrict@sw%
% \end{macrocode}
%
% \subsection{Journal-Specific Code}%
@@ -2236,769 +2236,21 @@ generate the needed \file{.bst} files and install them in
%%
% \end{macrocode}
%
-% \subsubsection{\classoption{Page restriction for APL (currently deactivated)}}%
-% This macro was installed to calculate page-lenght for APL articles. Currently this option is deactivated.
-% \begin{macrocode}
-%% XXXXXXXXXXXXXXXXXXXXXXXXXXX CURRENTLY DEACTIVATED XXXXXXXXXXXXXXXXXXXXXXXXXX
-%% To activate, please add "\@booleantrue\pagerestrict@sw" in the
-%% respective journal option
-%% XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+% \subsubsection{\classoption{Page restriction for APL (removed)}}%
+%
+% This macro was installed to calculate page-lenght for APL articles.
%% Appended by Ms. Sehar Tahir (Aptara) for American Institute of Physics.
%% To impose page restrictions for APL journal at MSP stage.
+%
+% \begin{macrocode}
%%
%% HISTORY
%% Revised page restriction to 4 pages: 05/10/2011
-%% Tweaked the page over length message: 31/10/2011
-\begingroup%
- \catcode`P=12%
- \catcode`T=12%
- \lowercase{%
- \def\x{\def\local@rem@pt##1.##2PT{##1.##2}}}%
- \expandafter\endgroup\x%
-\def\local@strip@pt{\expandafter\local@rem@pt\the}%
+%% Tweaked the page over length message: 31/10/2011
+%% Removed unused page restriction code: 30/09/2020
%%
\DeclareOption{no-pagerestrict}{%
- \@booleanfalse\pagerestrict@sw
-}%
-\appdef\rtx@require@packages{%
-\pagerestrict@sw{% For imposing page restrictions
- \typeout{AIP Info: Appending Manuscript Pages caculations, 2011/05/30}%
- % Default values
- \def\page@allowed{4}% APL Article size limit
- \def\text@ht@allowed{5324pt}% APL Total text height for allowed 4 pages
- \def\page@calc@count{0}% APL Article size limit
- % Message to authors
- \def\msg@text{According to our initial programmatic calculations, your article may exceed APL page length restrictions. The estimated overlength is denoted by the red side bar. In order to avoid production delays, please adjust your text accordingly and replace your manuscript. To assist you with this process, please ensure that your figures, if any, are placed within the text and are the same size that you wish them to appear in the published article.}% Message to be displayed on the top of last page
- \def\msg@runningtitle{% Message definition
- \preprintsty@sw{%
- \@tempdimc\textwidth\advance\@tempdimc-11pt%
- \vtop{\vspace*{-3pc}\fboxsep0pt\fboxrule.5pt\fbox{\fboxsep5pt\colorbox{grayten}{%
- \vtop{\hsize\@tempdimc{{\reset@font\fontsize{9}{11}\def\baselinestretch{1}\leftskip0pt\rightskip0pt\parfillskip0pt plus1fill\selectfont\msg@text\endgraf}}}}}}%
- }{%
- \@tempdimc\textwidth\advance\@tempdimc-7pt%
- \vtop{\vspace*{-2.5pc}\fboxsep0pt\fboxrule.5pt\fbox{\fboxsep3pt\colorbox{grayten}{%
- \vtop{\hsize\@tempdimc{{\reset@font\fontsize{8}{10}\def\baselinestretch{1}\leftskip0pt\rightskip0pt\parfillskip0pt plus1fill\selectfont\msg@text\endgraf}}}}}}}%
- }%
- %
- \RequirePackage{graphicx}%
- \RequirePackage{color}%
- \definecolor{grayten}{gray}{.80}%
- %
- % Taken from refcount.sty
- \def\setrefcountdefault#1{\def\rc@default{#1}}%
- \setrefcountdefault{0}%
- %
- \def\rc@cartwo#1#2#3\@nil{#2}%
- \newcommand*{\rev@getpagerefnumber}[1]{%
- \expandafter\ifx\csname r@#1\endcsname\relax
- \rc@default
- \else
- \expandafter\expandafter\expandafter\rc@cartwo
- \csname r@#1\endcsname\rc@default\rc@default\@nil
- \fi
- }
- \newcommand*{\rev@getrefnumber}[1]{%
- \expandafter\ifx\csname r@#1\endcsname\relax
- \rc@default
- \else
- \expandafter\expandafter\expandafter\@car
- \csname r@#1\endcsname\@nil
- \fi
- }
- % Count determined from \label{...}
- \newcommand\calc@run@count[2][0]{%
- \@ifundefined{r@#2}{\ifnum#1=\z@\@tempcnta\c@page\advance\@tempcnta\m@ne\else\@tempcnta\z@\fi}%
- {\@tempcnta\rev@getpagerefnumber{#2}\relax}}%
- %
- % Taken from everypage.sty
- \newif\iffloats@end\global\floats@endfalse
- \newif\ifextra@rule\global\extra@rulefalse
- %
- \newcommand{\sc@everypage@hook}{}
- \newcommand{\sc@thispage@hook}{}
- \newcommand*{\AddEverypageHook}[1]{%
- \g@addto@macro\sc@everypage@hook{#1}}
- \newcommand*{\AddThispageHook}[1]{%
- \g@addto@macro\sc@thispage@hook{#1}}
- \newcommand*{\sc@ep@init}{%
- \let\sc@op@saved\@outputpage
- \def\@outputpage{%
- \sc@op@preamble
- \sc@op@saved
- \sc@op@postamble}}
- \newcommand*{\sc@op@preamble}{%
- \let\sc@begindvi\@begindvi
- \def\@begindvi{%
- \sc@everypage@hook
- \sc@thispage@hook
- \gdef\sc@thispage@hook{}
- \sc@begindvi}}
- \newcommand*{\sc@op@postamble}{%
- \let\@begindvi\sc@begindvi}
- \AtBeginDocument{\sc@ep@init}
- % Taken from draftwatermark.sty
- \newcommand\sc@colortext[1]{%
- \setlength{\@tempdimb}{0pt}%
- \setlength{\@tempdimc}{-\paperheight}%
- \put(\strip@pt\@tempdimb,\strip@pt\@tempdimc){%
- \textcolor{red}{\rule{30pt}{#1}}
- }}
- % Calculating shift in red side-bar according to pages
- \def\page@mark@shift{%
- \@ifundefined{page@height\romannumeral\the\c@page}{}{%
- \@tempdimc\csname page@height\romannumeral\the\c@page\endcsname\relax%
- \ifdim\@tempdimc>\csname page@mark\romannumeral\the\c@page\endcsname\relax%
- \@tempdimb\textheight\advance\@tempdimb-\csname page@height\romannumeral\the\c@page\endcsname\relax%
- \else%
- \@tempdimb\textheight\advance\@tempdimb-\csname page@mark\romannumeral\the\c@page\endcsname\relax%
- \fi%
- \advance\@tempdima\@tempdimb}}%
- \newcommand\sc@wm@print[1]{\preprintsty@sw{%
- \@tempdima\paperheight\advance\@tempdima-\textheight%
- \divide\@tempdima by 2\advance\@tempdima-7pt\advance\@tempdima1in%
- \floats@sw%
- {\iffloats@end%
- \@ifundefined{r@LastBibItem}{}%
- {\ifnum\c@page<\rev@getpagerefnumber{LastBibItem}\relax%
- \else%
- \page@mark@shift
- \fi}%
- \else%
- \@ifundefined{r@LastPage}{}%
- {\ifnum\c@page=\rev@getpagerefnumber{LastPage}\relax%
- \page@mark@shift
- \fi}%
- \fi}%
- {\@ifundefined{r@EndText}{}%
- {\ifnum\c@page<\rev@getpagerefnumber{EndText}\relax%
- \else%
- \page@mark@shift
- \fi}}}%
- {\@tempdima\paperheight\advance\@tempdima-\textheight%
- \divide\@tempdima by 2\advance\@tempdima9pt\advance\@tempdima1in}%
- \setbox\@tempboxa\vbox to \z@{%
- \vskip-\@tempdima \moveleft 1in \vbox{%
- \hbox to \z@{%
- #1\hss}}\vss}
- \dp\@tempboxa\z@
- \box\@tempboxa}%
- % Printing the red side-bar
- \AddEverypageHook{\def\special@paper{\the\paperwidth,\the\paperheight}\special{papersize=\the\paperwidth,\the\paperheight}%
- \preprintsty@sw{% Preprint
- \@ifundefined{page@mark\romannumeral\the\c@page}{}{%
- \def\tempa{\csname page@mark\romannumeral\the\c@page\endcsname}%
- \sc@wm@print{\sc@colortext{\tempa\relax}}%
- %
- \floats@sw{%
- \iffloats@end\calc@run@count[1]{LastBibItem}\else\calc@run@count[1]{LastPage}\fi%
- }{\ifextra@rule\calc@run@count[1]{LastPage}\else\calc@run@count[1]{EndText}\fi}%
- \ifnum\c@page=\@tempcnta%
- \ifdim\page@calc@count pt>\page@allowed pt\relax%
- \def\@oddhead{\msg@runningtitle}%
- \def\@evenhead{\msg@runningtitle}%
- \fi%
- \fi}}{% Reprint
- \ifnum\c@page>\page@allowed%
- \sc@wm@print{\sc@colortext{\textheight}}%
- \calc@run@count[1]{LastPage}%
- \ifnum\c@page=\@tempcnta%
- \def\@oddhead{\msg@runningtitle}%
- \def\@evenhead{\msg@runningtitle}%
- \fi%
- \fi%
- }}%
- %
- % Print pages = 2*[(MSP Title portion height)/1.98] + (MSP Text height)/1.32 + (MSP Float height)/1.11
- %
- %
- \@booleantrue\tally@box@size@sw % Activated to get hold of various dimensions
- %
- \newif\ifwrite@title\global\write@titletrue%
- %
- \newdimen\val@calc@dim% dimen used to translate MSP height to TSP height
- \newdimen\make@title@dim% dimen storing height of maketitle portion
- \newdimen\tsp@floatheight% dimen storing extra height for large floats
- \newdimen\curr@figbox@ht% dimen storing current figure box height
- \newdimen\curr@floatht%
- \newdimen\curr@floatwidth%
- \newdimen\curr@tot@float@ht%
- \newdimen\curr@page@ht% dimen storing current page height
- %
- \newsavebox{\figbox}%
- %
- \def\name@fig{figure}%
- \def\same@fig{none}%
- \def\in@flt{none}%
- \def\max@pg@ht{0}%
- \def\ptm{ptm}%
- %
- \gdef\@restrict@error#1#2{%
- \GenericError{%
- \space\space\space\@spaces\@spaces\@spaces
- }{%
- LaTeX Error: #1%
- }{%
- A red side-bar will appear along the extra text on the PDF pages. Press `Enter' to continue.%
- }{#2}%
- }%
- \preprintsty@sw{% For Preprint
- % Adding Float height to the height of each page
- \def\add@flt@pght{%
- \@ifundefined{flt@on@page\romannumeral\the\c@page}{}%
- {\@tempdimc\curr@page@ht\advance\@tempdimc\csname flt@on@page\romannumeral\the\c@page\endcsname\relax%
- \ifdim\@tempdimc>\textheight%
- \global\curr@page@ht\textheight%
- \else%
- \global\advance\curr@page@ht\csname flt@on@page\romannumeral\the\c@page\endcsname\relax%
- \fi}%
- \expandafter\xdef\csname page@height\romannumeral\the\c@page\endcsname{\the\curr@page@ht}}%
- % Storing height of each page
- \appdef\@outputpage@head{%
- \floats@sw{%
- \iffloats@end%
- \@ifundefined{r@LastBibHt}%
- {\add@flt@pght}
- {\ifnum\c@page=\rev@getpagerefnumber{LastBibHt}\relax%
- \@tempdima\rev@getrefnumber{LastBibHt}\relax%
- \expandafter\xdef\csname page@height\romannumeral\the\c@page\endcsname{\the\@tempdima}%
- \else%
- \add@flt@pght%
- \fi}%
- \else%
- \add@flt@pght%
- \fi%
- }{%
- \@ifundefined{r@EndText}%
- {\expandafter\xdef\csname page@height\romannumeral\the\c@page\endcsname{\the\curr@page@ht}
- }{\ifnum\c@page=\rev@getpagerefnumber{EndText}\relax%
- \@tempdima\rev@getrefnumber{EndText}\relax%
- \expandafter\xdef\csname page@height\romannumeral\the\c@page\endcsname{\the\@tempdima}%
- \else%
- \expandafter\xdef\csname page@height\romannumeral\the\c@page\endcsname{\the\curr@page@ht}%
- \fi}%
- }%
- \global\curr@page@ht\z@%
- }%
- % Calculating and adding Maketitle portion size (ratio=1.98)
- % Redefined
- \def\show@box@size#1#2{%
- % \show@box@size@sw{%
- \begingroup
- \setbox\z@\vbox{\unvcopy#2\hrule}%
- \show@box@size@sw{%
- \class@info{Show box size: #1^^J%
- (\the\ht\z@\space X \the\wd\z@)
- \the\c@page\space\space\the\pagegrid@cur\space\the\pagegrid@col
- }}{}%
- \global\advance\curr@page@ht\ht\z@%
- \ifwrite@title%
- \@ifundefined{r@FirstPage}{\@tempcnta\the\c@page}%
- {\@tempcnta\rev@getpagerefnumber{FirstPage}\relax}%
- \ifnum\c@page=\@tempcnta
- \global\make@title@dim\ht\z@
- \@tempdima\make@title@dim
- \divide\@tempdima by 198\relax
- \multiply\@tempdima by 100\relax
- \global\advance\val@calc@dim\@tempdima%
- \global\advance\val@calc@dim\@tempdima%
- \global\write@titlefalse%
- \fi%
- \fi%
- \endgroup
- % }{}%
- }%
- % Calculating and adding Float portion size
- % Redefined
- \let\oldincludegraphics\includegraphics%
- \def\includegraphics{%
- \@ifnextchar[%]
- {\two@includegraphics}{\one@includegraphics}}%
- \def\one@includegraphics#1{\savebox{\figbox}{\oldincludegraphics{#1}}\oldincludegraphics{#1}%
- \ifx\in@flt\name@fig%
- \ifx\same@fig\name@fig%
- \@tempdimc\curr@floatwidth\advance\@tempdimc\wd\figbox%
- \ifdim\@tempdimc>\textwidth%
- \ifdim\wd\figbox>\curr@floatwidth%
- \global\curr@floatwidth\wd\figbox%
- \fi%
- \global\advance\curr@figbox@ht\ht\figbox%
- \global\advance\curr@figbox@ht\dp\figbox%
- \else%
- \ifdim\ht\figbox>\curr@figbox@ht%
- \global\curr@figbox@ht\ht\figbox%
- \global\advance\curr@figbox@ht\dp\figbox%
- \fi%
- \global\advance\curr@floatwidth\wd\figbox%
- \fi%
- \else%
- \global\curr@floatwidth\wd\figbox%
- \global\curr@figbox@ht\ht\figbox%
- \global\advance\curr@figbox@ht\dp\figbox%
- \gdef\same@fig{figure}%
- \fi%
- \fi}%
- \def\two@includegraphics[#1]#2{\savebox{\figbox}{\oldincludegraphics[#1]{#2}}\oldincludegraphics[#1]{#2}%
- \ifx\in@flt\name@fig%
- \ifx\same@fig\name@fig%
- \@tempdimc\curr@floatwidth\advance\@tempdimc\wd\figbox%
- \ifdim\@tempdimc>\textwidth%
- \ifdim\wd\figbox>\curr@floatwidth%
- \global\curr@floatwidth\wd\figbox%
- \fi%
- \global\advance\curr@figbox@ht\ht\figbox%
- \global\advance\curr@figbox@ht\dp\figbox%
- \else%
- \ifdim\ht\figbox>\curr@figbox@ht%
- \global\curr@figbox@ht\ht\figbox%
- \global\advance\curr@figbox@ht\dp\figbox%
- \fi%
- \global\advance\curr@floatwidth\wd\figbox%
- \fi%
- \else%
- \global\curr@floatwidth\wd\figbox%
- \global\curr@figbox@ht\ht\figbox%
- \global\advance\curr@figbox@ht\dp\figbox%
- \gdef\same@fig{figure}%
- \fi%
- \fi}%
- % Redefined
- \def\@xfloat#1[#2]{\def\temp{#1}\ifx\temp\name@fig\gdef\in@flt{figure}\fi%
- \@xfloat@prep
- \@nameuse{fp@proc@#2}%
- \floats@sw{\@xfloat@LaTeX{#1}[#2]}{\@xfloat@anchored{#1}[]}%
- }%
- % Autolabelling of floats to get their exact page placement
- \appdef\@floatboxreset{%
- \@ifundefined{float\romannumeral\the\c@page}%
- {\expandafter\xdef\csname float\romannumeral\the\c@page\endcsname{\@ne}%
- \xdef\flt@pg@label{float\romannumeral\the\c@page-\romannumeral\@ne}}%
- {\@tempcnta=\csname float\romannumeral\the\c@page\endcsname\advance\@tempcnta\@ne%
- \expandafter\xdef\csname float\romannumeral\the\c@page\endcsname{\the\@tempcnta}%
- \xdef\flt@pg@label{float\romannumeral\the\c@page-\romannumeral\the\@tempcnta}}%
- \label{\flt@pg@label}}%
- % Defining a pagewise fix for TSP height whereever a float occurs
- \def\tsp@float@fix{%
- \@ifundefined{r@\flt@pg@label}{}%
- {\@tempcnta=\rev@getpagerefnumber{\flt@pg@label}\relax%
- \@ifundefined{flt@ht@fix\romannumeral\the\@tempcnta}%
- {\expandafter\xdef\csname flt@ht@fix\romannumeral\the\@tempcnta\endcsname{\the\@tempdimc}}%
- {\advance\@tempdimc\csname flt@ht@fix\romannumeral\the\@tempcnta\endcsname\relax%
- \expandafter\xdef\csname flt@ht@fix\romannumeral\the\@tempcnta\endcsname{\the\@tempdimc}}}}%
- %
- \floats@sw{%
- % Normal Floats
- \appdef\check@currbox@count{%
- \@ifnum{\count\@currbox>\z@}{%
- % Float height calculation to be added in page height
- \@tempdimb\ht\@currbox\advance\@tempdimb\dp\@currbox%
- \@tempcnta=\rev@getpagerefnumber{\flt@pg@label}\relax%
- \@ifundefined{flt@on@page\romannumeral\the\@tempcnta}%
- {\expandafter\xdef\csname flt@on@page\romannumeral\the\@tempcnta\endcsname{\the\@tempdimb}}%
- {\advance\@tempdimb\csname flt@on@page\romannumeral\the\@tempcnta\endcsname\relax%
- \expandafter\xdef\csname flt@on@page\romannumeral\the\@tempcnta\endcsname{\the\@tempdimb}}%
- %
- \ifx\@captype\name@fig%
- \ifdim\curr@floatwidth>20.5pc%
- \ifdim\curr@floatwidth>30pc% Everything added 2 times for calculating column width
- \@tempdimc\ht\@currbox\advance\@tempdimc\dp\@currbox
- \global\advance\tsp@floatheight\@tempdimc%
- % Calculating equivalent TSP height of each figure
- \tsp@float@fix
- \else%
- \@tempdima\ht\@currbox\advance\@tempdima\dp\@currbox%
- \advance\@tempdima-\curr@figbox@ht%
- \global\advance\curr@tot@float@ht-\@tempdima%
- %
- \global\advance\tsp@floatheight\ht\@currbox%
- \global\advance\tsp@floatheight\dp\@currbox%
- \global\advance\tsp@floatheight-\@tempdima%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@figbox@ht%
- \tsp@float@fix
- \fi%
- \fi%
- \else%
- \@tempdimc\ht\@currbox\advance\@tempdimc\dp\@currbox
- \global\advance\tsp@floatheight\@tempdimc%
- % Calculating equivalent TSP height of each figure
- \tsp@float@fix
- \fi%
- \gdef\in@flt{none}\gdef\same@fig{none}%
- }{}}%
- \def\total@float#1{%
- \expandafter\let
- \expandafter\@tempa
- \csname fbox@\csname ftype@#1\endcsname\endcsname
- \@ifnotrelax\@tempa{%
- \@ifhbox\@tempa{%
- \@tempdima\the\ht\@tempa\divide\@tempdima\@twopowertwo\@tempcnta\@tempdima
- \@tempdimb\the\dp\@tempa\divide\@tempdimb\@twopowertwo\@tempcntb\@tempdimb
- \class@info{Total #1: Column(\the\@tempcnta pt), Page(\the\@tempcntb pt)}%
- \global\advance\curr@tot@float@ht\@tempcnta pt\global\advance\curr@tot@float@ht\@tempcntb pt
- }{}%
- }{}%
- }%
- }{
- % End of document Floats
- \def\strt@flt#1#2#3{\edef\flt@page{#1}\edef\flt@pgtot{#2}\edef\flt@pggoal{#3}}
- % Redefined
- \let\old@xfloat@anchored\@xfloat@anchored
- \def\@xfloat@anchored#1[#2]{\old@xfloat@anchored#1[#2]%
- \floatp@sw{}{\strt@flt{\the\c@page}{\the\pagetotal}{\the\pagegoal}\curr@floatht\pagetotal}}%
- \appdef\end@float@anchored{%
- \floatp@sw{%
- \curr@floatht\pagetotal%
- \ifx\@captype\name@fig%
- \ifdim\curr@floatwidth>20.5pc%
- \ifdim\curr@floatwidth>30pc%
- \global\advance\tsp@floatheight\curr@floatht%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@floatht%
- \tsp@float@fix
- \else%
- \@tempdima\curr@floatht\advance\@tempdima-\curr@figbox@ht%
- \global\advance\curr@tot@float@ht-\@tempdima%
- %
- \global\advance\tsp@floatheight\curr@floatht%
- \global\advance\tsp@floatheight-\@tempdima%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@figbox@ht%
- \tsp@float@fix
- \fi%
- \fi%
- \else%
- \global\advance\tsp@floatheight\curr@floatht%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@floatht%
- \tsp@float@fix
- \fi%
- }{%
- \ifnum\c@page=\flt@page%
- \@tempdima\pagetotal\advance\@tempdima-\curr@floatht%
- \global\curr@floatht\@tempdima%
- \ifx\@captype\name@fig%
- \ifdim\curr@floatwidth>20.5pc%
- \ifdim\curr@floatwidth>30pc%
- \global\advance\tsp@floatheight\curr@floatht%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@floatht%
- \tsp@float@fix
- \else%
- \@tempdimb\curr@floatht\advance\@tempdimb-\curr@figbox@ht%
- \global\advance\curr@tot@float@ht-\@tempdimb%
- %
- \global\advance\tsp@floatheight\curr@floatht%
- \global\advance\tsp@floatheight-\@tempdimb%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@figbox@ht%
- \tsp@float@fix
- \fi%
- \fi%
- \else%
- \global\advance\tsp@floatheight\curr@floatht%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@floatht%
- \tsp@float@fix
- \fi%
- \else%
- \ifx\@captype\name@fig%
- \@tempdima\flt@pggoal\relax\advance\@tempdima-\flt@pgtot\relax
- \ifdim\pagetotal>\@tempdima
- \global\curr@floatht\@tempdima%
- \else%
- \global\curr@floatht\pagetotal%
- \fi%
- \else%
- \@tempdima\flt@pggoal\relax\advance\@tempdima-\flt@pgtot\relax
- \advance\@tempdima\pagetotal%
- \global\curr@floatht\@tempdima%
- \fi%
- \@tempcnta\c@page\advance\@tempcnta-\flt@page\relax%
- \ifnum\@tempcnta>\z@%
- \advance\@tempcnta\m@ne%
- \@whilenum\@tempcnta>\z@\do
- {\global\advance\curr@floatht\pagegoal%
- \advance\@tempcnta\m@ne}
- \fi%
- \ifx\@captype\name@fig%
- \ifdim\curr@floatwidth>20.5pc%
- \global\advance\tsp@floatheight\curr@floatht%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@floatht%
- \tsp@float@fix%
- \fi%
- \else%
- \global\advance\tsp@floatheight\curr@floatht%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@floatht%
- \tsp@float@fix%
- \fi%
- \fi%
- }%
- \global\advance\curr@tot@float@ht\curr@floatht%
- \gdef\in@flt{none}\gdef\same@fig{none}}%
- }% floats
- % Calculating and adding Text portion size
- \def\no@dim@exceed{% TSP dimen should not exceed maxdimen
- \ifx\f@family\ptm%
- \@tempdimc13002.380952pt\relax % 16383pt represented in terms of TSP
- \else%
- \@tempdimc12411.36322pt\relax % 16383pt represented in terms of TSP
- \fi%
- \advance\@tempdimc-\val@calc@dim%
- \ifdim\@tempdima>\@tempdimc%
- \@tempcnta=\max@pg@ht\relax%
- \advance\@tempcnta\@ne%
- \xdef\max@pg@ht{\the\@tempcnta}% Number of batches eq to maxdimen
- \ifx\f@family\ptm%
- \global\advance\val@calc@dim-13002.380952pt\relax % 16383pt represented in terms of TSP
- \else%
- \global\advance\val@calc@dim-12411.36322pt\relax % 16383pt represented in terms of TSP
- \fi%
- \global\advance\val@calc@dim\@tempdima%
- \else%
- \global\advance\val@calc@dim\@tempdima%
- \fi}%
- \appdef\total@text{%
- % Avoiding the \maxdimen error
- % Divided the text height in batches of 16383pt (less than maxdimen)
- \@tempcnta=\z@%
- \@whilenum\@tempcntb>16383\relax%
- \do{%
- \advance\@tempcntb-16383\relax%
- \advance\@tempcnta\@ne%
- }%
- \xdef\max@pg@ht{\the\@tempcnta}% Number of batches eq to maxdimen
- % Text height calculation
- \@tempdima\the\@tempcntb pt
- \advance\@tempdima-\make@title@dim%
- % Main macro
- \floats@sw{}{%
- % Text height calculation for end of doc floats
- \advance\@tempdima-\curr@tot@float@ht}%
- % Storing value of available MSP text height for future reference
- \@tempdimb\@tempdima%
- % Text TSP ratio
- \ifx\f@family\ptm% ratio=1.26
- \divide\@tempdima by 126\relax
- \multiply\@tempdima by 100\relax
- \else% ratio=1.32
- \divide\@tempdima by 132\relax
- \multiply\@tempdima by 100\relax
- \fi%
- \global\advance\val@calc@dim\@tempdima%
- % Floats height and TSP ratio (ratio=1.11)
- \@tempdima\curr@tot@float@ht%
- \divide\@tempdima by 111\relax
- \multiply\@tempdima by 100\relax
- % Checking and adding the Float height dimen
- \no@dim@exceed
- %
- \ifdim\tsp@floatheight>\z@
- \@tempdima\tsp@floatheight%
- \divide\@tempdima by 111\relax
- \multiply\@tempdima by 100\relax
- % Checking and adding the TSP Float height dimen
- \no@dim@exceed
- %
- \fi%
- % Extra Text height calculation
- \@tempdima\val@calc@dim\advance\@tempdima-\text@ht@allowed\relax
- \ifx\f@family\ptm% ratio=1.26
- \divide\@tempdima by 100\relax
- \multiply\@tempdima by 126\relax
- \else% ratio=1.32
- \divide\@tempdima by 100\relax
- \multiply\@tempdima by 132\relax
- \fi%
- % Adding extra batches of text (if required)
- \@tempcntb=\max@pg@ht\relax
- \ifnum\@tempcntb>\z@%
- \@tempcnta16383\relax
- \multiply\@tempcnta\@tempcntb\relax
- \typeout{AIP Info: Extra Typeset Text: \the\@tempdima+\the\@tempcnta pt}%
- %
- \@tempdimc\@tempdima%
- \advance\@tempdimc-\@tempdimb%
- \ifdim\@tempdimc>\z@%
- \global\extra@ruletrue\immediate\write\@mainaux{\string\global\string\extra@ruletrue}%
- \else%
- \advance\@tempdimc16383pt\relax
- \ifdim\@tempdimc>\z@%
- \global\extra@ruletrue\immediate\write\@mainaux{\string\global\string\extra@ruletrue}%
- \fi%
- \fi%
- \else%
- \ifdim\@tempdima>\z@\typeout{AIP Info: Extra Typeset Text: \the\@tempdima}\fi%
- \@tempdimc\@tempdima
- \advance\@tempdimc-\@tempdimb%
- \ifdim\@tempdimc>\z@%
- \global\extra@ruletrue%
- \fi%
- \fi%
- % Rule calculation loop
- % Modifying the rule height
- \@tempcntb=\max@pg@ht\relax
- \ifnum\@tempcntb>\z@
- \loop\ifdim\@tempdima>\z@\else\do
- \advance\@tempdima16383pt\relax
- \advance\@tempcntb\m@ne
- \repeat
- \fi%
- % Rule generation
- % Set the count for loop
- \ifdim\@tempdima>\z@
- % Resetting the value of loop count (\@tempcnta)
- \ifextra@rule%
- \calc@run@count{LastPage}%
- \else%
- \floats@sw{%
- \iffloats@end\calc@run@count{LastBibItem}\else\calc@run@count{LastPage}\fi%
- }{\calc@run@count{EndText}}%
- \fi%
- % Storing the value of Start of Loop run count
- \ifextra@rule\xdef\loop@count{\rev@getpagerefnumber{LastBibItem}}\else\xdef\loop@count{\the\@tempcnta}\fi%
- % Count of last page of rule
- \def\rule@display{% Total rule dim(\@tempdima) > current page height (already known till here)
- \ifnum\@tempcnta<\loop@count\relax%
- \@tempdimb\textheight%
- \else%
- \@tempdimb\csname page@height\romannumeral\the\@tempcnta\endcsname\relax%
- \fi%
- }%
- % Loop
- \@whilenum\@tempcnta>\z@%
- \do{%
- \@ifundefined{page@height\romannumeral\the\@tempcnta}{}%
- {\global\advance\@tempdima-\csname page@height\romannumeral\the\@tempcnta\endcsname\relax}%
- \ifdim\@tempdima>\z@ % Rule spans complete page
- % Fixing rule height w.r.t Float on the page
- \@ifundefined{flt@ht@fix\romannumeral\the\@tempcnta}{}%
- {\global\advance\@tempdima-\csname flt@ht@fix\romannumeral\the\@tempcnta\endcsname\relax}%
- \ifdim\@tempdima>\z@%
- \@ifundefined{page@height\romannumeral\the\@tempcnta}%
- {\@tempdimb\z@}%
- {\rule@display}%
- \else% Rule dimen less than 0 after float fix
- % Including maxdimens
- \ifnum\@tempcntb>\z@%
- \advance\@tempcntb\m@ne%
- \advance\@tempdima16383pt\relax%
- \@ifundefined{page@height\romannumeral\the\@tempcnta}%
- {\@tempdimb\z@}%
- {\ifdim\@tempdima>\z@%
- \rule@display%
- \else%
- \divide\@tempdima by \tw@%
- \@tempdimb\csname page@height\romannumeral\the\@tempcnta\endcsname\relax%
- \advance\@tempdimb\@tempdima%
- \@tempdima=\z@% Exiting the loop
- \fi}%
- \else%
- \divide\@tempdima by \tw@%
- \@tempdimb\csname page@height\romannumeral\the\@tempcnta\endcsname\relax%
- \advance\@tempdimb\@tempdima%
- \@tempdima=\z@% Exiting the loop
- \fi%
- \fi%
- \if@filesw
- \immediate\write\@mainaux{\expandafter\string\xdef\expandafter\string\csname page@mark\romannumeral\the\@tempcnta\endcsname{\the\@tempdimb}}%
- \fi%
- \else% Rule length is less than page height
- % Including maxdimens
- \ifnum\@tempcntb>\z@%
- \advance\@tempcntb\m@ne%
- \advance\@tempdima16383pt\relax%
- % Fixing rule height w.r.t Float on the page
- \@ifundefined{flt@ht@fix\romannumeral\the\@tempcnta}{}%
- {\global\advance\@tempdima-\csname flt@ht@fix\romannumeral\the\@tempcnta\endcsname\relax}%
- \ifdim\@tempdima>\z@%
- \@ifundefined{page@height\romannumeral\the\@tempcnta}%
- {\@tempdimb\z@}%
- {\rule@display}%
- \else%
- \divide\@tempdima by \tw@%
- \@tempdimb\csname page@height\romannumeral\the\@tempcnta\endcsname\relax%
- \advance\@tempdimb\@tempdima%
- \@tempdima=\z@% Exiting the loop
- \fi%
- \else%
- \@ifundefined{page@height\romannumeral\the\@tempcnta}%
- {\@tempdimb\z@}%
- {\@tempdimb\csname page@height\romannumeral\the\@tempcnta\endcsname\relax}%
- \advance\@tempdimb\@tempdima%
- \fi%
- \ifdim\@tempdimb>\z@%
- \if@filesw
- \immediate\write\@mainaux{\expandafter\string\xdef\expandafter\string\csname page@mark\romannumeral\the\@tempcnta\endcsname{\the\@tempdimb}}%
- \fi%
- \fi%
- \fi%
- \ifdim\@tempdimb>\z@\advance\@tempcnta\m@ne\else\@tempcnta=\z@\fi%
- \ifnum\@tempcnta=\z@\@tempdima=\z@\fi%
- }%
- \fi
- % Representing MSP text height in terms of TSP pages
- \@tempdima\val@calc@dim
- \divide\@tempdima by 6655\relax % in terms of textheight of TSP
- \multiply\@tempdima by 10\relax
- \divide\@tempdima by 2\relax
- \global\val@calc@dim\@tempdima%
- % If maxdimens
- \@tempcnta=\max@pg@ht\relax
- \@whilenum\@tempcnta>\z@
- \do{%
- \advance\@tempcnta\m@ne
- \ifx\f@family\ptm%
- \@tempdima13002.380952pt\relax % 16383pt represented in terms of TSP
- \else%
- \@tempdima12411.36322pt\relax % 16383pt represented in terms of TSP
- \fi%
- \divide\@tempdima by 6655\relax
- \multiply\@tempdima by 10\relax
- \divide\@tempdima by 2\relax
- \global\advance\val@calc@dim\@tempdima
- }%
- \xdef\page@calc@count{\local@strip@pt\val@calc@dim}%
- \immediate\write\@mainaux{\string\xdef\string\page@calc@count{\page@calc@count}}
- \if@filesw%
- \typeout{AIP Info: Typeset pages: \page@calc@count}%
- \ifdim\val@calc@dim>\page@allowed pt\relax
- \@restrict@error{Your text appears to exceed the APL page limit.^^JPlease reduce the length of your article to avoid publication delays}{AIP recommendation: Please reduce your article length.}
- \fi%
- \fi%
- }% end \total@text
- %
- \prepdef\printfigures{\@booleantrue\lengthcheck@sw%
- \floats@sw{}%
- {\ifdim\pagetotal=\z@%
- \@tempcntb=\the\c@page%
- \loop%
- \advance\@tempcntb\m@ne%
- \ifdim\csname page@height\romannumeral\the\@tempcntb\endcsname>\z@\else\do%
- \repeat%
- \@bsphack%
- \protected@write\@auxout{}{\string\newlabel{EndText}{{\csname page@height\romannumeral\the\@tempcntb\endcsname}{\the\@tempcntb}}}%
- \@esphack%
- \else%
- \def\@currentlabel{\the\pagetotal}\label{EndText}%
- \fi}}%
- %
- \floats@sw{\appdef\endNAT@thebibliography{%
- \ifnum\c@figure=\z@%
- \ifnum\c@table=\z@%
- \global\floats@endtrue\immediate\write\@mainaux{\string\global\string\floats@endtrue}%
- \def\@currentlabel{\the\pagetotal}\label{LastBibHt}%
- \fi\fi}}{}
- % end preprint
- }{% For Reprint
- \gappdef\class@enddocumenthook{%
- \calc@run@count[1]{LastPage}%
- \ifnum\@tempcnta>\page@allowed\relax
- \@restrict@error{Your text appears to exceed the APL page limit.^^JPlease reduce the length of your article to avoid publication delays}{AIP recommendation: Please reduce your article length.}
- \fi}%
- }% reprint
- }{}%
+ \class@warn{Deprecated pagerestrict code. Option 'no-pagerestrict' was ignored.}}%
% \end{macrocode}
% End of \classoption{apl} pagerestriction code.
%
@@ -3010,6 +2262,7 @@ generate the needed \file{.bst} files and install them in
%%
%% JMP, BMF and RSE journal's to be as one column at Reprint stage
%%
+\appdef\rtx@require@packages{%
\def\jnl@rse{rse}%
\def\jnl@jmp{jmp}%
\preprintsty@sw{}%
diff --git a/Master/texmf-dist/source/latex/revtex/ltxdocext.dtx b/Master/texmf-dist/source/latex/revtex/ltxdocext.dtx
index bb045ed3cf4..d3d8b772f56 100644
--- a/Master/texmf-dist/source/latex/revtex/ltxdocext.dtx
+++ b/Master/texmf-dist/source/latex/revtex/ltxdocext.dtx
@@ -83,7 +83,7 @@ License
\file{ltxdocext.sty}{%
\from{ltxdocext.dtx}{package,kernel}%
}%
- \file{acrofont.sty}{\from{ltxdocext.dtx}{fonts}}%
+ % \file{acrofont.sty}{\from{ltxdocext.dtx}{fonts}}%
}%
\ifToplevel{
\Msg{***********************************************************}
@@ -107,7 +107,7 @@ License
%</ignore>
% \fi
%
-% \GetFileInfo{ltxdocext.dtx}\CheckSum{955}
+% \GetFileInfo{ltxdocext.dtx}
%
% \iffalse ltxdoc klootch
%<*ltxdocext>
@@ -115,8 +115,6 @@ License
%%% filename = "ltxdocext.dtx",
%%% version = "1.0a",
%%% date = "2018/12/26",
-%%% time = "17:10:03 GMT-5",
-%%% checksum = "955",
%%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
%%% commissioned by the American Physical Society.
%%% ",
@@ -134,7 +132,6 @@ License
%%% keywords = "latex, ltxdoc",
%%% supported = "yes",
%%% abstract = "extensions to the ltxdoc class",
-%%% docstring = "The checksum field above generated by ltxdoc",
%%% }
%</ltxdocext>
% \fi
@@ -218,7 +215,7 @@ License
% typeset documentation.
% \begin{macrocode}
%<version>
- [2018/12/26/17:10:03 1.0a ltxdoc extensions package]% \fileversion
+ [2018/12/26 1.0a ltxdoc extensions package]% \fileversion
% \end{macrocode}
%
%
diff --git a/Master/texmf-dist/source/latex/revtex/ltxfront.dtx b/Master/texmf-dist/source/latex/revtex/ltxfront.dtx
index 1eefb7c72cd..86dc0f3f4f7 100644
--- a/Master/texmf-dist/source/latex/revtex/ltxfront.dtx
+++ b/Master/texmf-dist/source/latex/revtex/ltxfront.dtx
@@ -108,16 +108,14 @@ License
%</ignore>
% \fi
%
-% \GetFileInfo{ltxfront.dtx}\CheckSum{2094}
+% \GetFileInfo{ltxfront.dtx}
%
% \iffalse ltxdoc klootch
%<*package>
%%% @LaTeX-file{
%%% filename = "ltxfront.dtx",
-%%% version = "4.2c",
-%%% date = "2019/01/18",
-%%% time = "14:29:48 UT-5",
-%%% checksum = "2012",
+%%% version = "4.2e",
+%%% date = "2020/10/03",
%%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
%%% commissioned by the American Physical Society.
%%% ",
@@ -135,7 +133,6 @@ License
%%% keywords = "latex, page grid, main vertical list",
%%% supported = "yes",
%%% abstract = "package to change page grid, MVL",
-%%% docstring = "The checksum field above generated by ltxdoc",
%%% }
%</package>
% \fi
@@ -219,7 +216,7 @@ ltxfront%
% \begin{macrocode}
%<*doc|package|kernel>
%<version>
- [2019/01/18/14:29:48 4.2c frontmatter package (AO,DPC,MD)]% \fileversion
+ [2020/10/03 4.2e frontmatter package (AO,DPC,MD)]% \fileversion
%</doc|package|kernel>
%<kernel&!package&!doc>}%
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/revtex/ltxgrid.dtx b/Master/texmf-dist/source/latex/revtex/ltxgrid.dtx
index e391f9f2eb9..6d0c659db79 100644
--- a/Master/texmf-dist/source/latex/revtex/ltxgrid.dtx
+++ b/Master/texmf-dist/source/latex/revtex/ltxgrid.dtx
@@ -15,7 +15,8 @@
% installation, typeset this document with \LaTeX.
% Maintenance Status
% This work has the LPPL maintenance status "maintained";
-% Current Maintainer of this work is Arthur Ogawa.
+% Current Maintainer of this work is Arthur Ogawa
+% changes for version 4.2d and 4.2e by Phelype Oleinik.
%
% This work consists of the main source file ltxgrid.dtx
% and the derived files
@@ -108,17 +109,16 @@ License
%</ignore>
% \fi
%
-% \GetFileInfo{ltxgrid.dtx}\CheckSum{5898}
+% \GetFileInfo{ltxgrid.dtx}
%
% \iffalse ltxdoc klootch
%<*package>
%%% @LaTeX-file{
%%% filename = "ltxgrid.dtx",
-%%% version = "4.2c",
-%%% date = "2019/01/18",
-%%% time = "14:29:48 UT-5",
-%%% checksum = "5462",
+%%% version = "4.2e",
+%%% date = "2020/10/03",
%%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
+%%% Phelype Oleinik (mailto:phelype.oleinik at latex-project.org),
%%% commissioned by the American Physical Society.
%%% ",
%%% copyright = "Copyright (C) 1999, 2009 Arthur Ogawa,
@@ -135,7 +135,6 @@ License
%%% keywords = "latex, page grid, main vertical list",
%%% supported = "yes",
%%% abstract = "package to change page grid, MVL",
-%%% docstring = "The checksum field above generated by ltxdoc",
%%% }
%</package>
% \fi
@@ -231,7 +230,7 @@ ltxgrid%
% \begin{macrocode}
%<*doc|package|kernel>
%<version>
- [2019/01/18/14:29:48 4.2c page grid package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
+ [2020/10/03 4.2e page grid package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
%</doc|package|kernel>
%<kernel&!package&!doc>}%
% \end{macrocode}
@@ -321,7 +320,7 @@ ltxgrid%
last revised \filedate.%
}%
\thanks{%
- Version \fileversion\ \copyright\ 2019 American Physical Society
+ Version \fileversion\ \copyright\ 2019--2020 American Physical Society
}%
}%
\author{%
@@ -453,7 +452,8 @@ now put a \cmd\usepackage\texttt{\{ltxgrid\}} in your document preamble!
\changes{4.1o}{2010/02/02}{(AO, 576) Allow \classname{lscape} to act on \cs{@outputbox} at the right time}%
\changes{4.1p}{2010/02/24}{(AO, 583) Provide setup code also for footnotes in a one-column document}%
\changes{4.2a}{2018/12/12}{(MD) Updated name of README file and use standard fonts when typesetting}%
-
+\changes{4.2d}{2020/09/19}{(PHO) Adapt \cs{document} and \cs{enddocument} hooks to the 2020-10-01 \LaTeX{} release.}%
+\changes{4.2d}{2020/09/30}{(PHO) Correct \cs{@normalcr} patch for \LaTeX{} 2020-02-02 and later.}%
\end{filecontents*}
% \end{macrocode}
%
@@ -5127,12 +5127,22 @@ now put a \cmd\usepackage\texttt{\{ltxgrid\}} in your document preamble!
% FIXME: it should be the job of the page grid to determine the procedure to execute at
% the start of the job. Make this a hook.
% \begin{macrocode}
-\prepdef\@begindocumenthook{%
- \open@column@one\@ne
- \set@colht
- \@floatplacement
- \@dblfloatplacement
-}%
+\rvtx@ifformat@geq{2020-10-01}%
+ {%
+ \AddToHook{begindocument}{%
+ \open@column@one\@ne
+ \set@colht
+ \@floatplacement
+ \@dblfloatplacement
+ }%
+ }{%
+ \prepdef\@begindocumenthook{%
+ \open@column@one\@ne
+ \set@colht
+ \@floatplacement
+ \@dblfloatplacement
+ }%
+ }
% \end{macrocode}
% \end{macro}
%
@@ -6206,6 +6216,14 @@ now put a \cmd\usepackage\texttt{\{ltxgrid\}} in your document preamble!
%
% Next, we provide for line-wise processing by patching the procedures associated with these same three commands.
%
+% Depending on the running version of \LaTeX, these commands use \cs{vskip} (before 2020-10-01), or
+% \cs{@vspace@calcify} to add \textsf{calc}-like support in the kernel. To avoid duplicating the tests,
+% define a macro \cs{@tempa} that takes the right form of the primitive spacing command and defines \LaTeX's
+% spacing macros accordingly.
+% \begin{macrocode}
+\def\@tempa#1{%
+% \end{macrocode}
+%
% There are exactly four core \LaTeX\ procedures that use \cmd\vadjust\ to insert vertical mode material
% into the main vertical list: \cmd\vspace, \cmd\pagebreak, \cmd\nopagebreak, and \cmd\\.
% Other commands may use \cmd\vadjust, but they are inserting an interrupt (via a penalty${}<10000$),
@@ -6217,29 +6235,32 @@ now put a \cmd\usepackage\texttt{\{ltxgrid\}} in your document preamble!
%
% The first procedure is \cmd\@vspace, here shown in original form and in the patched alternative form.
% This procedure and \cmd\@vspacer\ implement the \cmd\vspace\ command.
+%
% \begin{macrocode}
-\def\@vspace@org #1{%
+\def\@vspace@org ##1{%
\ifvmode
- \vskip #1
+ #1% \vskip #1
\vskip\z@skip
\else
\@bsphack
\vadjust{\@restorepar
- \vskip #1
+ #1% \vskip #1
\vskip\z@skip
}%
\@esphack
\fi
}%
-\def\@vspace@ltx#1{%
+\def\@vspace@ltx##1{%
\@ifvmode{%
- \vskip#1\vskip\z@skip
+ #1% \vskip #1
+ \vskip\z@skip
}{%
\@bsphack
\ex@vadjust@ltx{%
\@restorepar
\nobreak
- \vskip#1\vskip\z@skip
+ #1% \vskip #1
+ \vskip\z@skip
}%
\@esphack
}%
@@ -6248,12 +6269,12 @@ now put a \cmd\usepackage\texttt{\{ltxgrid\}} in your document preamble!
%
% The second procedure is \cmd\@vspacer.
% \begin{macrocode}
-\def\@vspacer@org#1{%
+\def\@vspacer@org##1{%
\ifvmode
\dimen@\prevdepth
\hrule \@height\z@
\nobreak
- \vskip #1
+ #1%\vskip #1
\vskip\z@skip
\prevdepth\dimen@
\else
@@ -6261,17 +6282,18 @@ now put a \cmd\usepackage\texttt{\{ltxgrid\}} in your document preamble!
\vadjust{\@restorepar
\hrule \@height\z@
\nobreak
- \vskip #1
+ #1%\vskip #1
\vskip\z@skip}%
\@esphack
\fi
}%
-\def\@vspacer@ltx#1{%
+\def\@vspacer@ltx##1{%
\@ifvmode{%
\dimen@\prevdepth
\hrule\@height\z@
\nobreak
- \vskip#1\vskip\z@skip
+ #1%\vskip#1
+ \vskip\z@skip
\prevdepth\dimen@
}{%
\@bsphack
@@ -6279,13 +6301,22 @@ now put a \cmd\usepackage\texttt{\{ltxgrid\}} in your document preamble!
\@restorepar
\hrule\@height\z@
\nobreak
- \vskip#1\vskip\z@skip
+ #1%\vskip#1
+ \vskip\z@skip
}%
\@esphack
}%
}%
% \end{macrocode}
%
+% Now define the macros above conditionally depending on the \LaTeX version.
+% \begin{macrocode}
+}
+\rvtx@ifformat@geq{2020/10/01}%
+ {\@tempa{\@vspace@calcify{#1}}}%
+ {\@tempa{\vskip #1 }}%
+% \end{macrocode}
+%
% The procedure \cmd\@no@pgbk\ implements both \cmd\pagebreak\ and \cmd\nopagebreak.
% \begin{macrocode}
\def\@no@pgbk@org #1[#2]{%
@@ -6319,8 +6350,10 @@ now put a \cmd\usepackage\texttt{\{ltxgrid\}} in your document preamble!
%
% Here is the original core \LaTeX\ definition for
% the procedure involved, along with our revised version.
+% \changes{2020/09/30}{4.2d}{Conditionally use \cs{protected} or \cs{long} to track \LaTeX{} changes.}
% \begin{macrocode}
-\long\def\end@line@org{%
+\rvtx@ifformat@geq{2020/02/02}%
+{\protected}{\long}\def\end@line@org{%
\let\reserved@e\relax
\let\reserved@f\relax
\@ifstar{%
@@ -6330,7 +6363,8 @@ now put a \cmd\usepackage\texttt{\{ltxgrid\}} in your document preamble!
}%
\@xnewline
}%
-\long\def\end@line@ltx{%
+\rvtx@ifformat@geq{2020/02/02}%
+{\protected}{\long}\def\end@line@ltx{%
\let\reserved@e\relax
\let\reserved@f\relax
\@ifstar{%
@@ -6345,14 +6379,19 @@ now put a \cmd\usepackage\texttt{\{ltxgrid\}} in your document preamble!
% An additional procedure requiring patching has the following original core \LaTeX\
% definition; we modify it correspondingly.
% \begin{macrocode}
-\def\@newline@org[#1]{%
- \let\reserved@e\vadjust
- \@gnewline{\vskip#1}%
-}%
-\def\@newline@ltx[#1]{%
- \let\reserved@e\ex@vadjust@ltx
- \@gnewline{\vskip#1}%
-}%
+\def\@tempa#1{%
+ \def\@newline@org[##1]{%
+ \let\reserved@e\vadjust
+ \@gnewline{#1}% \vskip#1
+ }%
+ \def\@newline@ltx[##1]{%
+ \let\reserved@e\ex@vadjust@ltx
+ \@gnewline{#1}% \vskip#1
+ }%
+}
+\rvtx@ifformat@geq{2020/10/01}%
+ {\@tempa{\@vspace@calcify{#1}}}%
+ {\@tempa{\vskip #1}}%
% \end{macrocode}
% We now install our patches.
% If some package overrides these macros, we will detect and complain.
@@ -6362,8 +6401,13 @@ now put a \cmd\usepackage\texttt{\{ltxgrid\}} in your document preamble!
\@ifx{\@vspacer\@vspacer@org}{%
\@ifx{\@no@pgbk\@no@pgbk@org}{%
\@ifx{\@newline\@newline@org}{%
- \expandafter\@ifx\expandafter{\csname\expandafter\@gobble\string\\ \endcsname\end@line@org}{%
- \true@sw
+ \expandafter\@ifx\expandafter{%
+ \csname\rvtx@ifformat@geq{2020/02/02}%
+ {\expandafter\@gobble\string\\}%
+ {\expandafter\@gobble\string\\ }\endcsname
+ \end@line@org
+ }{%
+ \true@sw
}{\false@sw}%
}{\false@sw}%
}{\false@sw}%
@@ -6372,7 +6416,10 @@ now put a \cmd\usepackage\texttt{\{ltxgrid\}} in your document preamble!
{%
\class@info{Overriding \string\@vspace, \string\@vspacer, \string\@no@pgbk, \string\@newline, and \string\\ }%
\let\@normalcr\end@line@ltx
- \expandafter\let\csname\expandafter\@gobble\string\\ \endcsname\@normalcr
+ \expandafter\let
+ \csname\rvtx@ifformat@geq{2020/02/02}%
+ {\expandafter\@gobble\string\\}%
+ {\expandafter\@gobble\string\\ }\endcsname\@normalcr
\let\@newline\@newline@ltx
\let\@vspace\@vspace@ltx
\let\@vspacer\@vspacer@ltx
diff --git a/Master/texmf-dist/source/latex/revtex/ltxutil.dtx b/Master/texmf-dist/source/latex/revtex/ltxutil.dtx
index 1ca98f82cc0..4ce6464c839 100644
--- a/Master/texmf-dist/source/latex/revtex/ltxutil.dtx
+++ b/Master/texmf-dist/source/latex/revtex/ltxutil.dtx
@@ -15,7 +15,8 @@
% installation, typeset this document with \LaTeX.
% Maintenance Status
% This work has the LPPL maintenance status "maintained";
-% Current Maintainer of this work is Arthur Ogawa.
+% Current Maintainer of this work is Arthur Ogawa
+% changes for version 4.2d and 4.2e by Phelype Oleinik.
%
% This work consists of the main source file ltxutil.dtx
% and the derived files
@@ -108,17 +109,16 @@ License
%</ignore>
% \fi
%
-% \GetFileInfo{ltxutil.dtx}\CheckSum{4291}
+% \GetFileInfo{ltxutil.dtx}
%
% \iffalse ltxdoc klootch
%<*package>
%%% @LaTeX-file{
%%% filename = "ltxutil.dtx",
-%%% version = "4.2c",
-%%% date = "2019/01/18",
-%%% time = "14:29:48 UT-5",
-%%% checksum = "4291",
+%%% version = "4.2e",
+%%% date = "2020/10/03",
%%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
+%%% Phelype Oleinik (mailto:phelype.oleinik at latex-project.org),
%%% commissioned by the American Physical Society. Minor changes by Mark Doyle for version 4.2a-c.
%%% ",
%%% copyright = "Copyright (C) 1999, 2009 Arthur Ogawa,
@@ -135,7 +135,6 @@ License
%%% keywords = "latex, page grid, main vertical list",
%%% supported = "yes",
%%% abstract = "utilities package",
-%%% docstring = "The checksum field above generated by ltxdoc",
%%% }
%</package>
% \fi
@@ -224,7 +223,7 @@ ltxutil%
% \begin{macrocode}
%<*doc|package|kernel>
%<version>
- [2019/01/18/14:29:48 4.2c utilities package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
+ [2020/10/03 4.2e utilities package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
%</doc|package|kernel>
%<kernel&!package&!doc>}%
% \end{macrocode}
@@ -259,6 +258,10 @@ ltxutil%
\RequirePackage{ltxdocext}%
\let\url\undefined
\RequirePackage[colorlinks=true,linkcolor=blue]{hyperref}%
+\pdfstringdefDisableCommands{%
+ \let\file\relax
+ \let\sc\relax
+}
%\expandafter\ifx\csname package@font\endcsname\@undefined\else
% \expandafter\RequirePackage\expandafter{\csname package@font\endcsname}%
%\fi
@@ -310,7 +313,7 @@ ltxutil%
last revised \filedate.%
}%
\thanks{%
- Version \fileversion\ \copyright\ 2019 American Physical Society
+ Version \fileversion\ \copyright\ 2019--2020 American Physical Society
}%
}%
\author{%
@@ -451,6 +454,7 @@ now put a \cmd\usepackage\texttt{\{ltxutil\}} in your document preamble!
\changes{4.1p}{2010/02/24}{(AO, 582) A patch of \classname{hyperref.sty} to provide backward compatibility to \TeX Live 2007's version 6.75r}%
\changes{4.2a}{2017/11/21}{(MD) Use updated best practice to use https and doi.org}%
\changes{4.2a}{2018/12/12}{(MD) Updated name of README file and use standard fonts when typesetting}%
+\changes{4.2d}{2020/09/19}{(PHO) Adapt \cs{document} and \cs{enddocument} hooks to the 2020-10-01 \LaTeX{} release.}%
\end{filecontents*}
% \end{macrocode}
@@ -786,6 +790,22 @@ now put a \cmd\usepackage\texttt{\{ltxutil\}} in your document preamble!
% \end{macro}
% \end{macro}
%
+% \begin{macro}{\rvtx@ifformat@geq}
+% Some changes in the \LaTeX{} kernel requires us to conditionally
+% define some macros depending on the version of the kernel.
+% \cmd\rvtx@ifformat@geq{} will check if the release date of the
+% currently-running \LaTeXe{} kernel is greater or equal to the
+% argument (the argument should be in the format \texttt{yyyy-mm-dd}).
+% \changes{4.2d}{2020/09/17}{(PHO) Add \cs{rvtx@ifformat@geq}.}%
+% \begin{macrocode}
+\ifx\IfFormatAtLeastTF\undefined
+ \def\rvtx@ifformat@geq{\@ifl@t@r\fmtversion}%
+\else
+ \let\rvtx@ifformat@geq\IfFormatAtLeastTF
+\fi
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\@boolean}
% \begin{macro}{\@boole@def}
% In order to define \cmd\@ifx, we first must create the
@@ -931,25 +951,35 @@ now put a \cmd\usepackage\texttt{\{ltxutil\}} in your document preamble!
% column grid command at \cmd\AtBeginDocument\ time, since the MVL has nothing in it
% at that time that would be problematical.
%
-% The facility depends on the stability of this part
-% of \LaTeX's kernel code (the first token of \cmd\document),
-% which could change, you see. But considering that \LaTeX\ is
-% at this point essentially stagnant once more, we risk it.
-%
% \begin{macro}{\document}
% We begin by installing hooks into \cmd\document\ that
% we will manage ourselves.
-% First, we do as \cmd\document\ does: end the group
-% begun by \cmd\begin. Last, we conclude our shenanigans by absorbing
+%
+% The 2020-10-01 \LaTeX{} release got a new hook management system and
+% several new hooks (several previously provided by \textsf{etoolbox}).
+% The one we want here is \texttt{begindocument/before}, the first thing
+% executed by \cmd\document{}, right after ending the group started by
+% \cmd\begin{}.
+%
+% Thus, if the \LaTeX{} kernel date is 2020-10-01 we just add to that
+% hook, otherwise resort to the old method, patching \cmd\document:
+% end the group started by \cmd\begin, apply our hook, and
+% conclude our shenanigans by absorbing
% the first token of the expansion of \cmd\document, which
-% we assume to be \cmd\endgroup.
+% we assume to be \cmd\endgroup{} (true until the aforementioned release).
% \changes{4.1a}{2008/08/12}{Get rid of \cs{set@typesize@hook} \cs{set@pica@hook} and the \cs{normalsize} directive}%
+% \changes{4.2d}{2020/09/17}{(PHO) Use \LaTeX's hook management system, if possible.}%
% \begin{macrocode}
-\prepdef\document{%
- \endgroup
- \document@inithook
- \true@sw{}%
-}%
+\rvtx@ifformat@geq{2020-10-01}%
+ {%
+ \AddToHook{begindocument/before}{\document@inithook}%
+ }{%
+ \prepdef\document{%
+ \endgroup
+ \document@inithook
+ \true@sw{}%
+ }%
+ }
% \end{macrocode}
% \end{macro}
%
@@ -996,7 +1026,15 @@ now put a \cmd\usepackage\texttt{\{ltxutil\}} in your document preamble!
% We will do this to ensure that the \cmd\@mainaux\ stream is not closed until
% the last page of the job is shipped out, and that can only be done by coordinating
% with the output routine.
+%
+% \changes{4.2d}{2020/09/17}{(PHO) Only redefine \cs{enddocument} in older versions.}%
+% This approach, however, will only be done for older versions of the
+% \LaTeX{} kernel:
% \begin{macrocode}
+\rvtx@ifformat@geq{2020-10-01}{%
+ % <definitions for newer LaTeX later>
+}{%
+ % <definitions for older LaTeX>
\def\enddocument{%
% \end{macrocode}
% \changes{4.1n}{2009/12/06}{(AO) Incorporate change to ltmiscen.dtx v1.1i 2000/05/19}%
@@ -1044,7 +1082,7 @@ now put a \cmd\usepackage\texttt{\{ltxutil\}} in your document preamble!
\@if@sw\if@tempswa\fi{%
\@latex@warning@no@line{%
Label(s) may have changed.
- Rerun to get cross-references right
+ Rerun to get cross-references right%
}%
}{}%
}{%
@@ -1052,8 +1090,86 @@ now put a \cmd\usepackage\texttt{\{ltxutil\}} in your document preamble!
}%
}{}%
}%
+}
+% \end{macrocode}
+%
+% \changes{4.2d}{2020/09/17}{(PHO) Patch \cs{enddocument} at runtime in newer versions.}%
+% \begin{macro}{\rvtx@enddocument@patch}
+% For newer \LaTeX{} we'll try to be a bit more future-proof
+% (no miracle though). The code for \cmd\enddocument{}
+% (in pre-2020-10-01 \LaTeX) is roughly:
+% \begin{verbatim}
+% \def\enddocument{%
+% <hooks and bookkeeping>
+% \clearpage
+% <read main .aux and final checks>
+% \@@end
+% }
+% \end{verbatim}
+% and the patches above replace the \cmd\clearpage{} by its own
+% \cmd\clear@document, and \verb|<read main .aux and final checks>| by
+% \cmd\do@check@aux, which it can later control the timing.
+%
+% Now we will apply the same changes, but this time without redefining
+% \cmd\enddocument: we will instead replace tokens on-the-fly, when
+% \cmd\enddocument{} is expanded. This will grant us a slightly safer
+% approach that won't depend so much on the internals of
+% \cmd\enddocument.
+%
+% This entire patch should work with the previous definition of
+% \cmd\enddocument{} as well (except it cannot be used in the hook),
+% but for now leave previous versions untouched.
+%
+% The entire patching will reside in the \texttt{enddocument} hook:
+% \begin{macrocode}
+\rvtx@ifformat@geq{2020-10-01}{%
+ \AddToHook{enddocument}{\rvtx@enddocument@patch{}}%
+}{}
+% \end{macrocode}
+%
+% This macro will be executed after \cmd\enddocument{} has expanded,
+% so all its tokens are now exposed. Here we will assume that
+% \cmd\enddocument{} contains the tokens \verb|\@checkend{document}|
+% and \cmd\endgroup, and use them as delimiters:
+% \begin{macrocode}
+\protected\long\def\rvtx@enddocument@patch#1#2\@checkend#3{%
+ \begingroup
+ \edef\x{\detokenize{#3}}%
+ \edef\y{\detokenize{document}}%
+ \expandafter\endgroup
+ \ifx\x\y
+ \expandafter\rvtx@enddocument@patch@end
+ \else
+ \expandafter\rvtx@enddocument@patch@more
+ \fi
+ {#1#2}{#3}}
+\def\rvtx@enddocument@patch@more#1#2{%
+ \rvtx@enddocument@patch{#1\@checkend{#2}}}
+% \end{macrocode}
+%
+% When the \verb|\@checkend{document}| is reached, use \cmd\clearpage{}
+% and \cmd\enddocument{} as delimiters for the
+% \verb|<read main .aux and final checks>| part, and save it in
+% \cmd\do@check@aux{}:
+% \begin{macrocode}
+\long\def\rvtx@enddocument@patch@end#1#2\clearpage#3\endgroup{%
+ \def\do@check@aux{#3\endgroup}%
+% \end{macrocode}
+% Then execute the code consumed in the previous step:
+% \begin{macrocode}
+ #1%
+ \@checkend{#2}%
+% \end{macrocode}
+% Do \cmd\clear@document{} instead of \cmd\clearpage{} and
+% \cmd\check@aux{} instead of the code grabbed.
+% \begin{macrocode}
+ \clear@document
+ \check@aux}
+\def\check@aux{\do@check@aux}%
% \end{macrocode}
% \end{macro}
+%
+% \end{macro}
% \end{macro}
% \end{macro}
%
@@ -4308,9 +4424,14 @@ now put a \cmd\usepackage\texttt{\{ltxutil\}} in your document preamble!
\endgroup
}%
\@ifx{\typeout\typeout@org}{%
- \class@info{Making \string\typeout\space \string\long}%
\let\typeout\typeout@ltx
-}{}%
+ \true@sw
+}{%
+ \rvtx@ifformat@geq{2020-10-01}%
+ {\true@sw}{\false@sw}%
+}%
+ {\class@info{Making \string\typeout\space \string\long}}%
+ {}%
% \end{macrocode}
% \end{macro}
%
diff --git a/Master/texmf-dist/source/latex/revtex/revtex-bst.dtx b/Master/texmf-dist/source/latex/revtex/revtex-bst.dtx
new file mode 100644
index 00000000000..1b5c8438ca8
--- /dev/null
+++ b/Master/texmf-dist/source/latex/revtex/revtex-bst.dtx
@@ -0,0 +1,3873 @@
+% \iffalse meta-comment balanced on line 122
+% revtex-bst.dtx: Package to extract .bst files for RevTeX
+% Copyright (c) 2020 American Physical Society.
+% https://journals.aps.org/revtex/
+% mailto:revtex@aps.org
+%
+% Disclaimer
+% This file is distributed WITHOUT ANY WARRANTY;
+% without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+% License
+% You may distribute this file under the conditions of the
+% LaTeX Project Public License 1.3c or later
+% (http://www.latex-project.org/lppl.txt).
+% ReadMe
+% For the documentation and more detailed instructions for
+% installation, typeset this document with \LaTeX.
+% Maintenance Status
+% This work has the LPPL maintenance status "maintained";
+% Current Maintainer of this work is Phelype Oleinik.
+%
+% This work consists of the main source file revtex-bst.dtx
+% and the derived files
+% aapmrev4-2.bst, aipauth4-2.bst, aipnum4-2.bst, apsrev4-2.bst, apsrmp4-2.bst
+% Distribution:
+% CTAN:macros/latex/contrib/revtex/
+%
+% Unpacking:
+% tex revtex-bst.dtx
+%
+% Installation:
+% TDS:bibtex/bst/revtex/
+%
+%<*ignore>
+\begingroup
+ \def\x{LaTeX2e}%
+\expandafter\endgroup
+\ifcase
+ 0\expandafter\ifx\csname processbatchFile\endcsname\relax\else1\fi\ifx\fmtname\x\else 1\fi
+ \relax
+\else
+ \csname fi\endcsname
+%</ignore>
+%<*install>
+%% This file will generate documentation and runtime files
+%% from revtex4-2.dtx when run through TeX.
+\input docstrip
+\nopreamble
+\edef\defaultpostamble{%
+ \MetaPrefix\space End of customized bst file^^J%
+ \MetaPrefix ^^J%
+ \MetaPrefix\space End of file `\outFileName'.%
+}
+\askforoverwritefalse
+\keepsilent
+\generate{%
+ \file{aapmrev4-2.bst}{\from{revtex-bst.dtx}{aapmrev}}%
+ \file{aipauth4-2.bst}{\from{revtex-bst.dtx}{aipauth}}%
+ \file{aipnum4-2.bst}{\from{revtex-bst.dtx}{aipnum}}%
+ \file{apsrev4-2.bst}{\from{revtex-bst.dtx}{apsrev}}%
+ \file{apsrmp4-2.bst}{\from{revtex-bst.dtx}{apsrmp}}%
+}%
+\ifToplevel{
+\Msg{***********************************************************}
+\Msg{*}
+\Msg{* To finish the installation, please move}
+\Msg{* *.bst }
+\Msg{* into a directory searched by TeX;}
+\Msg{* in a TDS-compliant installation:}
+\Msg{* texmf/bibtex/bst/revtex/.}
+\Msg{*}
+\Msg{* Happy BibTeXing}
+\Msg{***********************************************************}
+}
+\endbatchfile
+%</install>
+%<*ignore>
+\fi
+%</ignore>
+% \fi
+%
+% \GetFileInfo{revtex-bst.dtx}
+%
+% \StopEventually{}
+% \iffalse ltxdoc klootch
+%<*package>
+%%% @LaTeX-file{
+%%% filename = "revtex-bst.dtx",
+%%% version = "4.2e",
+%%% date = "2020/10/03",
+%%% author = "Phelype Oleinik (mailto: phelype.oleinik at latex-project.org),
+%%% commissioned by the American Physical Society.
+%%% ",
+%%% copyright = "Copyright (C) 2020 American Physical Society
+%%% distributed under the terms of the
+%%% LaTeX Project Public License 1.3c, see
+%%% ftp://ctan.tug.org/macros/latex/base/lppl.txt
+%%% ",
+%%% email = "mailto colon revtex at aps.org",
+%%% codetable = "ISO/ASCII",
+%%% keywords = "",
+%%% supported = "yes",
+%%% abstract = "",
+%%% }
+%</package>
+% \fi
+%
+% \subsection{Bill of Materials}
+%
+% Following is a list of the files in this distribution arranged
+% according to provenance.
+%
+% \subsubsection{Primary Source}%
+% One single file generates all.
+%\begin{verbatim}
+%revtex-bst.dtx
+%\end{verbatim}
+%
+% \subsubsection{Generated by \texttt{tex revtex-bst.dtx}}%
+% Typesetting ths file under \TeX\ itself runs the installer,
+% which generates the bibliography style files.
+%\begin{verbatim}
+%aapmrev4-2.bst, aipauth4-2.bst, aipnum4-2.bst,
+%apsrev4-2.bst, apsrmp4-2.bst
+%\end{verbatim}
+%
+% \section{Code common to all modules}%
+%
+% \begin{macrocode}
+%<*aapmrev|aipauth|aipnum|apsrev|apsrmp>
+%%
+%<aapmrev>%% This is file `aapmrev4-2.bst', and is a hand-edited version of aapmrev4-1.bst
+%<aipauth>%% This is file `aipauth4-2.bst', and is a hand-edited version of aipauth4-1.bst
+%<aipnum>%% This is file `aipnum4-2.bst', and is a hand-edited version of aipnum4-1.bst
+%<apsrev>%% This is file `apsrev4-2.bst', and is a hand-edited version of apsrev4-1.bst
+%<apsrmp>%% This is file `apsrmp4-2.bst', and is a hand-edited version of apsrmp4-1.bst
+ % ===============================================================
+ % IMPORTANT NOTICE:
+ % This file can be redistributed and/or modified under the terms
+ % of the LaTeX Project Public License Distributed from CTAN
+ % archives in directory macros/latex/base/lppl.txt; either
+ % version 1 of the License, or any later version.
+ % ===============================================================
+ %-------------------------------------------------------------------
+ % This bibliography style file is intended for texts in ENGLISH
+ % This is an author-year citation style bibliography. As such, it is
+ % non-standard LaTeX, and requires a special package file to function properly.
+ % Such a package is natbib.sty by Patrick W. Daly
+ % The form of the \bibitem entries is
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
+ % The essential feature is that the label (the part in brackets) consists
+ % of the author names, as they should appear in the citation, with the year
+ % in parentheses following. There must be no space before the opening
+ % parenthesis!
+ % With natbib v5.3, a full list of authors may also follow the year.
+ % In natbib.sty, it is possible to define the type of enclosures that is
+ % really wanted (brackets or parentheses), but in either case, there must
+ % be parentheses in the label.
+ % The \cite command functions as follows:
+ % \citet{key} ==>> Jones et al. (1990)
+ % \citet*{key} ==>> Jones, Baker, and Smith (1990)
+ % \citep{key} ==>> (Jones et al., 1990)
+ % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
+ % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Smith
+ % \citeyear{key} ==>> 1990
+ %---------------------------------------------------------------------
+%</aapmrev|aipauth|aipnum|apsrev|apsrmp>
+%
+% \subsection{The Frontmatter File}
+% As promised above, here is the contents of the frontmatter file.
+% This file doesn't have any documentation, so just stop early.
+% \begin{macrocode}
+%<*ignore>
+\stop
+\changes{4.2e}{2020/10/03}{(PHO) Initial version---Put all .bst files in a single .dtx}
+%</ignore>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*aapmrev|aipauth|aipnum|apsrev|apsrmp>
+% \end{macrocode}
+%
+% \begin{macrocode}
+
+%<aapmrev>FUNCTION {id.bst} {"aapmrev4-2.bst 2019-01-14 (MD) hand-edited version of aapmrev4-1.bst"}
+%<aipauth>FUNCTION {id.bst} {"aipnauth4-2.bst 2018-12-27 (MD) hand-edited version of apsauth4-1.bst"}
+%<aipnum>FUNCTION {id.bst} {"aipnum4-2.bst 2019-01-14 (MD) hand-edited version of apsrev4-1.bst"}
+%<apsrev>FUNCTION {id.bst} {"apsrev4-2.bst 2019-01-14 (MD) hand-edited version of apsrev4-1.bst"}
+%<apsrmp>FUNCTION {id.bst} {"apsrmp4-2.bst 2018-12-27 (MD) hand-edited version of apsrmp4-1.bst"}
+ENTRY
+{
+ address
+ archive
+ archivePrefix
+ author
+ bookaddress
+ booktitle
+ chapter
+ collaboration
+ doi
+ edition
+ editor
+ eid
+ eprint
+ howpublished
+ institution
+ isbn
+ issn
+ journal
+ key
+ language
+ month
+ note
+ number
+ organization
+ pages
+ primaryClass
+ publisher
+ school
+ SLACcitation
+ series
+ title
+ translation
+ type
+ url
+ volume
+ year
+}{
+}{
+ label
+ extra.label sort.label
+ short.list
+}
+
+INTEGERS
+{
+ output.state before.all
+ after.word after.punctuation
+ after.sentence after.block
+}
+
+INTEGERS
+{
+ punctuation.state punctuation.no punctuation.space punctuation.yes
+}
+
+STRINGS { bibfield output.bibfield }
+
+FUNCTION {not}
+{ { #0 }
+ { #1 }
+ if$
+}
+
+FUNCTION {and}
+{ 'skip$
+ { pop$ #0 }
+ if$
+}
+
+FUNCTION {or}
+{ { pop$ #1 }
+ 'skip$
+ if$
+}
+
+FUNCTION {non.stop}
+{ duplicate$
+ "}" * add.period$
+ #-1 #1 substring$ "." =
+}
+
+INTEGERS { arith.mulitplier arith.multiplicand }
+
+FUNCTION {multiply}
+{
+ 'arith.multiplicand :=
+ 'arith.mulitplier :=
+ #0
+ { arith.mulitplier #0 > }
+ { arith.multiplicand +
+ arith.mulitplier #1 - 'arith.mulitplier :=
+ }
+ while$
+}
+
+FUNCTION {chr.to.hex}
+{
+ chr.to.int$
+ duplicate$ "0" chr.to.int$ -
+ duplicate$ duplicate$ #0 < swap$ #9 > or not
+ { swap$ pop$ }
+ { pop$
+ duplicate$ "A" chr.to.int$ -
+ duplicate$ duplicate$ #0 < swap$ #5 > or not
+ { swap$ pop$ #10 + }
+ { pop$
+ duplicate$ "a" chr.to.int$ -
+ duplicate$ duplicate$ #0 < swap$ #5 > or not
+ { swap$ pop$ #10 + }
+ { pop$
+ pop$ #-1
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+INTEGERS { arith.accumulator }
+
+FUNCTION {str.to.hex}
+{ #0 'arith.accumulator :=
+ { duplicate$ empty$ not }
+ { duplicate$ #1 #1 substring$ chr.to.hex
+ duplicate$ #0 <
+ { pop$ pop$ ""
+ }
+ { arith.accumulator #16 multiply + 'arith.accumulator :=
+ #2 global.max$ substring$
+ }
+ if$
+ }
+ while$
+ pop$ arith.accumulator
+}
+
+FUNCTION {diagn.cmntlog}
+{
+ duplicate$ top$ "%" swap$ * write$ newline$
+}
+
+INTEGERS { control.key control.author control.editor control.title control.pages control.eprint control.year }
+
+INTEGERS { control.author.jnrlst control.author.dotless control.author.nospace control.author.initials control.author.nocomma control.author.first control.author.reversed }
+
+FUNCTION { control.init }
+{
+ #0
+ 'control.key :=
+ #0
+%<aipauth> #1 +
+%<apsrmp> #1 +
+%<apsrmp> #2 +
+ #8 +
+%<apsrev> #64 +
+%<apsrmp> #64 +
+ 'control.author :=
+%<aapmrev> #0
+%<aipauth> #0
+%<aipnum> #0
+%<apsrev> #1
+%<apsrmp> #1
+ 'control.author.jnrlst :=
+ #0
+ 'control.author.dotless :=
+ #0
+ 'control.author.nospace :=
+ #1
+ 'control.author.initials :=
+ #0
+ 'control.author.nocomma :=
+%<!apsrmp> #0
+%<apsrmp> #1
+ 'control.author.first :=
+%<aapmrev> #0
+%<aipauth> #1
+%<aipnum> #0
+%<apsrev> #0
+%<apsrmp> #1
+ 'control.author.reversed :=
+%<aapmrev> #1
+%<aipauth> #0
+%<aipnum> #1
+%<apsrev> #1
+%<apsrmp> #0
+ 'control.editor :=
+ #-1
+ 'control.title :=
+ #0
+ 'control.pages :=
+ #0
+ 'control.eprint :=
+ #1
+ 'control.year :=
+}
+
+FUNCTION {warning.dependency}
+{
+ " (dependency: " * swap$ * ") set " * swap$ int.to.str$ * warning$
+}
+
+FUNCTION {control.check}
+{
+ control.editor
+ {
+ "editor formatted same as author"
+ control.author.reversed {
+ duplicate$ #0 swap$ "reversed" warning.dependency
+ #0 'control.author.reversed :=
+ } 'skip$ if$
+ control.author.first {
+ duplicate$ #0 swap$ "first" warning.dependency
+ #0 'control.author.first :=
+ } 'skip$ if$
+ control.author.nocomma {
+ duplicate$ #0 swap$ "nocomma" warning.dependency
+ #0 'control.author.nocomma :=
+ } 'skip$ if$
+ pop$
+ } 'skip$ if$
+ control.author.reversed 'skip$
+ {
+ "not reversed"
+ control.author.nospace {
+ duplicate$ #0 swap$ "nospace" warning.dependency
+ #0 'control.author.nospace :=
+ } 'skip$ if$
+ control.author.jnrlst 'skip$ {
+ duplicate$ #1 swap$ "jnrlst" warning.dependency
+ #1 'control.author.jnrlst :=
+ } if$
+ control.author.initials {
+ duplicate$ ", initials" *
+ control.author.dotless {
+ duplicate$ #0 swap$ "dotless" warning.dependency
+ #0 'control.author.dotless :=
+ } 'skip$ if$
+ pop$
+ } 'skip$ if$
+ pop$
+ }
+ if$
+ control.author.initials 'skip$ {
+ "not initials"
+ control.author.nocomma {
+ duplicate$ #0 swap$ "nocomma" warning.dependency
+ #0 'control.author.nocomma :=
+ } 'skip$ if$
+ control.author.nospace {
+ duplicate$ #0 swap$ "nospace" warning.dependency
+ #0 'control.author.nospace :=
+ } 'skip$ if$
+ control.author.dotless 'skip$ {
+ duplicate$ #1 swap$ "dotless" warning.dependency
+ #1 'control.author.dotless :=
+ } if$
+ pop$
+ } if$
+}
+
+FUNCTION {control.parse}
+{
+ duplicate$ duplicate$ missing$
+ {
+ pop$ pop$ pop$
+ }
+ { empty$
+ {
+ pop$ #-1
+ }{
+ str.to.hex
+ }
+ if$
+ swap$ :=
+ }
+ if$
+}
+
+FUNCTION {control.dump}
+{
+ duplicate$ missing$ { pop$ "N/A" } 'skip$ if$
+ "{" swap$ * "}, " *
+ *
+}
+
+INTEGERS { decode.threshold }
+
+FUNCTION {control.decode}
+{
+ - duplicate$
+ #0 <
+ {
+ skip$ pop$ swap$ #0
+ }
+ {
+ swap$ pop$ swap$ #1
+ }
+ if$
+ swap$ :=
+}
+
+FUNCTION {control.author.decode}
+{
+ control.author
+ duplicate$ duplicate$ #0 < swap$ #128 < not or
+ {
+ int.to.str$ "(" swap$ * ")" *
+ "Control cannot interpret author " swap$ *
+ warning$
+ }{
+ 'control.author.jnrlst swap$ duplicate$ #64 control.decode
+ 'control.author.dotless swap$ duplicate$ #32 control.decode
+ 'control.author.nospace swap$ duplicate$ #16 control.decode
+ 'control.author.initials swap$ duplicate$ #8 control.decode
+ 'control.author.nocomma swap$ duplicate$ #4 control.decode
+ 'control.author.first swap$ duplicate$ #2 control.decode
+ 'control.author.reversed swap$ duplicate$ #1 control.decode
+ duplicate$ #0 =
+ 'skip$
+ {
+ "Control: residue of author"
+ "(" swap$ * ")" * *
+ warning$
+ }
+ if$
+ pop$
+ }
+ if$
+}
+
+FUNCTION {control.setup}
+{
+ type$ cite$ "{" swap$ * "}, " * *
+ "control.key" key control.dump *
+ "control.author" author control.dump *
+ "control.editor" editor control.dump *
+ "control.title" title control.dump *
+ "control.pages" pages control.dump *
+ "control.year" year control.dump *
+ "control.eprint" eprint control.dump *
+ top$
+ 'control.key key control.parse
+ 'control.author author control.parse
+ 'control.editor editor control.parse
+ 'control.title title control.parse
+ 'control.pages pages control.parse
+ 'control.year year control.parse
+ 'control.eprint eprint control.parse
+ control.author.decode
+}
+
+FUNCTION {control.pass}
+{ type$ "control" = 'control.setup 'skip$ if$
+}
+
+FUNCTION {control.presort}
+{
+}
+
+FUNCTION {control.forward}
+{
+}
+
+FUNCTION {control.reverse}
+{
+}
+
+FUNCTION {control.sort}
+{
+}
+
+FUNCTION {control.longest.label}
+{
+}
+
+FUNCTION {control.key.bib}
+{
+ "Control: key "
+ control.key
+ duplicate$ "(" swap$ int.to.str$ * ") " * swap$
+ pop$ *
+ diagn.cmntlog
+}
+
+FUNCTION {control.author.bib}
+{
+ "Control: author "
+ control.author "(" swap$ int.to.str$ * ")" * *
+ control.author.reversed { " reversed" * }{} if$
+ control.author.first { " first" * }{} if$
+ control.author.nocomma { " nocomma" * }{} if$
+ control.author.initials { " initials" * }{} if$
+ control.author.nospace { " nospace" * }{} if$
+ control.author.dotless { " dotless" * }{} if$
+ control.author.jnrlst { " jnrlst" * }{} if$
+ diagn.cmntlog
+}
+
+FUNCTION {control.editor.bib}
+{
+ "Control: editor formatted "
+ control.editor
+ duplicate$ "(" swap$ int.to.str$ * ") " * swap$
+ duplicate$ #0 < {
+ pop$
+ "disabled!"
+ } {
+ #0 > {
+ "identically to author"
+ } {
+ "differently from author"
+ } if$
+ } if$ * *
+ diagn.cmntlog
+}
+
+FUNCTION {control.title.bib}
+{
+ "Control: production of article title "
+ control.title
+ duplicate$ "(" swap$ int.to.str$ * ") " * swap$
+ duplicate$ #0 < {
+ pop$
+ "disabled"
+ } {
+ #0 > {
+ "required"
+ } {
+ "allowed"
+ } if$
+ } if$ * *
+ diagn.cmntlog
+}
+
+FUNCTION {control.pages.bib}
+{
+ "Control: page "
+ control.pages
+ duplicate$ "(" swap$ int.to.str$ * ") " * swap$
+ duplicate$ #0 < {
+ pop$
+ "none"
+ } {
+ #0 > {
+ "range"
+ } {
+ "single"
+ } if$
+ } if$ * *
+ diagn.cmntlog
+}
+
+FUNCTION {control.year.bib}
+{
+ "Control: year "
+ control.year
+ duplicate$ "(" swap$ int.to.str$ * ") " * swap$
+ duplicate$ #0 < {
+ pop$
+ "disabled!"
+ } {
+ #0 > {
+ "truncated"
+ } {
+ "verbatim"
+ } if$
+ } if$ * *
+ diagn.cmntlog
+}
+
+FUNCTION {control.eprint.bib}
+{
+ "Control: production of eprint "
+ control.eprint
+ duplicate$ "(" swap$ int.to.str$ * ") " * swap$
+ #0 < { "disabled" } { "enabled" } if$ * *
+ diagn.cmntlog
+}
+
+FUNCTION {control.bib}
+{
+ control.key.bib
+ control.author.bib
+ control.editor.bib
+ control.title.bib
+ control.pages.bib
+ control.year.bib
+ control.eprint.bib
+}
+
+FUNCTION {init.state.consts}
+{
+ #0 'before.all :=
+ #1 'after.word :=
+ #2 'after.punctuation :=
+ #3 'after.sentence :=
+ #4 'after.block :=
+ #0 'punctuation.no :=
+ #1 'punctuation.space :=
+ #2 'punctuation.yes :=
+ "" 'bibfield :=
+ "" 'output.bibfield :=
+}
+
+STRINGS { s t}
+FUNCTION {block.punctuation}
+{ ""
+ "," *
+}
+
+FUNCTION {word.space}
+{
+ "\ "
+}
+
+FUNCTION {show.stackstring.one}{
+ "(" *
+ output.state int.to.str$ *
+ "," * punctuation.state int.to.str$ *
+ ")" * top$
+ duplicate$ "1(" swap$ * ")" * top$
+}
+
+FUNCTION {show.stackstring.two}{
+ "(" *
+ output.state int.to.str$ *
+ "," * punctuation.state int.to.str$ *
+ ")" * top$
+ swap$
+ duplicate$ "1(" swap$ * ")" * top$
+ swap$
+ duplicate$ "2(" swap$ * ")" * top$
+}
+
+FUNCTION {bibfield.command}{ "\bibfield "}
+
+FUNCTION {output.nonnull}
+{
+ swap$
+ output.state after.word =
+ {
+ block.punctuation *
+ word.space *
+ }
+ {
+ output.state after.punctuation =
+ {
+ word.space *
+ }
+ {
+ output.state after.block = output.state after.sentence = or
+ {
+ add.period$
+ "\EOS\ " *
+ }{
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ output.bibfield duplicate$ empty$ 'pop$
+ {
+ bibfield.command
+ " {" * swap$ * "} {" * swap$ * "}" *
+ }
+ if$
+ write$
+ bibfield 'output.bibfield := "" 'bibfield :=
+ output.state after.block =
+ {
+ newline$
+ "\newblock " write$
+ }
+ 'skip$
+ if$
+ punctuation.state duplicate$
+ punctuation.yes 'punctuation.state :=
+ punctuation.no =
+ { pop$ before.all }
+ { punctuation.yes = { after.word }{ after.punctuation } if$ }
+ if$
+ 'output.state :=
+}
+
+FUNCTION {output}
+{ duplicate$ empty$
+ {
+ pop$
+ "" 'bibfield :=
+ }
+ 'output.nonnull
+ if$
+}
+
+FUNCTION {output.nopunct}
+{
+ punctuation.no 'punctuation.state :=
+ output.nonnull
+}
+
+FUNCTION {output.check}
+{ swap$
+ duplicate$ empty$
+ { pop$ "empty " swap$ * " in " * cite$ * warning$ }
+ { swap$ pop$ output.nonnull }
+ if$
+}
+
+FUNCTION {bbl.open} { "\BibitemOpen " }
+
+FUNCTION {bbl.shut} { "\BibitemShut " }
+
+FUNCTION {bibitem.shut.stop} { bbl.shut "{Stop}%" * }
+
+FUNCTION {bibitem.shut.nostop} { bbl.shut "{NoStop}%" * }
+
+FUNCTION {bibitem.shut}
+{
+ non.stop
+ {
+ bibitem.shut.nostop *
+ }{
+ bibitem.shut.stop *
+ }
+ if$
+}
+
+FUNCTION {html.itag} {
+ "p"
+}
+
+FUNCTION {html.ltag} {
+ ""
+}
+
+FUNCTION {output.SLACcitation}
+{ SLACcitation empty$
+ 'skip$
+ {
+ newline$
+ SLACcitation write$
+ }
+ if$
+}
+
+FUNCTION {fin.entry}
+{
+ bibitem.shut
+ write$
+ output.SLACcitation
+}
+
+FUNCTION {new.block}
+{ output.state before.all =
+ 'skip$
+ { after.block 'output.state := }
+ if$
+}
+
+FUNCTION {new.block.comma}
+{
+}
+
+FUNCTION {new.sentence}
+{ output.state after.block = output.state before.all = or
+ 'skip$
+ { after.sentence 'output.state := }
+ if$
+}
+
+FUNCTION {new.sentence.comma}
+{
+}
+
+FUNCTION {sentence.or.colon}
+{
+ new.sentence
+}
+
+FUNCTION {add.blank}
+{
+ word.space *
+ before.all 'output.state :=
+}
+
+FUNCTION {no.blank.or.punct}
+{
+ "\hspace {0pt}" *
+ before.all 'output.state :=
+}
+
+FUNCTION {date.block}
+{
+ new.block.comma
+ skip$
+}
+
+STRINGS {z}
+FUNCTION {remove.dots}
+{
+ control.author.dotless {
+ 'z :=
+ ""
+ { z empty$ not }
+ { z #1 #1 substring$
+ z #2 global.max$ substring$ 'z :=
+ duplicate$ "." = 'pop$
+ { * }
+ if$
+ }
+ while$
+ } 'skip$ if$
+}
+
+FUNCTION {new.block.checkb}
+{ empty$
+ swap$ empty$
+ and
+ 'skip$
+ 'new.block
+ if$
+}
+
+FUNCTION {field.or.null}
+{ duplicate$ empty$
+ { pop$ "" }
+ 'skip$
+ if$
+}
+
+FUNCTION {emphasize}
+{
+ duplicate$ empty$
+ { pop$ "" }
+ {
+ "\emph {" swap$ * "}" *
+ }
+ if$
+}
+
+FUNCTION {bolden}
+{ duplicate$ empty$
+ { pop$ "" }
+ { "\textbf {" swap$ * "}" * }
+ if$
+}
+
+FUNCTION {bib.name.font}
+{
+ duplicate$ empty$
+ { pop$ "" }
+ {
+ "\bibnamefont {" swap$ * "}" *
+ }
+ if$
+}
+
+FUNCTION {bib.fname.font}
+{
+ duplicate$ empty$
+ { pop$ "" }
+ {
+ "\bibfnamefont {" swap$ * "}" *
+ }
+ if$
+}
+
+FUNCTION {cite.name.font}
+{
+ duplicate$ empty$
+ { pop$ "" }
+ {
+ "\citenamefont {" swap$ * "}" *
+ }
+ if$
+}
+
+FUNCTION {tie.or.space.prefix}
+{ duplicate$ text.length$ #3 <
+ { "~" }
+ { word.space }
+ if$
+ swap$
+}
+
+FUNCTION {capitalize}
+{
+ "u" change.case$ "t" change.case$
+}
+
+FUNCTION {space.word}
+{ word.space swap$ * word.space * }
+
+ % Here are the language-specific definitions for explicit words.
+ % Each function has a name bbl.xxx where xxx is the English word.
+ % The language selected here is ENGLISH
+
+FUNCTION {bbl.and}
+{
+ "and"
+}
+
+FUNCTION {bbl.etal}
+{
+ "et~al."
+}
+
+FUNCTION {bbl.editors}
+{
+ "eds."
+}
+
+FUNCTION {bbl.editor}
+{
+ "ed."
+}
+
+FUNCTION {bbl.edby}
+{ "edited by" }
+
+FUNCTION {bbl.edition}
+{
+ "ed."
+}
+
+FUNCTION {bbl.volume}
+{
+ "vol."
+}
+
+FUNCTION {bbl.of}
+{ "of" }
+
+FUNCTION {bbl.number}
+{
+ "no."
+}
+
+FUNCTION {bbl.nr}
+{ "no." }
+
+FUNCTION {bbl.in}
+{ "in" }
+
+FUNCTION {bbl.pages}
+{
+ "pp."
+}
+
+FUNCTION {bbl.page}
+{
+ "p."
+}
+
+FUNCTION {bbl.eidpp}
+{ "pages" }
+
+FUNCTION {bbl.chapter}
+{
+ "chap."
+}
+
+FUNCTION {bbl.techrep}
+{
+ "Tech. Rep."
+}
+
+FUNCTION {bbl.mthesis}
+{ "Master's thesis" }
+
+FUNCTION {bbl.phdthesis}
+{ "Ph.D. thesis" }
+
+FUNCTION {bbl.first}
+{
+ "1st"
+}
+
+FUNCTION {bbl.second}
+{
+ "2nd"
+}
+
+FUNCTION {bbl.third}
+{
+ "3rd"
+}
+
+FUNCTION {bbl.fourth}
+{
+ "4th"
+}
+
+FUNCTION {bbl.fifth}
+{
+ "5th"
+}
+
+FUNCTION {bbl.st}
+{ "st" }
+
+FUNCTION {bbl.nd}
+{ "nd" }
+
+FUNCTION {bbl.rd}
+{ "rd" }
+
+FUNCTION {bbl.th}
+{ "th" }
+
+MACRO {jan} {"Jan."}
+
+MACRO {feb} {"Feb."}
+
+MACRO {mar} {"Mar."}
+
+MACRO {apr} {"Apr."}
+
+MACRO {may} {"May"}
+
+MACRO {jun} {"Jun."}
+
+MACRO {jul} {"Jul."}
+
+MACRO {aug} {"Aug."}
+
+MACRO {sep} {"Sep."}
+
+MACRO {oct} {"Oct."}
+
+MACRO {nov} {"Nov."}
+
+MACRO {dec} {"Dec."}
+
+FUNCTION {bbl.url.prefix}
+{
+ "\urlprefix "
+}
+
+FUNCTION {eng.ord}
+{ duplicate$ "1" swap$ *
+ #-2 #1 substring$ "1" =
+ { bbl.th * }
+ { duplicate$ #-1 #1 substring$
+ duplicate$ "1" =
+ { pop$ bbl.st * }
+ { duplicate$ "2" =
+ { pop$ bbl.nd * }
+ { "3" =
+ { bbl.rd * }
+ { bbl.th * }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{physjour.mbs}[2002/01/14 2.2 (PWD)]
+MACRO {aa}{"Astron. \& Astrophys."}
+MACRO {aasup}{"Astron. \& Astrophys. Suppl. Ser."}
+MACRO {aj} {"Astron. J."}
+MACRO {aph} {"Acta Phys."}
+MACRO {advp} {"Adv. Phys."}
+MACRO {ajp} {"Amer. J. Phys."}
+MACRO {ajm} {"Amer. J. Math."}
+MACRO {amsci} {"Amer. Sci."}
+MACRO {anofd} {"Ann. Fluid Dyn."}
+MACRO {am} {"Ann. Math."}
+MACRO {ap} {"Ann. Phys. (NY)"}
+MACRO {adp} {"Ann. Phys. (Leipzig)"}
+MACRO {ao} {"Appl. Opt."}
+MACRO {apl} {"Appl. Phys. Lett."}
+MACRO {app} {"Astroparticle Phys."}
+MACRO {apj} {"Astrophys. J."}
+MACRO {apjsup} {"Astrophys. J. Suppl."}
+MACRO {apss} {"Astrophys. Space Sci."}
+MACRO {araa} {"Ann. Rev. Astron. Astrophys."}
+MACRO {baas} {"Bull. Amer. Astron. Soc."}
+MACRO {baps} {"Bull. Amer. Phys. Soc."}
+MACRO {cmp} {"Comm. Math. Phys."}
+MACRO {cpam} {"Commun. Pure Appl. Math."}
+MACRO {cppcf} {"Comm. Plasma Phys. \& Controlled Fusion"}
+MACRO {cpc} {"Comp. Phys. Comm."}
+MACRO {cqg} {"Class. Quant. Grav."}
+MACRO {cra} {"C. R. Acad. Sci. A"}
+MACRO {fed} {"Fusion Eng. \& Design"}
+MACRO {ft} {"Fusion Tech."}
+MACRO {grg} {"Gen. Relativ. Gravit."}
+MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
+MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
+MACRO {ijimw} {"Interntl. J. Infrared \& Millimeter Waves"}
+MACRO {ip} {"Infrared Phys."}
+MACRO {irp} {"Infrared Phys."}
+MACRO {jap} {"J. Appl. Phys."}
+MACRO {jasa} {"J. Acoust. Soc. America"}
+MACRO {jcp} {"J. Comp. Phys."}
+MACRO {jetp} {"Sov. Phys.--JETP"}
+MACRO {jfe} {"J. Fusion Energy"}
+MACRO {jfm} {"J. Fluid Mech."}
+MACRO {jmp} {"J. Math. Phys."}
+MACRO {jne} {"J. Nucl. Energy"}
+MACRO {jnec} {"J. Nucl. Energy, C: Plasma Phys., Accelerators, Thermonucl. Res."}
+MACRO {jnm} {"J. Nucl. Mat."}
+MACRO {jpc} {"J. Phys. Chem."}
+MACRO {jpp} {"J. Plasma Phys."}
+MACRO {jpsj} {"J. Phys. Soc. Japan"}
+MACRO {jsi} {"J. Sci. Instrum."}
+MACRO {jvst} {"J. Vac. Sci. \& Tech."}
+MACRO {nat} {"Nature"}
+MACRO {nature} {"Nature"}
+MACRO {nedf} {"Nucl. Eng. \& Design/Fusion"}
+MACRO {nf} {"Nucl. Fusion"}
+MACRO {nim} {"Nucl. Inst. \& Meth."}
+MACRO {nimpr} {"Nucl. Inst. \& Meth. in Phys. Res."}
+MACRO {np} {"Nucl. Phys."}
+MACRO {npb} {"Nucl. Phys. B"}
+MACRO {nt/f} {"Nucl. Tech./Fusion"}
+MACRO {npbpc} {"Nucl. Phys. B (Proc. Suppl.)"}
+MACRO {inc} {"Nuovo Cimento"}
+MACRO {nc} {"Nuovo Cimento"}
+MACRO {pf} {"Phys. Fluids"}
+MACRO {pfa} {"Phys. Fluids A: Fluid Dyn."}
+MACRO {pfb} {"Phys. Fluids B: Plasma Phys."}
+MACRO {pl} {"Phys. Lett."}
+MACRO {pla} {"Phys. Lett. A"}
+MACRO {plb} {"Phys. Lett. B"}
+MACRO {prep} {"Phys. Rep."}
+MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
+MACRO {pp} {"Phys. Plasmas"}
+MACRO {ppcf} {"Plasma Phys. \& Controlled Fusion"}
+MACRO {phitrsl} {"Philos. Trans. Roy. Soc. London"}
+MACRO {prl} {"Phys. Rev. Lett."}
+MACRO {pr} {"Phys. Rev."}
+MACRO {physrev} {"Phys. Rev."}
+MACRO {pra} {"Phys. Rev. A"}
+MACRO {prb} {"Phys. Rev. B"}
+MACRO {prc} {"Phys. Rev. C"}
+MACRO {prd} {"Phys. Rev. D"}
+MACRO {pre} {"Phys. Rev. E"}
+MACRO {ps} {"Phys. Scripta"}
+MACRO {procrsl} {"Proc. Roy. Soc. London"}
+MACRO {rmp} {"Rev. Mod. Phys."}
+MACRO {rsi} {"Rev. Sci. Inst."}
+MACRO {science} {"Science"}
+MACRO {sciam} {"Sci. Am."}
+MACRO {sam} {"Stud. Appl. Math."}
+MACRO {sjpp} {"Sov. J. Plasma Phys."}
+MACRO {spd} {"Sov. Phys.--Doklady"}
+MACRO {sptp} {"Sov. Phys.--Tech. Phys."}
+MACRO {spu} {"Sov. Phys.--Uspeki"}
+MACRO {st} {"Sky and Telesc."}
+ % End module: physjour.mbs
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{geojour.mbs}[2002/07/10 2.0h (PWD)]
+MACRO {aisr} {"Adv. Space Res."}
+MACRO {ag} {"Ann. Geophys."}
+MACRO {anigeo} {"Ann. Geofis."}
+MACRO {angl} {"Ann. Glaciol."}
+MACRO {andmet} {"Ann. d. Meteor."}
+MACRO {andgeo} {"Ann. d. Geophys."}
+MACRO {andphy} {"Ann. Phys.-Paris"}
+MACRO {afmgb} {"Arch. Meteor. Geophys. Bioklimatol."}
+MACRO {atph} {"Atm\'osphera"}
+MACRO {aao} {"Atmos. Ocean"}
+MACRO {ass}{"Astrophys. Space Sci."}
+MACRO {atenv} {"Atmos. Environ."}
+MACRO {aujag} {"Aust. J. Agr. Res."}
+MACRO {aumet} {"Aust. Meteorol. Mag."}
+MACRO {blmet} {"Bound.-Lay. Meteorol."}
+MACRO {bams} {"Bull. Amer. Meteorol. Soc."}
+MACRO {cch} {"Clim. Change"}
+MACRO {cdyn} {"Clim. Dynam."}
+MACRO {cbul} {"Climatol. Bull."}
+MACRO {cap} {"Contrib. Atmos. Phys."}
+MACRO {dsr} {"Deep-Sea Res."}
+MACRO {dhz} {"Dtsch. Hydrogr. Z."}
+MACRO {dao} {"Dynam. Atmos. Oceans"}
+MACRO {eco} {"Ecology"}
+MACRO {empl}{"Earth, Moon and Planets"}
+MACRO {envres} {"Environ. Res."}
+MACRO {envst} {"Environ. Sci. Technol."}
+MACRO {ecms} {"Estuarine Coastal Mar. Sci."}
+MACRO {expa}{"Exper. Astron."}
+MACRO {geoint} {"Geofis. Int."}
+MACRO {geopub} {"Geofys. Publ."}
+MACRO {geogeo} {"Geol. Geofiz."}
+MACRO {gafd} {"Geophys. Astrophys. Fluid Dyn."}
+MACRO {gfd} {"Geophys. Fluid Dyn."}
+MACRO {geomag} {"Geophys. Mag."}
+MACRO {georl} {"Geophys. Res. Lett."}
+MACRO {grl} {"Geophys. Res. Lett."}
+MACRO {ga} {"Geophysica"}
+MACRO {gs} {"Geophysics"}
+MACRO {ieeetap} {"IEEE Trans. Antenn. Propag."}
+MACRO {ijawp} {"Int. J. Air Water Pollut."}
+MACRO {ijc} {"Int. J. Climatol."}
+MACRO {ijrs} {"Int. J. Remote Sens."}
+MACRO {jam} {"J. Appl. Meteorol."}
+MACRO {jaot} {"J. Atmos. Ocean. Technol."}
+MACRO {jatp} {"J. Atmos. Terr. Phys."}
+MACRO {jastp} {"J. Atmos. Solar-Terr. Phys."}
+MACRO {jce} {"J. Climate"}
+MACRO {jcam} {"J. Climate Appl. Meteor."}
+MACRO {jcm} {"J. Climate Meteor."}
+MACRO {jcy} {"J. Climatol."}
+MACRO {jgr} {"J. Geophys. Res."}
+MACRO {jga} {"J. Glaciol."}
+MACRO {jh} {"J. Hydrol."}
+MACRO {jmr} {"J. Mar. Res."}
+MACRO {jmrj} {"J. Meteor. Res. Japan"}
+MACRO {jm} {"J. Meteor."}
+MACRO {jpo} {"J. Phys. Oceanogr."}
+MACRO {jra} {"J. Rech. Atmos."}
+MACRO {jaes} {"J. Aeronaut. Sci."}
+MACRO {japca} {"J. Air Pollut. Control Assoc."}
+MACRO {jas} {"J. Atmos. Sci."}
+MACRO {jmts} {"J. Mar. Technol. Soc."}
+MACRO {jmsj} {"J. Meteorol. Soc. Japan"}
+MACRO {josj} {"J. Oceanogr. Soc. Japan"}
+MACRO {jwm} {"J. Wea. Mod."}
+MACRO {lao} {"Limnol. Oceanogr."}
+MACRO {mwl} {"Mar. Wea. Log"}
+MACRO {mau} {"Mausam"}
+MACRO {meteor} {"``Meteor'' Forschungsergeb."}
+MACRO {map} {"Meteorol. Atmos. Phys."}
+MACRO {metmag} {"Meteor. Mag."}
+MACRO {metmon} {"Meteor. Monogr."}
+MACRO {metrun} {"Meteor. Rundsch."}
+MACRO {metzeit} {"Meteor. Z."}
+MACRO {metgid} {"Meteor. Gidrol."}
+MACRO {mwr} {"Mon. Weather Rev."}
+MACRO {nwd} {"Natl. Weather Dig."}
+MACRO {nzjmfr} {"New Zeal. J. Mar. Freshwater Res."}
+MACRO {npg} {"Nonlin. Proc. Geophys."}
+MACRO {om} {"Oceanogr. Meteorol."}
+MACRO {ocac} {"Oceanol. Acta"}
+MACRO {oceanus} {"Oceanus"}
+MACRO {paleoc} {"Paleoceanography"}
+MACRO {pce} {"Phys. Chem. Earth"}
+MACRO {pmg} {"Pap. Meteor. Geophys."}
+MACRO {ppom} {"Pap. Phys. Oceanogr. Meteor."}
+MACRO {physzeit} {"Phys. Z."}
+MACRO {pps} {"Planet. Space Sci."}
+MACRO {pss} {"Planet. Space Sci."}
+MACRO {pag} {"Pure Appl. Geophys."}
+MACRO {qjrms} {"Quart. J. Roy. Meteorol. Soc."}
+MACRO {quatres} {"Quat. Res."}
+MACRO {rsci} {"Radio Sci."}
+MACRO {rse} {"Remote Sens. Environ."}
+MACRO {rgeo} {"Rev. Geophys."}
+MACRO {rgsp} {"Rev. Geophys. Space Phys."}
+MACRO {rdgeo} {"Rev. Geofis."}
+MACRO {revmeta} {"Rev. Meteorol."}
+MACRO {sgp}{"Surveys in Geophys."}
+MACRO {sp} {"Solar Phys."}
+MACRO {ssr} {"Space Sci. Rev."}
+MACRO {tellus} {"Tellus"}
+MACRO {tac} {"Theor. Appl. Climatol."}
+MACRO {tagu} {"Trans. Am. Geophys. Union (EOS)"}
+MACRO {wrr} {"Water Resour. Res."}
+MACRO {weather} {"Weather"}
+MACRO {wafc} {"Weather Forecast."}
+MACRO {ww} {"Weatherwise"}
+MACRO {wmob} {"WMO Bull."}
+MACRO {zeitmet} {"Z. Meteorol."}
+ % End module: geojour.mbs
+ %-------------------------------------------------------------------
+ % Begin module:
+ % \ProvidesFile{photjour.mbs}[1999/02/24 2.0b (PWD)]
+
+MACRO {appopt} {"Appl. Opt."}
+MACRO {bell} {"Bell Syst. Tech. J."}
+MACRO {ell} {"Electron. Lett."}
+MACRO {jasp} {"J. Appl. Spectr."}
+MACRO {jqe} {"IEEE J. Quantum Electron."}
+MACRO {jlwt} {"J. Lightwave Technol."}
+MACRO {jmo} {"J. Mod. Opt."}
+MACRO {josa} {"J. Opt. Soc. America"}
+MACRO {josaa} {"J. Opt. Soc. Amer.~A"}
+MACRO {josab} {"J. Opt. Soc. Amer.~B"}
+MACRO {jdp} {"J. Phys. (Paris)"}
+MACRO {oc} {"Opt. Commun."}
+MACRO {ol} {"Opt. Lett."}
+MACRO {phtl} {"IEEE Photon. Technol. Lett."}
+MACRO {pspie} {"Proc. Soc. Photo-Opt. Instrum. Eng."}
+MACRO {sse} {"Solid-State Electron."}
+MACRO {sjot} {"Sov. J. Opt. Technol."}
+MACRO {sjqe} {"Sov. J. Quantum Electron."}
+MACRO {sleb} {"Sov. Phys.--Leb. Inst. Rep."}
+MACRO {stph} {"Sov. Phys.--Techn. Phys."}
+MACRO {stphl} {"Sov. Techn. Phys. Lett."}
+MACRO {vr} {"Vision Res."}
+MACRO {zph} {"Z. f. Physik"}
+MACRO {zphb} {"Z. f. Physik~B"}
+MACRO {zphd} {"Z. f. Physik~D"}
+
+MACRO {CLEO} {"CLEO"}
+MACRO {ASSL} {"Adv. Sol.-State Lasers"}
+MACRO {OSA} {"OSA"}
+ % End module: photjour.mbs
+%% Copyright 1994-2007 Patrick W Daly
+MACRO {acmcs} {"ACM Comput. Surv."}
+MACRO {acta} {"Acta Inf."}
+MACRO {cacm} {"Commun. ACM"}
+MACRO {ibmjrd} {"IBM J. Res. Dev."}
+MACRO {ibmsj} {"IBM Syst.~J."}
+MACRO {ieeese} {"IEEE Trans. Software Eng."}
+MACRO {ieeetc} {"IEEE Trans. Comput."}
+MACRO {ieeetcad}
+ {"IEEE Trans. Comput. Aid. Des."}
+MACRO {ipl} {"Inf. Process. Lett."}
+MACRO {jacm} {"J.~ACM"}
+MACRO {jcss} {"J.~Comput. Syst. Sci."}
+MACRO {scp} {"Sci. Comput. Program."}
+MACRO {sicomp} {"SIAM J. Comput."}
+MACRO {tocs} {"ACM Trans. Comput. Syst."}
+MACRO {tods} {"ACM Trans. Database Syst."}
+MACRO {tog} {"ACM Trans. Graphic."}
+MACRO {toms} {"ACM Trans. Math. Software"}
+MACRO {toois} {"ACM Trans. Office Inf. Syst."}
+MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
+MACRO {tcs} {"Theor. Comput. Sci."}
+
+MACRO {jhep} {"J. High Energy Phys."}
+MACRO {jcap} {"J. Cosmol. Astropart. Phys."}
+MACRO {jinst} {"J. Instrum."}
+MACRO {jstat} {"J. Stat. Mech.: Theory Exp."}
+
+FUNCTION {bibinfo.command} { "\bibinfo " }
+
+FUNCTION {bibinfo.check}
+{ swap$
+ duplicate$ missing$
+ {
+ pop$
+ pop$ ""
+ }{
+ duplicate$ empty$
+ {
+ swap$ pop$
+ }{
+ swap$
+ bibinfo.command "{" * swap$ * "} {" * swap$ * "}" *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {bibinfo.warn}
+{ swap$
+ duplicate$ missing$
+ {
+ swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
+ ""
+ }{
+ duplicate$ empty$
+ {
+ swap$ "empty " swap$ * " in " * cite$ * warning$
+ }{
+ swap$
+ bibinfo.command " {" * swap$ * "} {" * swap$ * "}" *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {archiv.base}
+{
+ "https://arxiv.org/abs"
+}
+
+FUNCTION {archiv.prefix.base}
+{
+ "arXiv"
+}
+
+FUNCTION {eprint.command}
+{
+ "\Eprint "
+}
+
+FUNCTION {format.eprint.controlled}
+{
+ eprint duplicate$ empty$
+ control.eprint #1 =
+ or
+ { pop$ "" }
+ {
+ duplicate$
+ ""
+ archive duplicate$ empty$ { pop$ archiv.base } 'skip$ if$ *
+ "/" *
+ swap$ *
+ "{" swap$ * "} " *
+ swap$
+ ""
+ archivePrefix duplicate$ empty$ { pop$ "" } { ":" * } if$ *
+ swap$ *
+ primaryClass duplicate$ empty$ { pop$ "" } { " [" swap$ * "]" * } if$ *
+ "{" swap$ * "} " *
+ *
+ eprint.command swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.eprint}
+{
+ eprint duplicate$ empty$
+ { pop$ "" }
+ {
+ duplicate$
+ ""
+ archive duplicate$ empty$ { pop$ archiv.base } 'skip$ if$ *
+ "/" *
+ swap$ *
+ "{" swap$ * "} " *
+ swap$
+ ""
+ archivePrefix duplicate$ empty$ { pop$ "" } { ":" * } if$ *
+ swap$ *
+ primaryClass duplicate$ empty$ { pop$ "" } { " [" swap$ * "]" * } if$ *
+ "{" swap$ * "} " *
+ *
+ eprint.command swap$ *
+ }
+ if$
+}
+
+FUNCTION {format.translation}
+{ translation duplicate$ empty$
+ 'skip$
+ { ""
+ "\translation{" * swap$ * "}" *
+ punctuation.space 'punctuation.state :=
+ }
+ if$
+}
+
+FUNCTION {format.url}
+{
+ url duplicate$ empty$
+ { pop$ "" }
+ {
+ "\url "
+ "{" * swap$ * "}" *
+ }
+ if$
+}
+
+INTEGERS { nameptr namesleft numnames }
+
+FUNCTION {check.speaker}
+{ key empty$ 'skip$
+ { key nameptr int.to.str$ =
+ {
+ bolden
+ }
+ 'skip$
+ if$
+ }
+ if$
+}
+
+STRINGS { bibinfo}
+
+FUNCTION {format.names.fname}
+{
+ control.author.initials {
+ control.author.dotless {
+ control.author.nospace {
+ "f{}"
+ } {
+ "f{~}"
+ } if$
+ } {
+ control.author.nospace {
+ "f{.}."
+ } {
+ "f."
+ } if$
+ } if$
+ } {
+ "ff"
+ } if$
+}
+
+FUNCTION {bracify}
+{
+ "{" swap$ * "}" *
+}
+
+FUNCTION {name.comma}
+{
+ control.author.nocomma 'skip$ { "," swap$ * } if$
+}
+
+FUNCTION {format.names.format.onefont}
+{
+ "{vv~}{ll}"
+ nameptr #1 >
+ control.author.first
+ and
+ control.author.reversed not
+ or
+ {
+ control.author.initials {
+ "f"
+ control.author.dotless 'skip$ {
+ "." *
+ } if$
+ "~" *
+ } {
+ "ff"
+ } if$
+ bracify
+ swap$
+ } {
+ format.names.fname
+ " " swap$ *
+ name.comma
+ bracify
+ }
+ if$
+ "jj"
+ " " swap$ *
+ name.comma
+ bracify
+ control.author.jnrlst 'skip$ 'swap$ if$
+ * *
+}
+
+FUNCTION {format.names.onefont}
+{
+ s nameptr format.names.format.onefont format.name$
+ remove.dots
+ bib.name.font
+}
+
+FUNCTION {format.names.morfont}
+{ s nameptr
+ "{vv~}{ll}" format.name$ bib.name.font
+ nameptr #1 >
+ control.author.first
+ and
+ control.author.reversed not
+ or
+ {
+ s nameptr
+ control.author.initials {
+ "f" % default: name + surname + comma junior
+ } {
+ "ff"
+ } if$
+ control.author.dotless 'skip$ {
+ "." * % nm-init % Initials. + surname (J. F. Smith) control.author.initials
+ } if$
+ bracify
+ format.name$ duplicate$ empty$ 'skip$
+ { tie.or.space.prefix bib.fname.font swap$ * }
+ if$
+ swap$
+ *
+ s nameptr
+ "{jj}" format.name$ duplicate$ empty$ 'skip$
+ { bib.fname.font ", " swap$ * }
+ if$
+ } {
+ "," *
+ s nameptr
+ format.names.fname
+ "jj"
+ " "
+ name.comma
+ control.author.jnrlst {
+ swap$ * skip$
+ } {
+ skip$ * swap$
+ } if$
+ bracify swap$ bracify swap$
+ *
+ format.name$
+ remove.dots
+ duplicate$ empty$ 'skip$
+ { bib.fname.font " " swap$ * }
+ if$
+ } if$
+ *
+}
+
+FUNCTION {names.punctuate}
+{
+ "," *
+ " " *
+}
+%<*!aipauth&!apsrmp>
+
+FUNCTION {names.comma}
+{
+ "," *
+}
+%</!aipauth&!apsrmp>
+
+FUNCTION {format.names}
+{ 'bibinfo :=
+ duplicate$ empty$ { pop$ "" } {
+ duplicate$ num.names$
+ duplicate$ 'numnames :=
+ 'namesleft :=
+ 's :=
+ #1 'nameptr :=
+ ""
+ { namesleft #0 > }
+ {
+ format.names.morfont
+ bibinfo bibinfo.check
+ type$ "presentation" =
+ 'check.speaker
+ 'skip$
+ if$
+ 't :=
+ nameptr #1 > not
+ {
+ t *
+ } {
+ namesleft #1 >
+ {
+ names.punctuate
+ t *
+ } {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+%<*!apsrmp>
+ numnames #2 >
+%<!aipauth> 'names.comma
+%<aipauth> 'names.punctuate
+ 'skip$
+ if$
+%</!apsrmp>
+%<apsrmp> names.punctuate
+ t "others" =
+ {
+ " " *
+ bbl.etal
+ emphasize
+ *
+ } {
+ bbl.and
+%<aapmrev> space.word *
+%<aipauth> word.space * *
+%<aipnum> space.word *
+%<apsrev> space.word *
+%<apsrmp> word.space * *
+ t *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+}
+
+FUNCTION {format.names.ed.onefont}
+{
+ s nameptr
+ control.author.initials {
+ control.author.dotless {
+ control.author.nospace {
+ "{f{}~}{vv~}{ll}{ jj}" % nm-rvx|nm-rvcx
+ } {
+ "{f{~}~}{vv~}{ll}{ jj}" % nm-rv
+ } if$
+ } {
+ control.author.nospace {
+ "{f{.}.~}{vv~}{ll}{ jj}" % nm-rvv|nm-rvvc
+ }{
+ "{f.~}{vv~}{ll}{, jj}" % nm-init|nm-rev|nm-rev1
+ } if$
+ } if$
+ } {
+ "{ff~}{vv~}{ll}{, jj}"
+ } if$
+ format.name$
+ remove.dots
+ bib.name.font
+}
+
+FUNCTION {format.names.ed.morfont}
+{
+ control.author.reversed { %
+ control.author.initials { %
+ control.author.dotless { %
+ s nameptr
+ control.author.nospace { % nm-rvx nm-rvcx
+ "{f{}}"
+ } { % nm-rv
+ "{f{~}}"
+ } if$
+ format.name$ duplicate$ empty$ 'skip$
+ { tie.or.space.prefix bib.fname.font swap$ * }
+ if$
+ s nameptr
+ "{vv~}{ll}" format.name$ bib.name.font *
+ s nameptr
+ "{jj}" format.name$
+ remove.dots
+ duplicate$ empty$ 'skip$
+ { bib.fname.font " " swap$ * }
+ if$
+ } { % !control.author.dotless
+ s nameptr
+ control.author.nospace { % nm-rvv
+ "{ff}"
+ } { % nm-rev nm-rev1
+ "{f.}"
+ } if$
+ format.name$ duplicate$ empty$ 'skip$
+ { tie.or.space.prefix bib.fname.font swap$ * }
+ if$
+ s nameptr
+ "{vv~}{ll}" format.name$ bib.name.font *
+ s nameptr
+ "{jj}" format.name$
+ duplicate$ empty$ 'skip$
+ { bib.fname.font ", " swap$ * }
+ if$
+ } if$
+ } { % Full names !control.author.initials nm-revf nm-revv1
+ s nameptr
+ "{ff}"
+ format.name$ duplicate$ empty$ 'skip$
+ { tie.or.space.prefix bib.fname.font swap$ * }
+ if$
+ s nameptr
+ "{vv~}{ll}" format.name$ bib.name.font *
+ s nameptr
+ "{jj}" format.name$
+ duplicate$ empty$ 'skip$
+ { bib.fname.font ", " swap$ * }
+ if$
+ } if$
+ } { % !control.author.reversed nm-init
+ s nameptr
+ "{f.}"
+ format.name$ duplicate$ empty$ 'skip$
+ { tie.or.space.prefix bib.fname.font swap$ * }
+ if$
+ s nameptr
+ "{vv~}{ll}" format.name$ bib.name.font *
+ s nameptr
+ "{jj}" format.name$
+ duplicate$ empty$ 'skip$
+ { bib.fname.font ", " swap$ * }
+ if$
+ } if$
+ *
+}
+
+FUNCTION {format.names.ed}
+{
+ control.editor #0 > {
+ format.names
+ } {
+ 'bibinfo :=
+ duplicate$ empty$ 'skip$ {
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ format.names.ed.morfont
+ bibinfo bibinfo.check
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ {
+ names.punctuate
+ t *
+ }{
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ numnames #2 >
+%<aapmrev> 'names.comma
+%<aipauth> 'names.punctuate
+%<aipnum> 'names.comma
+%<apsrev> 'names.comma
+%<apsrmp> 'names.punctuate
+ 'skip$
+ if$
+ t "others" =
+ {
+ " " * bbl.etal emphasize *
+ }{
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+ } if$
+ } if$
+}
+
+FUNCTION {format.key}
+{ empty$
+ { key field.or.null }
+ { "" }
+ if$
+}
+
+FUNCTION {format.authors}
+{ author "author" format.names
+ duplicate$ empty$ 'skip$
+ { collaboration "collaboration" bibinfo.check
+ duplicate$ empty$ 'skip$
+ { " (" swap$ * ")" * }
+ if$
+ *
+ }
+ if$
+ "author" 'bibfield :=
+}
+
+FUNCTION {get.bbl.editor}
+{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$
+}
+
+FUNCTION {format.editors}
+{ editor "editor" format.names duplicate$ empty$ 'skip$
+ {
+ "," *
+ word.space *
+ get.bbl.editor
+%<apsrmp> capitalize
+ *
+ }
+ if$
+}
+
+FUNCTION {format.isbn.output}
+{
+}
+
+FUNCTION {format.issn.output}
+{
+}
+
+FUNCTION {doi.base}
+{
+ "https://doi.org/"
+}
+
+FUNCTION {doi.base.command}
+{
+ "\doibase "
+}
+
+FUNCTION {noop.command}
+{
+ "\href@noop "
+}
+
+FUNCTION {href.command}
+{
+ "\href "
+}
+
+FUNCTION {link.tag.open}
+{
+ doi duplicate$ empty$
+ {
+ pop$
+ url duplicate$ empty$
+ {
+ pop$ "" noop.command
+ }{
+ href.command
+ }
+ if$
+ }
+ {
+ "https://doi.org/" swap$ *
+ href.command
+ }
+ if$
+ "{" * swap$ * "} {" *
+}
+
+FUNCTION {link.tag.shut}
+{
+ "}"
+}
+
+FUNCTION {link.open}
+{
+ link.tag.open output.nopunct
+}
+
+FUNCTION {link.shut}
+{
+ link.tag.shut *
+}
+
+FUNCTION {add.doi}
+{
+ link.tag.open swap$ * link.tag.shut *
+}
+
+FUNCTION {select.language}
+{ duplicate$ empty$
+ 'pop$
+ { language empty$
+ 'skip$
+ { "{\selectlanguage {" language * "}" * swap$ * "}" * }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.note}
+{
+ note empty$
+ { "" }
+ { note #1 #1 substring$
+ duplicate$ "{" =
+ 'skip$
+ {
+ output.state after.word = output.state after.punctuation = or
+ { "l" }
+ { "u" }
+ if$ change.case$
+ }
+ if$
+ note #2 global.max$ substring$ * "note" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {bbl.enquote}
+{
+ "\enquote "
+}
+
+FUNCTION {string.enquote}
+{
+ punctuation.no 'punctuation.state :=
+ non.stop {
+ block.punctuation
+ } { "" } if$
+ swap$ pop$
+ *
+ bbl.enquote "{" * swap$ * "}" *
+ word.space *
+}
+
+FUNCTION {format.title}
+{ title
+ duplicate$ empty$ 'skip$ { "t" change.case$ } if$
+ duplicate$ "title" bibinfo.check swap$
+ duplicate$ empty$ 'pop$
+ {
+ punctuation.yes 'punctuation.state :=
+%<!apsrev> string.enquote
+%<apsrev> pop$
+ select.language
+ }
+ if$
+}
+
+FUNCTION {end.quote.title}
+{ title empty$
+ 'skip$
+ { before.all 'output.state := }
+ if$
+}
+
+FUNCTION {format.name.apply}
+{
+ s nameptr
+ "{vv~}{ll}"
+ format.name$
+ cite.name.font
+}
+
+FUNCTION {format.full.names}
+{
+ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { format.name.apply
+ 't :=
+ nameptr #1 >
+ {
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ {
+ 't :=
+ }
+ 'pop$
+ if$
+ t "others" =
+ {
+ " " * bbl.etal
+ emphasize *
+ }{
+ numnames #2 > { "," * }{ skip$ } if$
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {make.full.names}
+{
+ key editor author
+ type$ "proceedings" =
+ type$ "book" =
+ type$ "inbook" =
+ or { pop$ }{ { pop$ "" }{ swap$ pop$ "" swap$ } if$ } if$
+ duplicate$ empty$
+ { pop$
+ duplicate$ empty$
+ { pop$
+ duplicate$ empty$
+ { pop$
+ cite$ #1 #3 substring$
+ }{
+ skip$
+ }
+ if$
+ }
+ { swap$ pop$ format.full.names }
+ if$
+ }
+ { swap$ pop$ swap$ pop$ format.full.names }
+ if$
+}
+
+FUNCTION {year.bibitem}
+{
+ year duplicate$ empty$
+ { pop$ ""
+%<apsrmp> "????" *
+ }{
+ skip$
+ } if$
+ extra.label *
+}
+
+FUNCTION {output.bibitem}
+{
+ newline$
+ ""
+ label
+ * ")" *
+ make.full.names duplicate$ short.list =
+ { pop$ }{ * } if$
+ bracify
+ "[" swap$ * "]" *
+ cite$ bracify "%" *
+ *
+ "\bibitem "
+ swap$ *
+ write$ newline$
+ " "
+ duplicate$ bbl.open * write$ newline$
+ before.all 'output.state :=
+ punctuation.yes 'punctuation.state :=
+}
+
+FUNCTION {n.dashify}
+{
+ 't :=
+ ""
+ { t empty$ not }
+ { t #1 #1 substring$ "-" =
+ { t #1 #2 substring$ "--" = not
+ { "--" *
+ t #2 global.max$ substring$ 't :=
+ }{
+ { t #1 #1 substring$ "-" = }
+ { "-" *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+ }
+ if$
+ }{
+ t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ if$
+ }
+ while$
+}
+
+FUNCTION {word.in}
+{
+ bbl.in
+ word.space *
+}
+
+%<!apsrev>FUNCTION {date.encapsulate}
+%<apsrev>FUNCTION {parenthesize}
+{
+ duplicate$ empty$
+ 'skip$
+ {
+ before.all 'output.state :=
+ " (" swap$ * ")" *
+ }
+ if$
+}
+
+FUNCTION {format.date}
+{
+ year "year" bibinfo.check duplicate$ empty$
+ {
+%<*apsrmp>
+ "empty year in " cite$ * "; set to ????" * warning$
+ pop$ "????"
+%</apsrmp>
+ }
+ 'skip$
+ if$
+ extra.label *
+%<!apsrev> date.encapsulate
+%<apsrev> parenthesize
+}
+
+FUNCTION {format.date.output.check}
+{
+ format.date
+ "year" output.check
+}
+
+FUNCTION {format.date.output}
+{
+ format.date.output.check
+}
+
+FUNCTION {format.btitle}
+{
+ booktitle duplicate$ empty$ { pop$
+ title
+ } 'skip$ if$
+ "title" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ emphasize
+ select.language
+ }
+ if$
+}
+
+FUNCTION {either.or.check}
+{ empty$
+ 'pop$
+ { "can't use both " swap$ * " fields in " * cite$ * warning$ }
+ if$
+}
+
+FUNCTION {editor.check.book}
+{ editor empty$ 'skip$
+ {
+ "can't use both author and editor fields in " cite$ *
+ ": try using @inbook instead" *
+ warning$
+ }
+ if$
+}
+
+FUNCTION {format.bvolume}
+{ volume duplicate$ empty$
+ { pop$ "" }
+ {
+ "volume and number" number either.or.check
+ bbl.volume
+ capitalize
+ swap$
+ tie.or.space.prefix "volume" bibinfo.check * *
+ series "series" bibinfo.check duplicate$ empty$ 'pop$
+ {
+ ", "
+ * swap$ *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.number}
+{
+ bbl.number
+ output.state after.word = output.state after.punctuation = or
+ #1 or
+ #0 and
+ 'skip$
+ { capitalize }
+ if$
+ number tie.or.space.prefix "number" bibinfo.check * *
+}
+
+FUNCTION {format.number.series}
+{ volume empty$
+ { number empty$
+ { series field.or.null }
+ {
+ series empty$
+ {
+ number "number" bibinfo.check
+ }{
+ format.number
+ series "series" bibinfo.check
+ word.space * swap$ *
+ }
+ if$
+ }
+ if$
+ }
+ { "" }
+ if$
+}
+
+FUNCTION {is.num}
+{ chr.to.int$
+ duplicate$ "0" chr.to.int$ < not
+ swap$ "9" chr.to.int$ > not and
+}
+
+FUNCTION {extract.num}
+{ duplicate$ 't :=
+ "" 's :=
+ { t empty$ not }
+ { t #1 #1 substring$
+ t #2 global.max$ substring$ 't :=
+ duplicate$ is.num
+ { s swap$ * 's := }
+ { pop$ "" 't := }
+ if$
+ }
+ while$
+ s empty$
+ 'skip$
+ { pop$ s }
+ if$
+}
+
+FUNCTION {convert.edition}
+{ extract.num "l" change.case$ 's :=
+ s "first" = s "1" = or
+ { bbl.first 't := }
+ { s "second" = s "2" = or
+ { bbl.second 't := }
+ { s "third" = s "3" = or
+ { bbl.third 't := }
+ { s "fourth" = s "4" = or
+ { bbl.fourth 't := }
+ { s "fifth" = s "5" = or
+ { bbl.fifth 't := }
+ { s #1 #1 substring$ is.num
+ { s
+ eng.ord
+ 't := }
+ { edition 't := }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ }
+ if$
+ t
+}
+
+FUNCTION {format.edition}
+{ edition duplicate$ empty$ 'skip$
+ {
+ convert.edition
+ output.state after.word = output.state after.punctuation = or
+ { "l" }
+ { "t" }
+ if$ change.case$
+ "edition" bibinfo.check
+ word.space * bbl.edition *
+ }
+ if$
+}
+
+INTEGERS { multiresult }
+FUNCTION {multi.page.check}
+{ 't :=
+ #0 'multiresult :=
+ { multiresult not
+ t empty$ not
+ and
+ }
+ { t #1 #1 substring$
+ duplicate$ "-" =
+ swap$ duplicate$ "," =
+ swap$ "+" =
+ or or
+ { #1 'multiresult := }
+ { t #2 global.max$ substring$ 't := }
+ if$
+ }
+ while$
+ multiresult
+}
+
+FUNCTION {format.pages}
+{ pages duplicate$ empty$
+ 'skip$
+ { duplicate$ multi.page.check
+ {
+ bbl.pages swap$
+ n.dashify
+ }{
+ bbl.page swap$
+ }
+ if$
+ tie.or.space.prefix
+ "pages" bibinfo.check
+ * *
+ }
+ if$
+}
+
+FUNCTION {first.page}
+{ 't :=
+ ""
+ { t empty$ not t #1 #1 substring$ "-" = not and }
+ { t #1 #1 substring$ *
+ t #2 global.max$ substring$ 't :=
+ }
+ while$
+}
+
+FUNCTION {format.book.pages}
+{
+ pages duplicate$ empty$ 'skip$
+ {
+ "pages" bibinfo.check word.space bbl.pages * *
+ }
+ if$
+}
+
+FUNCTION {volnum.punct}
+{
+ ","
+ word.space *
+}
+
+FUNCTION {format.journal.pages}
+{ pages duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$
+ { pop$ pop$ format.pages }
+ { volnum.punct *
+ swap$
+ control.pages duplicate$ #0 < {
+ pop$ pop$
+ }{
+ #0 >
+ {
+ n.dashify
+ }{
+ first.page
+ } if$
+ } if$
+ "pages" bibinfo.check
+ *
+ }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.journal.eid}
+{ eid "eid" bibinfo.check
+ duplicate$ empty$ 'pop$
+ { swap$ duplicate$ empty$ 'skip$
+ { volnum.punct * }
+ if$
+ swap$ *
+ }
+ if$
+}
+
+FUNCTION {eid.or.pages}
+{
+ eid empty$
+ { format.journal.pages }
+ { format.journal.eid }
+ if$
+}
+
+FUNCTION {format.ser.vol.num}
+{
+ series "series" bibinfo.check output
+ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ bolden
+%<*apsrmp>
+ number "number" bibinfo.check duplicate$ empty$ 'skip$
+ {
+ swap$ duplicate$ empty$
+ { "there's a number but no volume in " cite$ * warning$ }
+ 'skip$
+ if$
+ swap$
+ "~(" swap$ * ")" *
+ }
+ if$ *
+%</apsrmp>
+}
+
+%<*apsrev>
+FUNCTION {format.vol.num}
+{
+ volume field.or.null
+ duplicate$ empty$ 'skip$
+ {
+ "volume" bibinfo.check
+ }
+ if$
+ bolden
+}
+
+%</apsrev>
+FUNCTION {format.chapter.pages}
+{ chapter empty$
+ {
+%<!apsrmp> format.pages
+%<apsrmp> ""
+ }
+ { type empty$
+ {
+ bbl.chapter
+ capitalize
+ }{
+ type
+ capitalize
+ "type" bibinfo.check
+ }
+ if$
+ chapter tie.or.space.prefix
+ "chapter" bibinfo.check
+ * *
+%<*!apsrmp>
+ pages empty$
+ 'skip$
+ { ", " * format.pages * }
+ if$
+%</!apsrmp>
+ }
+ if$
+}
+
+FUNCTION {format.booktitle}
+{
+ booktitle duplicate$ "booktitle" bibinfo.check swap$
+ duplicate$ empty$ 'pop$
+ {
+ punctuation.yes 'punctuation.state :=
+ pop$ emphasize
+ select.language
+ }
+ if$
+}
+
+FUNCTION {format.editor.in}
+{
+ editor "editor" format.names.ed duplicate$ empty$ 'skip$
+ {
+ bbl.edby
+ word.space * swap$ *
+ }
+ if$
+}
+
+FUNCTION {output.article.booktitle}
+{
+ format.booktitle
+ "booktitle" 'bibfield :=
+ output
+ bookaddress "address" bibinfo.check duplicate$ empty$ 'pop$
+ {
+ "address" 'bibfield :=
+ output.nonnull after.punctuation 'output.state :=
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle}
+{
+ format.booktitle duplicate$ empty$ 'pop$
+ {
+ add.doi
+ word.in swap$ * output.nonnull
+ bookaddress "address" bibinfo.check output
+ format.number.series "series and number" bibinfo.check output
+ format.bvolume output
+ format.editor.in "editor" bibinfo.check output
+ }
+ if$
+}
+
+FUNCTION {format.in.ed.booktitle.inbook}
+{
+ format.booktitle duplicate$ empty$ 'pop$
+ {
+ add.doi
+ word.in swap$ * output.nonnull
+ bookaddress "address" bibinfo.check output
+ format.number.series "series and number" bibinfo.check output
+ format.bvolume output
+ author empty$ 'skip$
+ { format.editor.in "editor" bibinfo.check output }
+ if$
+ }
+ if$
+}
+
+FUNCTION {format.thesis.type}
+{ type duplicate$ empty$
+ 'pop$
+ { swap$ pop$
+ "t" change.case$ "type" bibinfo.check
+ }
+ if$
+}
+
+FUNCTION {format.tr.number}
+{ number "number" bibinfo.check
+ type duplicate$ empty$
+ { pop$ bbl.techrep }
+ 'skip$
+ if$
+ "type" bibinfo.check
+ swap$ duplicate$ empty$
+ { pop$ "t" change.case$ }
+ { tie.or.space.prefix * * }
+ if$
+}
+
+FUNCTION {format.article.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.book.crossref}
+{ volume duplicate$ empty$
+ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
+ pop$ word.in
+ }
+ { bbl.volume
+ swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
+ }
+ if$
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.incoll.inproc.crossref}
+{
+ word.in
+ " \cite{" * crossref * "}" *
+}
+
+FUNCTION {format.org.or.pub}
+{ 't :=
+ ""
+ address "address" bibinfo.check
+ duplicate$ empty$
+ { pop$ t }
+ { t duplicate$ empty$
+ { pop$ }
+ {
+ "," word.space *
+ * swap$ *
+ }
+ if$
+ }
+ if$
+ *
+%<*!apsrmp>
+ year duplicate$ empty$
+ {
+ "empty year in " cite$ *
+ warning$
+ pop$ ""
+ }
+ 'skip$
+ if$
+ duplicate$ empty$
+ { pop$ }
+ {
+ "year" bibinfo.check
+ swap$
+ duplicate$ empty$
+ { pop$ }
+ {
+ "," *
+ word.space *
+ swap$ *
+ }
+ if$
+ }
+ if$
+%</!apsrmp>
+ duplicate$ empty$ 'skip$ {
+ ""
+ "(" * swap$ * ")" *
+ after.punctuation 'output.state :=
+ punctuation.space 'punctuation.state :=
+ } if$
+}
+
+FUNCTION {format.publisher.address}
+{ publisher "publisher" bibinfo.warn format.org.or.pub
+}
+
+FUNCTION {format.organization.address}
+{ organization "organization" bibinfo.check format.org.or.pub
+}
+
+FUNCTION {format.organization.publisher.address}
+{
+ publisher empty$
+ { format.organization.address }
+ { organization "organization" bibinfo.check output
+ format.publisher.address
+ }
+ if$
+}
+
+FUNCTION {format.school.address.output}
+{
+ school "school" bibinfo.warn
+ address "address" bibinfo.check
+ duplicate$ empty$ 'skip$
+ {
+ swap$
+ duplicate$ empty$ 'skip$
+ {
+ ", " *
+ }
+ if$
+ swap$
+ }
+ if$
+ *
+%<apsrmp> duplicate$ empty$ 'skip$ { "(" swap$ * ")" * } if$ after.punctuation 'output.state :=
+ output
+}
+
+FUNCTION {article.title.produce}
+{
+ control.title duplicate$ #0 <
+ { pop$
+ }{
+ format.title
+ "title" 'bibfield :=
+ swap$ #0 >
+ {
+ "title" output.check
+ }{
+ output
+ } if$
+ new.block.comma
+ } if$
+}
+
+FUNCTION {control}
+{
+}
+
+FUNCTION {article}
+{ output.bibitem
+ format.authors
+ booktitle empty$ {
+ "author" output.check
+ }{ output } if$
+ author format.key output
+%<!apsrmp> new.block.comma
+%<apsrmp> format.date.output.check date.block
+ article.title.produce
+ output.article.booktitle
+ crossref missing$
+%<apsrev>%% Handle special case of SISSA journals which require an issue number for unique citations and use volume/year interchangably
+ {
+%<*!apsrev>
+ link.open
+ journal
+ "journal" bibinfo.warn
+ "journal" 'bibfield :=
+ output
+ add.blank
+ format.ser.vol.num
+ output
+ eid.or.pages
+%<!apsrmp> format.date.output.check
+ pages empty$ {
+ doi output
+ } 'skip$ if$
+ link.shut
+%</!apsrev>
+%<*apsrev>
+ journal "J. High Energy Phys." =
+ journal "J. High Energ. Phys." = or
+ journal "JHEP" = or
+ journal "Journal of Cosmology and Astroparticle Physics" = or
+ journal "J. Cosmol. Astropart. Phys." = or
+ journal "JCAP" = or
+ journal "Journal of Instrumentation" = or
+ journal "J. Instrum." = or
+ journal "JINST" = or
+ journal "Journal of Statistical Mechanics" = or
+ journal "J. of Stat. Mech." = or
+ journal "J. Stat. Mech.: Theory Exp." = or
+ journal "JSTAT" = or
+ {
+ link.open
+ journal
+ "journal" bibinfo.warn
+ "journal" 'bibfield :=
+ output
+ add.blank
+ format.vol.num output
+ number parenthesize
+ "number" bibinfo.warn
+ "number" 'bibfield :=
+ output
+ eid.or.pages
+ link.shut
+ }
+ {
+ eid missing$
+ pages missing$ and
+ doi missing$ not and
+ {
+ journal
+ "journal" bibinfo.warn
+ "journal" 'bibfield :=
+ output
+ add.blank
+ format.ser.vol.num
+ output
+ link.open
+ doi output
+ link.shut
+ format.date.output.check
+ }
+ {
+ link.open
+ journal
+ "journal" bibinfo.warn
+ "journal" 'bibfield :=
+ output
+ add.blank
+ format.ser.vol.num
+ output
+ eid.or.pages
+ format.date.output.check
+ link.shut
+ } if$
+ } if$
+%</apsrev>
+ }{
+ format.article.crossref output.nonnull
+%<!apsrmp> format.pages output
+%<apsrmp> eid.or.pages
+ }
+ if$
+%<!apsrev&!apsrmp> format.issn.output
+ new.block.comma
+ new.sentence.comma
+ format.note output
+ format.eprint.controlled output
+ format.translation output
+ fin.entry
+}
+
+FUNCTION {book}
+{ output.bibitem
+ author empty$
+ {
+ format.editors "author and editor" output.check
+ editor format.key output
+ }{
+ format.authors output.nonnull
+%% crossref missing$ { editor.check.book } 'skip$ if$
+ }
+ if$
+%<!apsrmp> new.block.comma
+%<apsrmp> format.date.output.check date.block
+ link.open
+ format.btitle
+ "title" output.check
+ link.shut
+ format.edition output
+ author empty$
+ {
+ }
+ {
+ format.editor.in output
+ editor format.key output
+ }
+ if$
+ format.number.series output
+ crossref missing$
+ {
+ format.bvolume output
+ new.block.comma
+ format.publisher.address output
+ }{
+ new.block.comma
+ format.book.crossref output.nonnull
+%<!apsrmp> format.date.output.check
+ }
+ if$
+ format.isbn.output
+ format.chapter.pages
+ output
+ new.block.comma
+ new.sentence.comma
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {booklet}
+{ output.bibitem
+ format.authors output
+ author format.key output
+%<!apsrmp> new.block.comma
+%<apsrmp> format.date.output date.block
+ link.open
+ format.title
+ "title" output.check
+ link.shut
+ new.block.comma
+ howpublished "howpublished" bibinfo.check output
+ address "address" bibinfo.check output
+%<!apsrmp> format.date.output
+ format.isbn.output
+ format.book.pages output
+ new.block.comma
+ new.sentence.comma
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {footnote}
+{ output.bibitem
+ format.note output
+ fin.entry
+}
+
+FUNCTION {inbook}
+{ output.bibitem
+ author empty$
+ {
+ format.editors "editor" output.check
+ editor format.key output
+ }{
+ format.authors output.nonnull
+ author format.key output
+ }
+ if$
+%<!apsrmp> new.block.comma
+%<apsrmp> format.date.output.check date.block
+
+ format.title output
+ new.block.comma
+
+ crossref missing$
+ {
+ format.in.ed.booktitle.inbook
+%<!apsrmp> format.publisher.address output
+ format.chapter.pages
+%<!apsrmp> "chapter and pages"
+%<apsrmp> "chapter"
+ output.check
+ new.block.comma
+ format.edition output
+ new.block.comma
+%<apsrmp> format.publisher.address output
+ }{
+ format.chapter.pages
+%<!apsrmp> "chapter and pages"
+%<apsrmp> "chapter"
+ output.check
+ new.block.comma
+ format.book.crossref output.nonnull
+%<!apsrmp> format.date.output.check
+ }
+ if$
+ crossref missing$
+ { format.isbn.output }
+ 'skip$
+ if$
+%<apsrmp> format.pages "pages" output.check
+ new.block.comma
+ new.sentence.comma
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {incollection}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+%<!apsrmp> new.block.comma
+%<apsrmp> format.date.output.check date.block
+ article.title.produce
+ crossref missing$
+ {
+ format.in.ed.booktitle
+%<!apsrmp> format.publisher.address output
+ format.edition output
+ format.chapter.pages output
+%<apsrmp> format.publisher.address output
+ format.isbn.output
+ }{
+ format.incoll.inproc.crossref output.nonnull
+ format.chapter.pages output
+ }
+ if$
+%<apsrmp> format.pages "pages" output.check
+ new.block.comma
+ new.sentence.comma
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {inproceedings}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+%<!apsrmp> new.block.comma
+%<apsrmp> format.date.output.check date.block
+ article.title.produce
+ crossref missing$
+ {
+ format.in.ed.booktitle
+ format.organization.publisher.address output
+%<!apsrmp> format.chapter.pages output
+ format.isbn.output
+ format.issn.output
+ }{
+ format.incoll.inproc.crossref output.nonnull
+%<!apsrmp> format.chapter.pages output
+ }
+ if$
+%<apsrmp> format.chapter.pages "chapter and pages" output.check
+%<apsrmp> format.pages "pages" output.check
+ new.block.comma
+ new.sentence.comma
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {conference} { inproceedings }
+FUNCTION {manual}
+{ output.bibitem
+ format.authors output
+ author format.key output
+%<!apsrmp> new.block.comma
+%<apsrmp> format.date.output date.block
+ link.open
+ format.btitle
+ "title" output.check
+ link.shut
+ organization "organization" bibinfo.check output
+ address "address" bibinfo.check output
+ format.edition output
+%<!apsrmp> format.date.output
+ new.block.comma
+ new.sentence.comma
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {mastersthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+%<!apsrmp> new.block.comma
+%<apsrmp> format.date.output.check date.block
+ format.btitle
+ output
+ new.block.comma
+ link.open
+ bbl.mthesis
+ format.thesis.type
+ output.nonnull
+ link.shut
+ format.school.address.output
+%<!apsrmp> format.date.output.check
+ new.block.comma
+ new.sentence.comma
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {misc}
+{ output.bibitem
+ format.authors output
+ author format.key output
+%<apsrmp> format.date.output
+%<!apsrmp> new.block.comma
+%<apsrmp> date.block
+ link.open
+ format.title
+ output
+ link.shut
+ new.block.comma
+ howpublished "howpublished" bibinfo.check output
+%<!apsrmp> format.date.output
+ new.block.comma
+ new.sentence.comma
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {phdthesis}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+%<!apsrmp> new.block.comma
+%<apsrmp> format.date.output.check date.block
+ format.btitle
+ output
+ new.block.comma
+ link.open
+ bbl.phdthesis
+ format.thesis.type
+ output.nonnull
+ link.shut
+ format.school.address.output
+%<!apsrmp> format.date.output.check
+ new.block.comma
+ new.sentence.comma
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {presentation}
+{ output.bibitem
+ format.authors output
+ author format.key output
+ new.block.comma
+ link.open
+ format.title
+ output
+ link.shut
+ new.block.comma
+ format.organization.address "organization and address" output.check
+ month "month" output.check
+ year "year" output.check
+ new.block.comma
+ new.sentence.comma
+ format.note output
+ new.sentence
+ type missing$ 'skip$
+ {"(" type capitalize * ")" * output}
+ if$
+ fin.entry
+}
+
+FUNCTION {proceedings}
+{ output.bibitem
+ format.editors output
+ editor format.key output
+%<!apsrmp> new.block.comma
+%<apsrmp> format.date.output.check date.block
+ link.open
+ format.btitle
+ "title" output.check
+ link.shut
+ bookaddress "address" bibinfo.check output
+ format.number.series output
+ format.bvolume output
+ format.organization.publisher.address output
+ format.isbn.output
+ format.issn.output
+ new.block.comma
+ new.sentence.comma
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {techreport}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+%<!apsrmp> new.block.comma
+%<apsrmp> format.date.output.check date.block
+ link.open
+%<!apsrev&!apsrmp> format.title
+%<apsrev|apsrmp> format.btitle
+ "title" output.check
+ link.shut
+ new.block.comma
+ format.tr.number
+ output.nonnull
+ institution "institution" bibinfo.warn
+ format.org.or.pub output
+ new.block.comma
+ new.sentence.comma
+ format.note output
+ format.eprint output
+ fin.entry
+}
+
+FUNCTION {unpublished}
+{ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+%<*!apsrev>
+%<!apsrmp> new.block.comma
+%<apsrmp> format.date.output date.block
+ link.open
+ format.title
+ "title" output.check
+ link.shut
+%</!apsrev>
+%<*apsrev>
+ article.title.produce
+ format.eprint output
+%</apsrev>
+%<!apsrmp> format.date.output
+ new.block.comma
+ new.sentence.comma
+ format.note "note" output.check
+%<!apsrev> format.eprint output
+ fin.entry
+}
+
+FUNCTION {dataset}
+{
+ output.bibitem
+ format.authors "author" output.check
+ author format.key output
+%<apsrmp> format.date.output date.block
+ article.title.produce
+ doi missing$
+ url missing$ not and
+ {
+ link.open
+ url "url" output.check
+ link.shut
+ }
+ {
+ link.open
+ doi "doi" output.check
+ link.shut
+ } if$
+%<!apsrmp> format.date.output
+ format.note output
+ fin.entry
+}
+
+FUNCTION {default.type} { misc }
+
+READ
+
+EXECUTE {control.init}
+
+ITERATE {control.pass}
+
+EXECUTE {control.check}
+
+FUNCTION {sortify}
+{ purify$
+ "l" change.case$
+}
+
+INTEGERS { len }
+
+FUNCTION {chop.word}
+{ 's :=
+ 'len :=
+ s #1 len substring$ =
+ { s len #1 + global.max$ substring$ }
+ 's
+ if$
+}
+
+FUNCTION {cite.name.font.apply}
+{
+ word.space * bbl.etal
+ emphasize
+ *
+}
+
+%<*!apsrev&!apsrmp>
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ {
+ format.name.apply
+ 't :=
+ nameptr #1 >
+ {
+ nameptr
+ #2
+ =
+ numnames
+ #3
+ > and
+ {
+ "others" 't :=
+ #1 'namesleft :=
+ }
+ 'skip$
+ if$
+ namesleft #1 >
+ { ", " * t * }
+ {
+ s nameptr "{ll}" format.name$ duplicate$ "others" =
+ { 't := }
+ { pop$ }
+ if$
+ t "others" =
+ {
+ cite.name.font.apply
+ }{
+ numnames #2 > { "," * } 'skip$ if$
+ bbl.and
+ space.word * t *
+ }
+ if$
+ }
+ if$
+ }
+ 't
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+%</!apsrev&!apsrmp>
+%<*apsrev|apsrmp>
+FUNCTION {format.lab.names}
+{ 's :=
+ "" 't :=
+ #1 'nameptr :=
+ format.name.apply
+ s num.names$ duplicate$
+ #2 >
+ { pop$
+ cite.name.font.apply
+ }{
+ #2 <
+ 'skip$
+ {
+ s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
+ {
+ cite.name.font.apply
+ }{
+ bbl.and space.word *
+ s #2 "{vv~}{ll}" format.name$
+ cite.name.font
+ *
+ }
+ if$
+ }
+ if$
+ }
+ if$
+}
+
+%</apsrev|apsrmp>
+FUNCTION {author.key.label}
+{ author empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {author.editor.key.label}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+ }
+ { author format.lab.names }
+ if$
+}
+
+FUNCTION {editor.key.label}
+{ editor empty$
+ { key empty$
+ { cite$ #1 #3 substring$ }
+ 'key
+ if$
+ }
+ { editor format.lab.names }
+ if$
+}
+
+FUNCTION {calc.short.authors}
+{ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.key.label
+ { type$ "proceedings" =
+ 'editor.key.label
+ 'author.key.label
+ if$
+ }
+ if$
+ 'short.list :=
+}
+
+FUNCTION {calc.label}
+{
+ calc.short.authors
+ short.list
+ year duplicate$ empty$
+%<apsrev|apsrmp> short.list key field.or.null = or
+ {
+ pop$ ""
+%<apsrmp> "????" *
+ }{
+ control.year #0 > { purify$ #-1 #4 substring$ } 'skip$ if$
+ }
+ if$
+ "(" swap$ *
+ * 'label :=
+}
+
+FUNCTION {sort.format.names}
+{ 's :=
+ #1 'nameptr :=
+ ""
+ s num.names$ 'numnames :=
+ numnames 'namesleft :=
+ { namesleft #0 > }
+ { s nameptr
+ "{ll{ }}"
+ control.author.initials {
+ "{ f{ }}" *
+ }{
+ "{ ff{ }}" *
+ } if$
+ "{ jj{ }}" *
+ format.name$ 't :=
+ nameptr #1 >
+ {
+ " " *
+ namesleft #1 = t "others" = and
+ { "zzzzz" * }
+ {
+ t sortify *
+ }
+ if$
+ }
+ { t sortify * }
+ if$
+ nameptr #1 + 'nameptr :=
+ namesleft #1 - 'namesleft :=
+ }
+ while$
+}
+
+FUNCTION {sort.format.title}
+{ 't :=
+ "A " #2
+ "An " #3
+ "The " #4 t chop.word
+ chop.word
+ chop.word
+ sortify
+ #1 global.max$ substring$
+}
+
+FUNCTION {author.sort}
+{ author empty$
+ { key empty$
+ { "to sort, need author or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {author.editor.sort}
+{ author empty$
+ { editor empty$
+ { key empty$
+ { "to sort, need author, editor, or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+ }
+ { author sort.format.names }
+ if$
+}
+
+FUNCTION {year.sort.key}
+{
+ year
+}
+
+FUNCTION {editor.sort}
+{ editor empty$
+ { key empty$
+ { "to sort, need editor or key in " cite$ * warning$
+ ""
+ }
+ { key sortify }
+ if$
+ }
+ { editor sort.format.names }
+ if$
+}
+
+INTEGERS { seq.num }
+
+FUNCTION {init.seq}
+{ #0 'seq.num :=}
+
+EXECUTE {init.seq}
+
+FUNCTION {int.to.fix}
+{ "000000000" swap$ int.to.str$ *
+ #-1 #10 substring$
+}
+
+FUNCTION {label.presort}
+{
+ calc.label
+ label sortify
+ " "
+ *
+%<*!aipauth&!apsrmp>
+ seq.num #1 + 'seq.num :=
+ seq.num int.to.fix
+%</!aipauth&!apsrmp>
+%<*aipauth|apsrmp>
+ type$ "book" =
+ type$ "inbook" =
+ or
+ 'author.editor.sort
+ { type$ "proceedings" =
+ 'editor.sort
+ 'author.sort
+ if$
+ }
+ if$
+ #1 entry.max$ substring$
+%</aipauth|apsrmp>
+ 'sort.label :=
+ sort.label
+ *
+ " "
+ *
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+FUNCTION {presort.pass}
+{ type$ "control" = 'control.presort 'label.presort if$
+}
+
+ITERATE {presort.pass}
+
+SORT
+
+STRINGS { last.label next.extra }
+
+INTEGERS { last.extra.num number.label }
+
+FUNCTION {initialize.extra.label.stuff}
+{ #0 int.to.chr$ 'last.label :=
+ "" 'next.extra :=
+ #0 'last.extra.num :=
+ #0 'number.label :=
+}
+
+FUNCTION {label.forward}
+{
+ last.label label =
+ { last.extra.num #1 + 'last.extra.num :=
+ last.extra.num int.to.chr$ 'extra.label :=
+ }
+ { "a" chr.to.int$ 'last.extra.num :=
+ "" 'extra.label :=
+ label 'last.label :=
+ }
+ if$
+ number.label #1 + 'number.label :=
+}
+
+FUNCTION {label.reverse}
+{ next.extra "b" =
+ { "a" 'extra.label := }
+ 'skip$
+ if$
+ extra.label 'next.extra :=
+ extra.label
+ duplicate$ empty$
+ 'skip$
+ { "{\natexlab{" swap$ * "}}" * }
+ if$
+ 'extra.label :=
+ label extra.label * 'label :=
+}
+
+EXECUTE {initialize.extra.label.stuff}
+
+FUNCTION {forward.pass}
+{ type$ "control" = 'control.forward 'label.forward if$
+}
+
+ITERATE {forward.pass}
+
+FUNCTION {reverse.pass}
+{ type$ "control" = 'control.reverse 'label.reverse if$
+}
+
+REVERSE {reverse.pass}
+
+FUNCTION {sortkey.sort}
+{ sort.label
+ " "
+ *
+ year.sort.key
+ field.or.null sortify
+ *
+ " "
+ *
+ title field.or.null sort.format.title
+ *
+ #1 entry.max$ substring$
+ 'sort.key$ :=
+}
+
+FUNCTION {bib.sort.pass}
+{ type$ "control" = 'control.sort 'sortkey.sort if$
+}
+
+ITERATE {bib.sort.pass}
+
+SORT
+
+FUNCTION {init.bib.eprint}
+{
+ "\texttt {"
+ pop$
+ "\providecommand \url [0]{\begingroup\@sanitize@url \@url }%" write$ newline$
+ "\providecommand \@url [1]{\endgroup\@href {#1}{" "}}%" bbl.url.prefix swap$ * * write$ newline$
+ "\providecommand " " [0]{URL }%" bbl.url.prefix swap$ * * write$ newline$
+ eprint.command "\providecommand " swap$ * "[0]{\href }%" * write$ newline$
+}
+
+FUNCTION {init.bib.doi}
+{
+ "\providecommand \doibase [0]{" doi.base "}%" * * write$ newline$
+}
+
+FUNCTION {init.bib.hypertex}
+{
+ "\providecommand " noop.command "[0]{\@secondoftwo}%" * * write$ newline$
+ "\providecommand " href.command "[0]{\begingroup \@sanitize@url \@href}%" * * write$ newline$
+ "\providecommand \@href[1]{\@@startlink{#1}\@@href}%" write$ newline$
+ "\providecommand \@@href[1]{\endgroup#1\@@endlink}%" write$ newline$
+ "\providecommand \@sanitize@url [0]{\catcode `\\12\catcode `\$12\catcode `\&12\catcode `\#12\catcode `\^12\catcode `\_12\catcode `\%12\relax}%" write$ newline$
+ "\providecommand \@@startlink[1]{}%" write$ newline$
+ "\providecommand \@@endlink[0]{}%" write$ newline$
+}
+
+FUNCTION {init.bib.namefont}
+{
+ "\providecommand \bibnamefont [1]{#1}%" write$ newline$
+ "\providecommand \bibfnamefont [1]{#1}%" write$ newline$
+ "\providecommand \citenamefont [1]{#1}%" write$ newline$
+}
+
+FUNCTION {init.bib.quote}
+{
+ "\providecommand " bbl.enquote * " [1]{" *
+ "``" "''"
+ "#1" swap$ "}%" * * * * write$ newline$
+}
+
+FUNCTION {init.bib.ay}
+{
+ "\providecommand \natexlab [1]{#1}%"
+ write$ newline$
+}
+
+FUNCTION {init.bib.bibinfo}
+{
+ bibinfo.command "\providecommand " swap$ * " [0]{\@secondoftwo}%" * write$ newline$
+ bibfield.command "\providecommand " swap$ * " [0]{\@secondoftwo}%" * write$ newline$
+}
+
+FUNCTION {init.bib.lang}
+{
+ "\providecommand \selectlanguage [0]{\@gobble}%" write$ newline$
+}
+
+FUNCTION {init.bib.endbibitem}
+{
+ "\providecommand " bbl.open * "[0]{}%" * write$ newline$
+ "\providecommand \bibitemStop [0]{}%" write$ newline$
+ "\providecommand \bibitemNoStop [0]{.\EOS\space}%" write$ newline$
+ "\providecommand \EOS [0]{\spacefactor3000\relax}%" write$ newline$
+}
+
+FUNCTION {init.bib.translation}
+{
+ "\providecommand \translation [1]{[#1]}%" write$ newline$
+}
+
+FUNCTION {warn.bib}
+{
+}
+
+FUNCTION {init.bib}
+{
+ warn.bib
+ "\makeatletter" write$ newline$
+ "\providecommand \@ifxundefined [1]{%" write$ newline$
+ " \@ifx{#1\undefined}" write$ newline$
+ "}%" write$ newline$
+ "\providecommand \@ifnum [1]{%" write$ newline$
+ " \ifnum #1\expandafter \@firstoftwo" write$ newline$
+ " \else \expandafter \@secondoftwo" write$ newline$
+ " \fi" write$ newline$
+ "}%" write$ newline$
+ "\providecommand \@ifx [1]{%" write$ newline$
+ " \ifx #1\expandafter \@firstoftwo" write$ newline$
+ " \else \expandafter \@secondoftwo" write$ newline$
+ " \fi" write$ newline$
+ "}%" write$ newline$
+ init.bib.ay
+ init.bib.quote
+ init.bib.namefont
+ init.bib.hypertex
+ init.bib.eprint
+ init.bib.doi
+ init.bib.lang
+ init.bib.bibinfo
+ init.bib.translation
+ init.bib.endbibitem
+ "\providecommand " bbl.shut * " [1]{\csname bibitem#1\endcsname}%" * write$ newline$
+ "\let\auto@bib@innerbib\@empty" write$ newline$
+ "%</preamble>" write$
+}
+
+FUNCTION {begin.bib}
+{
+ id.bst diagn.cmntlog
+ control.bib
+ preamble$ empty$
+ 'skip$
+ { preamble$ write$ newline$ }
+ if$
+ "\begin{thebibliography}{"
+ number.label int.to.str$
+ * "}%" *
+ write$ newline$
+ init.bib
+}
+
+EXECUTE {begin.bib}
+
+EXECUTE {init.state.consts}
+
+ITERATE {call.type$}
+
+FUNCTION {end.bib}
+{ newline$
+ "\end{thebibliography}%"
+ write$ newline$
+}
+
+EXECUTE {end.bib}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</aapmrev|aipauth|aipnum|apsrev|apsrmp>
+% \end{macrocode}
+%
+% \endinput
+%
+% \Finale
diff --git a/Master/texmf-dist/source/latex/revtex/revtex4-2.dtx b/Master/texmf-dist/source/latex/revtex/revtex4-2.dtx
index 844a1edad12..f6e0b1ca601 100644
--- a/Master/texmf-dist/source/latex/revtex/revtex4-2.dtx
+++ b/Master/texmf-dist/source/latex/revtex/revtex4-2.dtx
@@ -77,7 +77,10 @@ Modified by Aptara on behalf of American Physical Society and American Institute
Version (4.2b,4.2c)
Modified by Mark Doyle, American Physical Society (mailto:revtex at aps.org)
-Copyright (c) 2019 American Physical Society.
+Version (4.2d,4.2e)
+Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org)
+
+Copyright (c) 2019--2020 American Physical Society.
https://journals.aps.org/revtex/
mailto:revtex@aps.org
@@ -128,17 +131,14 @@ See the REVTeX 4.2 README-REVTEX file for restrictions and more information.
% \fi
%
% \GetFileInfo{revtex4-2.dtx}
-% \CheckSum{6584}
%
% \StopEventually{}
% \iffalse ltxdoc klootch
%<*package>
%%% @LaTeX-file{
%%% filename = "revtex4-2.dtx",
-%%% version = "4.2c",
-%%% date = "2019/01/18",
-%%% time = "14:29:48 UT-5",
-%%% checksum = "6584",
+%%% version = "4.2e",
+%%% date = "2020/10/03",
%%% author = "Mark Doyle (mailto: revtex at aps.org), Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
%%% commissioned by the American Physical Society.
%%% ",
@@ -156,7 +156,6 @@ See the REVTeX 4.2 README-REVTEX file for restrictions and more information.
%%% keywords = "",
%%% supported = "yes",
%%% abstract = "",
-%%% docstring = "The checksum field above generated by ltxdoc",
%%% }
%</package>
% \fi
@@ -230,7 +229,7 @@ See the REVTeX 4.2 README-REVTEX file for restrictions and more information.
%</doc>
%<*!package&!options>
%<version>
- [2019/01/18/14:29:48 4.2c (https://journals.aps.org/revtex/ for documentation)]% \fileversion
+ [2020/10/03 4.2e (https://journals.aps.org/revtex/ for documentation)]% \fileversion
%</!package&!options>
% \end{macrocode}
% The current class name is remembered in \cmd\class@name.
@@ -651,8 +650,8 @@ The file \file{template.aps} is a boilerplate file.
mailto:revtex@aps.org^^J
Licensed under the LPPL:^^Jhttp://www.ctan.org/tex-archive/macros/latex/base/lppl.txt^^J
Arthur Ogawa <arthur_ogawa at sbcglobal dot net>^^J
- Based on work by David Carlisle <david at dcarlisle.demon.co.uk>%
- Version (4.2c): Modified by Mark Doyle^^J
+ Based on work by David Carlisle <david at dcarlisle.demon.co.uk>^^J
+ Version (4.2d,4.2e): Modified by Mark Doyle and Phelype Oleinik^^J
\@gobble
}%
% \end{macrocode}
diff --git a/Master/texmf-dist/tex/latex/revtex/aapm4-2.rtx b/Master/texmf-dist/tex/latex/revtex/aapm4-2.rtx
index c21ba71e2ff..2f0a8d2463c 100644
--- a/Master/texmf-dist/tex/latex/revtex/aapm4-2.rtx
+++ b/Master/texmf-dist/tex/latex/revtex/aapm4-2.rtx
@@ -11,7 +11,7 @@
%% instead, modify the original source file.
%% See the URL in the file README-AIP.
%%
-%% Copyright (c) 2019 American Institute of Physics.
+%% Copyright (c) 2019--2020 American Institute of Physics.
%% mailto:tex@aip.org
%%
%% Maintained by Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net)
@@ -21,6 +21,9 @@
%% Modified by Aptara
%% under contract to American Institute of Physics
%%
+%% Version (4.2d,4.2e)
+%% Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org)
+%%
%% License
%% You may distribute this file under the conditions of the
%% LaTeX Project Public License 1.3c or later
diff --git a/Master/texmf-dist/tex/latex/revtex/aip4-2.rtx b/Master/texmf-dist/tex/latex/revtex/aip4-2.rtx
index 799b2480dde..a257b90e50d 100644
--- a/Master/texmf-dist/tex/latex/revtex/aip4-2.rtx
+++ b/Master/texmf-dist/tex/latex/revtex/aip4-2.rtx
@@ -11,7 +11,7 @@
%% instead, modify the original source file.
%% See the URL in the file README-AIP.
%%
-%% Copyright (c) 2019 American Institute of Physics.
+%% Copyright (c) 2019--2020 American Institute of Physics.
%% mailto:tex@aip.org
%%
%% Maintained by Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net)
@@ -21,6 +21,9 @@
%% Modified by Aptara
%% under contract to American Institute of Physics
%%
+%% Version (4.2d,4.2e)
+%% Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org)
+%%
%% License
%% You may distribute this file under the conditions of the
%% LaTeX Project Public License 1.3c or later
@@ -48,14 +51,13 @@
%%
%%% @LaTeX-file{
%%% filename = "aip4-2.dtx",
-%%% version = "4.2c",
-%%% date = "2019/01/18",
-%%% time = "14:29:48 GMT-5",
-%%% checksum = "6737",
+%%% version = "4.2e",
+%%% date = "2020/10/03",
%%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
+%%% Phelype Oleinik (mailto:phelype.oleinik at latex-project.org),
%%% commissioned by the American Institute of Physics.
%%% ",
-%%% copyright = "Copyright (C) 2019 American Institute of Physics,
+%%% copyright = "Copyright (C) 2019--2020 American Institute of Physics,
%%% distributed under the terms of the
%%% LaTeX Project Public License 1.3c, see
%%% ftp://ctan.tug.org/macros/latex/base/lppl.txt
@@ -71,11 +73,10 @@
%%% keywords = "latex, page grid, main vertical list",
%%% supported = "yes",
%%% abstract = "aip substyle for REVTeX",
-%%% docstring = "The checksum field above generated by ltxdoc",
%%% }
\NeedsTeXFormat{LaTeX2e}[1996/12/01]%
\ProvidesFile{aip4-2.rtx}%
- [2019/01/18/14:29:48 4.2c AIP substyle for REVTeX]% \fileversion
+ [2020/10/03 4.2e AIP substyle for REVTeX]% \fileversion
\ifx\undefined\substyle@ext
\def\@tempa{%
\endinput
@@ -640,7 +641,6 @@
\clo@superscriptaddress
\def\@journal@default{cha}%
\def\@pointsize@default{12}%
-\@booleanfalse\pagerestrict@sw%
\def\rtx@aipjcp{%
\typeout{Using journal substyle \@journal.}%
\@booleanfalse\authoryear@sw
@@ -803,766 +803,20 @@
\space \@listand
}%
%%
-%% XXXXXXXXXXXXXXXXXXXXXXXXXXX CURRENTLY DEACTIVATED XXXXXXXXXXXXXXXXXXXXXXXXXX
-%% To activate, please add "\@booleantrue\pagerestrict@sw" in the
-%% respective journal option
-%% XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
%% Appended by Ms. Sehar Tahir (Aptara) for American Institute of Physics.
%% To impose page restrictions for APL journal at MSP stage.
%%
%% HISTORY
%% Revised page restriction to 4 pages: 05/10/2011
%% Tweaked the page over length message: 31/10/2011
-\begingroup%
- \catcode`P=12%
- \catcode`T=12%
- \lowercase{%
- \def\x{\def\local@rem@pt##1.##2PT{##1.##2}}}%
- \expandafter\endgroup\x%
-\def\local@strip@pt{\expandafter\local@rem@pt\the}%
+%% Removed unused page restriction code: 30/09/2020
%%
\DeclareOption{no-pagerestrict}{%
- \@booleanfalse\pagerestrict@sw
-}%
-\appdef\rtx@require@packages{%
-\pagerestrict@sw{% For imposing page restrictions
- \typeout{AIP Info: Appending Manuscript Pages caculations, 2011/05/30}%
- % Default values
- \def\page@allowed{4}% APL Article size limit
- \def\text@ht@allowed{5324pt}% APL Total text height for allowed 4 pages
- \def\page@calc@count{0}% APL Article size limit
- % Message to authors
- \def\msg@text{According to our initial programmatic calculations, your article may exceed APL page length restrictions. The estimated overlength is denoted by the red side bar. In order to avoid production delays, please adjust your text accordingly and replace your manuscript. To assist you with this process, please ensure that your figures, if any, are placed within the text and are the same size that you wish them to appear in the published article.}% Message to be displayed on the top of last page
- \def\msg@runningtitle{% Message definition
-\preprintsty@sw{%
- \@tempdimc\textwidth\advance\@tempdimc-11pt%
- \vtop{\vspace*{-3pc}\fboxsep0pt\fboxrule.5pt\fbox{\fboxsep5pt\colorbox{grayten}{%
- \vtop{\hsize\@tempdimc{{\reset@font\fontsize{9}{11}\def\baselinestretch{1}\leftskip0pt\rightskip0pt\parfillskip0pt plus1fill\selectfont\msg@text\endgraf}}}}}}%
- }{%
- \@tempdimc\textwidth\advance\@tempdimc-7pt%
- \vtop{\vspace*{-2.5pc}\fboxsep0pt\fboxrule.5pt\fbox{\fboxsep3pt\colorbox{grayten}{%
- \vtop{\hsize\@tempdimc{{\reset@font\fontsize{8}{10}\def\baselinestretch{1}\leftskip0pt\rightskip0pt\parfillskip0pt plus1fill\selectfont\msg@text\endgraf}}}}}}}%
- }%
- %
- \RequirePackage{graphicx}%
- \RequirePackage{color}%
- \definecolor{grayten}{gray}{.80}%
- %
- % Taken from refcount.sty
- \def\setrefcountdefault#1{\def\rc@default{#1}}%
- \setrefcountdefault{0}%
- %
- \def\rc@cartwo#1#2#3\@nil{#2}%
- \newcommand*{\rev@getpagerefnumber}[1]{%
- \expandafter\ifx\csname r@#1\endcsname\relax
- \rc@default
- \else
- \expandafter\expandafter\expandafter\rc@cartwo
- \csname r@#1\endcsname\rc@default\rc@default\@nil
- \fi
- }
- \newcommand*{\rev@getrefnumber}[1]{%
- \expandafter\ifx\csname r@#1\endcsname\relax
- \rc@default
- \else
- \expandafter\expandafter\expandafter\@car
- \csname r@#1\endcsname\@nil
- \fi
- }
- % Count determined from \label{...}
- \newcommand\calc@run@count[2][0]{%
- \@ifundefined{r@#2}{\ifnum#1=\z@\@tempcnta\c@page\advance\@tempcnta\m@ne\else\@tempcnta\z@\fi}%
- {\@tempcnta\rev@getpagerefnumber{#2}\relax}}%
- %
- % Taken from everypage.sty
- \newif\iffloats@end\global\floats@endfalse
- \newif\ifextra@rule\global\extra@rulefalse
- %
- \newcommand{\sc@everypage@hook}{}
- \newcommand{\sc@thispage@hook}{}
- \newcommand*{\AddEverypageHook}[1]{%
- \g@addto@macro\sc@everypage@hook{#1}}
- \newcommand*{\AddThispageHook}[1]{%
- \g@addto@macro\sc@thispage@hook{#1}}
- \newcommand*{\sc@ep@init}{%
- \let\sc@op@saved\@outputpage
- \def\@outputpage{%
-\sc@op@preamble
-\sc@op@saved
-\sc@op@postamble}}
- \newcommand*{\sc@op@preamble}{%
- \let\sc@begindvi\@begindvi
- \def\@begindvi{%
-\sc@everypage@hook
-\sc@thispage@hook
-\gdef\sc@thispage@hook{}
-\sc@begindvi}}
- \newcommand*{\sc@op@postamble}{%
- \let\@begindvi\sc@begindvi}
- \AtBeginDocument{\sc@ep@init}
- % Taken from draftwatermark.sty
- \newcommand\sc@colortext[1]{%
- \setlength{\@tempdimb}{0pt}%
- \setlength{\@tempdimc}{-\paperheight}%
- \put(\strip@pt\@tempdimb,\strip@pt\@tempdimc){%
- \textcolor{red}{\rule{30pt}{#1}}
-}}
- % Calculating shift in red side-bar according to pages
- \def\page@mark@shift{%
- \@ifundefined{page@height\romannumeral\the\c@page}{}{%
- \@tempdimc\csname page@height\romannumeral\the\c@page\endcsname\relax%
- \ifdim\@tempdimc>\csname page@mark\romannumeral\the\c@page\endcsname\relax%
- \@tempdimb\textheight\advance\@tempdimb-\csname page@height\romannumeral\the\c@page\endcsname\relax%
- \else%
- \@tempdimb\textheight\advance\@tempdimb-\csname page@mark\romannumeral\the\c@page\endcsname\relax%
- \fi%
- \advance\@tempdima\@tempdimb}}%
- \newcommand\sc@wm@print[1]{\preprintsty@sw{%
- \@tempdima\paperheight\advance\@tempdima-\textheight%
- \divide\@tempdima by 2\advance\@tempdima-7pt\advance\@tempdima1in%
- \floats@sw%
-{\iffloats@end%
- \@ifundefined{r@LastBibItem}{}%
-{\ifnum\c@page<\rev@getpagerefnumber{LastBibItem}\relax%
- \else%
- \page@mark@shift
- \fi}%
- \else%
- \@ifundefined{r@LastPage}{}%
-{\ifnum\c@page=\rev@getpagerefnumber{LastPage}\relax%
- \page@mark@shift
- \fi}%
-\fi}%
-{\@ifundefined{r@EndText}{}%
-{\ifnum\c@page<\rev@getpagerefnumber{EndText}\relax%
- \else%
- \page@mark@shift
- \fi}}}%
- {\@tempdima\paperheight\advance\@tempdima-\textheight%
- \divide\@tempdima by 2\advance\@tempdima9pt\advance\@tempdima1in}%
- \setbox\@tempboxa\vbox to \z@{%
-\vskip-\@tempdima \moveleft 1in \vbox{%
- \hbox to \z@{%
-#1\hss}}\vss}
- \dp\@tempboxa\z@
- \box\@tempboxa}%
- % Printing the red side-bar
- \AddEverypageHook{\def\special@paper{\the\paperwidth,\the\paperheight}\special{papersize=\the\paperwidth,\the\paperheight}%
- \preprintsty@sw{% Preprint
- \@ifundefined{page@mark\romannumeral\the\c@page}{}{%
-\def\tempa{\csname page@mark\romannumeral\the\c@page\endcsname}%
- \sc@wm@print{\sc@colortext{\tempa\relax}}%
- %
-\floats@sw{%
- \iffloats@end\calc@run@count[1]{LastBibItem}\else\calc@run@count[1]{LastPage}\fi%
- }{\ifextra@rule\calc@run@count[1]{LastPage}\else\calc@run@count[1]{EndText}\fi}%
- \ifnum\c@page=\@tempcnta%
-\ifdim\page@calc@count pt>\page@allowed pt\relax%
- \def\@oddhead{\msg@runningtitle}%
- \def\@evenhead{\msg@runningtitle}%
-\fi%
- \fi}}{% Reprint
-\ifnum\c@page>\page@allowed%
-\sc@wm@print{\sc@colortext{\textheight}}%
-\calc@run@count[1]{LastPage}%
- \ifnum\c@page=\@tempcnta%
- \def\@oddhead{\msg@runningtitle}%
- \def\@evenhead{\msg@runningtitle}%
-\fi%
-\fi%
- }}%
- %
- % Print pages = 2*[(MSP Title portion height)/1.98] + (MSP Text height)/1.32 + (MSP Float height)/1.11
- %
- %
- \@booleantrue\tally@box@size@sw % Activated to get hold of various dimensions
- %
- \newif\ifwrite@title\global\write@titletrue%
- %
- \newdimen\val@calc@dim% dimen used to translate MSP height to TSP height
- \newdimen\make@title@dim% dimen storing height of maketitle portion
- \newdimen\tsp@floatheight% dimen storing extra height for large floats
- \newdimen\curr@figbox@ht% dimen storing current figure box height
- \newdimen\curr@floatht%
- \newdimen\curr@floatwidth%
- \newdimen\curr@tot@float@ht%
- \newdimen\curr@page@ht% dimen storing current page height
- %
- \newsavebox{\figbox}%
- %
- \def\name@fig{figure}%
- \def\same@fig{none}%
- \def\in@flt{none}%
- \def\max@pg@ht{0}%
- \def\ptm{ptm}%
- %
- \gdef\@restrict@error#1#2{%
- \GenericError{%
- \space\space\space\@spaces\@spaces\@spaces
- }{%
- LaTeX Error: #1%
- }{%
- A red side-bar will appear along the extra text on the PDF pages. Press `Enter' to continue.%
- }{#2}%
- }%
- \preprintsty@sw{% For Preprint
- % Adding Float height to the height of each page
- \def\add@flt@pght{%
-\@ifundefined{flt@on@page\romannumeral\the\c@page}{}%
-{\@tempdimc\curr@page@ht\advance\@tempdimc\csname flt@on@page\romannumeral\the\c@page\endcsname\relax%
- \ifdim\@tempdimc>\textheight%
- \global\curr@page@ht\textheight%
- \else%
- \global\advance\curr@page@ht\csname flt@on@page\romannumeral\the\c@page\endcsname\relax%
- \fi}%
- \expandafter\xdef\csname page@height\romannumeral\the\c@page\endcsname{\the\curr@page@ht}}%
- % Storing height of each page
- \appdef\@outputpage@head{%
-\floats@sw{%
-\iffloats@end%
- \@ifundefined{r@LastBibHt}%
- {\add@flt@pght}
- {\ifnum\c@page=\rev@getpagerefnumber{LastBibHt}\relax%
- \@tempdima\rev@getrefnumber{LastBibHt}\relax%
- \expandafter\xdef\csname page@height\romannumeral\the\c@page\endcsname{\the\@tempdima}%
- \else%
- \add@flt@pght%
- \fi}%
- \else%
- \add@flt@pght%
-\fi%
-}{%
-\@ifundefined{r@EndText}%
-{\expandafter\xdef\csname page@height\romannumeral\the\c@page\endcsname{\the\curr@page@ht}
-}{\ifnum\c@page=\rev@getpagerefnumber{EndText}\relax%
- \@tempdima\rev@getrefnumber{EndText}\relax%
- \expandafter\xdef\csname page@height\romannumeral\the\c@page\endcsname{\the\@tempdima}%
- \else%
- \expandafter\xdef\csname page@height\romannumeral\the\c@page\endcsname{\the\curr@page@ht}%
- \fi}%
- }%
-\global\curr@page@ht\z@%
- }%
- % Calculating and adding Maketitle portion size (ratio=1.98)
- % Redefined
- \def\show@box@size#1#2{%
- % \show@box@size@sw{%
- \begingroup
- \setbox\z@\vbox{\unvcopy#2\hrule}%
- \show@box@size@sw{%
- \class@info{Show box size: #1^^J%
- (\the\ht\z@\space X \the\wd\z@)
- \the\c@page\space\space\the\pagegrid@cur\space\the\pagegrid@col
- }}{}%
- \global\advance\curr@page@ht\ht\z@%
- \ifwrite@title%
- \@ifundefined{r@FirstPage}{\@tempcnta\the\c@page}%
-{\@tempcnta\rev@getpagerefnumber{FirstPage}\relax}%
- \ifnum\c@page=\@tempcnta
- \global\make@title@dim\ht\z@
- \@tempdima\make@title@dim
- \divide\@tempdima by 198\relax
- \multiply\@tempdima by 100\relax
- \global\advance\val@calc@dim\@tempdima%
- \global\advance\val@calc@dim\@tempdima%
- \global\write@titlefalse%
- \fi%
- \fi%
- \endgroup
- % }{}%
- }%
- % Calculating and adding Float portion size
- % Redefined
- \let\oldincludegraphics\includegraphics%
- \def\includegraphics{%
- \@ifnextchar[%]
- {\two@includegraphics}{\one@includegraphics}}%
- \def\one@includegraphics#1{\savebox{\figbox}{\oldincludegraphics{#1}}\oldincludegraphics{#1}%
- \ifx\in@flt\name@fig%
-\ifx\same@fig\name@fig%
-\@tempdimc\curr@floatwidth\advance\@tempdimc\wd\figbox%
-\ifdim\@tempdimc>\textwidth%
- \ifdim\wd\figbox>\curr@floatwidth%
- \global\curr@floatwidth\wd\figbox%
- \fi%
- \global\advance\curr@figbox@ht\ht\figbox%
- \global\advance\curr@figbox@ht\dp\figbox%
-\else%
- \ifdim\ht\figbox>\curr@figbox@ht%
- \global\curr@figbox@ht\ht\figbox%
- \global\advance\curr@figbox@ht\dp\figbox%
- \fi%
-\global\advance\curr@floatwidth\wd\figbox%
-\fi%
-\else%
-\global\curr@floatwidth\wd\figbox%
-\global\curr@figbox@ht\ht\figbox%
-\global\advance\curr@figbox@ht\dp\figbox%
-\gdef\same@fig{figure}%
-\fi%
- \fi}%
- \def\two@includegraphics[#1]#2{\savebox{\figbox}{\oldincludegraphics[#1]{#2}}\oldincludegraphics[#1]{#2}%
- \ifx\in@flt\name@fig%
-\ifx\same@fig\name@fig%
-\@tempdimc\curr@floatwidth\advance\@tempdimc\wd\figbox%
-\ifdim\@tempdimc>\textwidth%
- \ifdim\wd\figbox>\curr@floatwidth%
- \global\curr@floatwidth\wd\figbox%
- \fi%
- \global\advance\curr@figbox@ht\ht\figbox%
- \global\advance\curr@figbox@ht\dp\figbox%
-\else%
- \ifdim\ht\figbox>\curr@figbox@ht%
- \global\curr@figbox@ht\ht\figbox%
- \global\advance\curr@figbox@ht\dp\figbox%
- \fi%
-\global\advance\curr@floatwidth\wd\figbox%
-\fi%
-\else%
-\global\curr@floatwidth\wd\figbox%
-\global\curr@figbox@ht\ht\figbox%
-\global\advance\curr@figbox@ht\dp\figbox%
-\gdef\same@fig{figure}%
-\fi%
- \fi}%
- % Redefined
- \def\@xfloat#1[#2]{\def\temp{#1}\ifx\temp\name@fig\gdef\in@flt{figure}\fi%
-\@xfloat@prep
-\@nameuse{fp@proc@#2}%
-\floats@sw{\@xfloat@LaTeX{#1}[#2]}{\@xfloat@anchored{#1}[]}%
-}%
- % Autolabelling of floats to get their exact page placement
- \appdef\@floatboxreset{%
- \@ifundefined{float\romannumeral\the\c@page}%
- {\expandafter\xdef\csname float\romannumeral\the\c@page\endcsname{\@ne}%
- \xdef\flt@pg@label{float\romannumeral\the\c@page-\romannumeral\@ne}}%
- {\@tempcnta=\csname float\romannumeral\the\c@page\endcsname\advance\@tempcnta\@ne%
- \expandafter\xdef\csname float\romannumeral\the\c@page\endcsname{\the\@tempcnta}%
- \xdef\flt@pg@label{float\romannumeral\the\c@page-\romannumeral\the\@tempcnta}}%
- \label{\flt@pg@label}}%
- % Defining a pagewise fix for TSP height whereever a float occurs
- \def\tsp@float@fix{%
- \@ifundefined{r@\flt@pg@label}{}%
- {\@tempcnta=\rev@getpagerefnumber{\flt@pg@label}\relax%
- \@ifundefined{flt@ht@fix\romannumeral\the\@tempcnta}%
- {\expandafter\xdef\csname flt@ht@fix\romannumeral\the\@tempcnta\endcsname{\the\@tempdimc}}%
- {\advance\@tempdimc\csname flt@ht@fix\romannumeral\the\@tempcnta\endcsname\relax%
- \expandafter\xdef\csname flt@ht@fix\romannumeral\the\@tempcnta\endcsname{\the\@tempdimc}}}}%
- %
- \floats@sw{%
- % Normal Floats
- \appdef\check@currbox@count{%
-\@ifnum{\count\@currbox>\z@}{%
-\@tempdimb\ht\@currbox\advance\@tempdimb\dp\@currbox%
-\@tempcnta=\rev@getpagerefnumber{\flt@pg@label}\relax%
-\@ifundefined{flt@on@page\romannumeral\the\@tempcnta}%
-{\expandafter\xdef\csname flt@on@page\romannumeral\the\@tempcnta\endcsname{\the\@tempdimb}}%
-{\advance\@tempdimb\csname flt@on@page\romannumeral\the\@tempcnta\endcsname\relax%
- \expandafter\xdef\csname flt@on@page\romannumeral\the\@tempcnta\endcsname{\the\@tempdimb}}%
-\ifx\@captype\name@fig%
-\ifdim\curr@floatwidth>20.5pc%
- \ifdim\curr@floatwidth>30pc% Everything added 2 times for calculating column width
- \@tempdimc\ht\@currbox\advance\@tempdimc\dp\@currbox
- \global\advance\tsp@floatheight\@tempdimc%
- % Calculating equivalent TSP height of each figure
- \tsp@float@fix
-\else%
- \@tempdima\ht\@currbox\advance\@tempdima\dp\@currbox%
- \advance\@tempdima-\curr@figbox@ht%
- \global\advance\curr@tot@float@ht-\@tempdima%
- %
- \global\advance\tsp@floatheight\ht\@currbox%
- \global\advance\tsp@floatheight\dp\@currbox%
- \global\advance\tsp@floatheight-\@tempdima%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@figbox@ht%
- \tsp@float@fix
-\fi%
-\fi%
- \else%
- \@tempdimc\ht\@currbox\advance\@tempdimc\dp\@currbox
- \global\advance\tsp@floatheight\@tempdimc%
- % Calculating equivalent TSP height of each figure
- \tsp@float@fix
- \fi%
- \gdef\in@flt{none}\gdef\same@fig{none}%
- }{}}%
- \def\total@float#1{%
- \expandafter\let
- \expandafter\@tempa
- \csname fbox@\csname ftype@#1\endcsname\endcsname
- \@ifnotrelax\@tempa{%
- \@ifhbox\@tempa{%
- \@tempdima\the\ht\@tempa\divide\@tempdima\@twopowertwo\@tempcnta\@tempdima
- \@tempdimb\the\dp\@tempa\divide\@tempdimb\@twopowertwo\@tempcntb\@tempdimb
- \class@info{Total #1: Column(\the\@tempcnta pt), Page(\the\@tempcntb pt)}%
- \global\advance\curr@tot@float@ht\@tempcnta pt\global\advance\curr@tot@float@ht\@tempcntb pt
- }{}%
- }{}%
- }%
- }{
- % End of document Floats
- \def\strt@flt#1#2#3{\edef\flt@page{#1}\edef\flt@pgtot{#2}\edef\flt@pggoal{#3}}
- % Redefined
- \let\old@xfloat@anchored\@xfloat@anchored
- \def\@xfloat@anchored#1[#2]{\old@xfloat@anchored#1[#2]%
- \floatp@sw{}{\strt@flt{\the\c@page}{\the\pagetotal}{\the\pagegoal}\curr@floatht\pagetotal}}%
- \appdef\end@float@anchored{%
- \floatp@sw{%
-\curr@floatht\pagetotal%
-\ifx\@captype\name@fig%
- \ifdim\curr@floatwidth>20.5pc%
- \ifdim\curr@floatwidth>30pc%
- \global\advance\tsp@floatheight\curr@floatht%
- % Calculating equivalent TSP height of each figure
-\@tempdimc\curr@floatht%
-\tsp@float@fix
- \else%
-\@tempdima\curr@floatht\advance\@tempdima-\curr@figbox@ht%
- \global\advance\curr@tot@float@ht-\@tempdima%
- %
-\global\advance\tsp@floatheight\curr@floatht%
-\global\advance\tsp@floatheight-\@tempdima%
-\@tempdimc\curr@figbox@ht%
- \tsp@float@fix
- \fi%
- \fi%
-\else%
- \global\advance\tsp@floatheight\curr@floatht%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@floatht%
- \tsp@float@fix
-\fi%
- }{%
-\ifnum\c@page=\flt@page%
- \@tempdima\pagetotal\advance\@tempdima-\curr@floatht%
- \global\curr@floatht\@tempdima%
- \ifx\@captype\name@fig%
- \ifdim\curr@floatwidth>20.5pc%
- \ifdim\curr@floatwidth>30pc%
- \global\advance\tsp@floatheight\curr@floatht%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@floatht%
- \tsp@float@fix
- \else%
- \@tempdimb\curr@floatht\advance\@tempdimb-\curr@figbox@ht%
- \global\advance\curr@tot@float@ht-\@tempdimb%
- %
- \global\advance\tsp@floatheight\curr@floatht%
- \global\advance\tsp@floatheight-\@tempdimb%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@figbox@ht%
- \tsp@float@fix
- \fi%
- \fi%
- \else%
- \global\advance\tsp@floatheight\curr@floatht%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@floatht%
- \tsp@float@fix
- \fi%
-\else%
- \ifx\@captype\name@fig%
- \@tempdima\flt@pggoal\relax\advance\@tempdima-\flt@pgtot\relax
- \ifdim\pagetotal>\@tempdima
- \global\curr@floatht\@tempdima%
- \else%
- \global\curr@floatht\pagetotal%
- \fi%
- \else%
- \@tempdima\flt@pggoal\relax\advance\@tempdima-\flt@pgtot\relax
- \advance\@tempdima\pagetotal%
- \global\curr@floatht\@tempdima%
- \fi%
- \@tempcnta\c@page\advance\@tempcnta-\flt@page\relax%
- \ifnum\@tempcnta>\z@%
- \advance\@tempcnta\m@ne%
- \@whilenum\@tempcnta>\z@\do
-{\global\advance\curr@floatht\pagegoal%
-\advance\@tempcnta\m@ne}
- \fi%
- \ifx\@captype\name@fig%
- \ifdim\curr@floatwidth>20.5pc%
- \global\advance\tsp@floatheight\curr@floatht%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@floatht%
- \tsp@float@fix%
- \fi%
- \else%
- \global\advance\tsp@floatheight\curr@floatht%
- % Calculating equivalent TSP height of each figure
- \@tempdimc\curr@floatht%
- \tsp@float@fix%
- \fi%
-\fi%
- }%
- \global\advance\curr@tot@float@ht\curr@floatht%
- \gdef\in@flt{none}\gdef\same@fig{none}}%
- }% floats
- % Calculating and adding Text portion size
- \def\no@dim@exceed{% TSP dimen should not exceed maxdimen
- \ifx\f@family\ptm%
- \@tempdimc13002.380952pt\relax % 16383pt represented in terms of TSP
- \else%
- \@tempdimc12411.36322pt\relax % 16383pt represented in terms of TSP
- \fi%
- \advance\@tempdimc-\val@calc@dim%
- \ifdim\@tempdima>\@tempdimc%
- \@tempcnta=\max@pg@ht\relax%
- \advance\@tempcnta\@ne%
- \xdef\max@pg@ht{\the\@tempcnta}% Number of batches eq to maxdimen
- \ifx\f@family\ptm%
- \global\advance\val@calc@dim-13002.380952pt\relax % 16383pt represented in terms of TSP
- \else%
- \global\advance\val@calc@dim-12411.36322pt\relax % 16383pt represented in terms of TSP
- \fi%
- \global\advance\val@calc@dim\@tempdima%
- \else%
- \global\advance\val@calc@dim\@tempdima%
- \fi}%
- \appdef\total@text{%
- % Avoiding the \maxdimen error
- % Divided the text height in batches of 16383pt (less than maxdimen)
- \@tempcnta=\z@%
- \@whilenum\@tempcntb>16383\relax%
- \do{%
- \advance\@tempcntb-16383\relax%
- \advance\@tempcnta\@ne%
- }%
- \xdef\max@pg@ht{\the\@tempcnta}% Number of batches eq to maxdimen
- % Text height calculation
- \@tempdima\the\@tempcntb pt
- \advance\@tempdima-\make@title@dim%
- % Main macro
- \floats@sw{}{%
- % Text height calculation for end of doc floats
- \advance\@tempdima-\curr@tot@float@ht}%
- % Storing value of available MSP text height for future reference
- \@tempdimb\@tempdima%
- % Text TSP ratio
- \ifx\f@family\ptm% ratio=1.26
- \divide\@tempdima by 126\relax
- \multiply\@tempdima by 100\relax
- \else% ratio=1.32
- \divide\@tempdima by 132\relax
- \multiply\@tempdima by 100\relax
- \fi%
- \global\advance\val@calc@dim\@tempdima%
- % Floats height and TSP ratio (ratio=1.11)
- \@tempdima\curr@tot@float@ht%
- \divide\@tempdima by 111\relax
- \multiply\@tempdima by 100\relax
- % Checking and adding the Float height dimen
- \no@dim@exceed
- %
- \ifdim\tsp@floatheight>\z@
- \@tempdima\tsp@floatheight%
- \divide\@tempdima by 111\relax
- \multiply\@tempdima by 100\relax
- % Checking and adding the TSP Float height dimen
- \no@dim@exceed
- %
- \fi%
- % Extra Text height calculation
- \@tempdima\val@calc@dim\advance\@tempdima-\text@ht@allowed\relax
- \ifx\f@family\ptm% ratio=1.26
- \divide\@tempdima by 100\relax
- \multiply\@tempdima by 126\relax
- \else% ratio=1.32
- \divide\@tempdima by 100\relax
- \multiply\@tempdima by 132\relax
- \fi%
- % Adding extra batches of text (if required)
- \@tempcntb=\max@pg@ht\relax
- \ifnum\@tempcntb>\z@%
- \@tempcnta16383\relax
- \multiply\@tempcnta\@tempcntb\relax
- \typeout{AIP Info: Extra Typeset Text: \the\@tempdima+\the\@tempcnta pt}%
- %
- \@tempdimc\@tempdima%
- \advance\@tempdimc-\@tempdimb%
- \ifdim\@tempdimc>\z@%
- \global\extra@ruletrue\immediate\write\@mainaux{\string\global\string\extra@ruletrue}%
- \else%
- \advance\@tempdimc16383pt\relax
- \ifdim\@tempdimc>\z@%
- \global\extra@ruletrue\immediate\write\@mainaux{\string\global\string\extra@ruletrue}%
- \fi%
- \fi%
- \else%
- \ifdim\@tempdima>\z@\typeout{AIP Info: Extra Typeset Text: \the\@tempdima}\fi%
- \@tempdimc\@tempdima
- \advance\@tempdimc-\@tempdimb%
- \ifdim\@tempdimc>\z@%
- \global\extra@ruletrue%
- \fi%
- \fi%
- % Rule calculation loop
- % Modifying the rule height
- \@tempcntb=\max@pg@ht\relax
- \ifnum\@tempcntb>\z@
- \loop\ifdim\@tempdima>\z@\else\do
-\advance\@tempdima16383pt\relax
-\advance\@tempcntb\m@ne
- \repeat
- \fi%
- % Rule generation
- % Set the count for loop
- \ifdim\@tempdima>\z@
- % Resetting the value of loop count (\@tempcnta)
- \ifextra@rule%
-\calc@run@count{LastPage}%
- \else%
- \floats@sw{%
- \iffloats@end\calc@run@count{LastBibItem}\else\calc@run@count{LastPage}\fi%
- }{\calc@run@count{EndText}}%
- \fi%
- % Storing the value of Start of Loop run count
- \ifextra@rule\xdef\loop@count{\rev@getpagerefnumber{LastBibItem}}\else\xdef\loop@count{\the\@tempcnta}\fi%
- % Count of last page of rule
- \def\rule@display{% Total rule dim(\@tempdima) > current page height (already known till here)
- \ifnum\@tempcnta<\loop@count\relax%
- \@tempdimb\textheight%
- \else%
- \@tempdimb\csname page@height\romannumeral\the\@tempcnta\endcsname\relax%
- \fi%
-}%
- % Loop
- \@whilenum\@tempcnta>\z@%
- \do{%
- \@ifundefined{page@height\romannumeral\the\@tempcnta}{}%
- {\global\advance\@tempdima-\csname page@height\romannumeral\the\@tempcnta\endcsname\relax}%
- \ifdim\@tempdima>\z@ % Rule spans complete page
- % Fixing rule height w.r.t Float on the page
- \@ifundefined{flt@ht@fix\romannumeral\the\@tempcnta}{}%
- {\global\advance\@tempdima-\csname flt@ht@fix\romannumeral\the\@tempcnta\endcsname\relax}%
- \ifdim\@tempdima>\z@%
- \@ifundefined{page@height\romannumeral\the\@tempcnta}%
- {\@tempdimb\z@}%
- {\rule@display}%
- \else% Rule dimen less than 0 after float fix
- % Including maxdimens
- \ifnum\@tempcntb>\z@%
-\advance\@tempcntb\m@ne%
-\advance\@tempdima16383pt\relax%
-\@ifundefined{page@height\romannumeral\the\@tempcnta}%
-{\@tempdimb\z@}%
-{\ifdim\@tempdima>\z@%
- \rule@display%
- \else%
- \divide\@tempdima by \tw@%
- \@tempdimb\csname page@height\romannumeral\the\@tempcnta\endcsname\relax%
- \advance\@tempdimb\@tempdima%
- \@tempdima=\z@% Exiting the loop
- \fi}%
- \else%
-\divide\@tempdima by \tw@%
-\@tempdimb\csname page@height\romannumeral\the\@tempcnta\endcsname\relax%
-\advance\@tempdimb\@tempdima%
-\@tempdima=\z@% Exiting the loop
- \fi%
- \fi%
- \if@filesw
- \immediate\write\@mainaux{\expandafter\string\xdef\expandafter\string\csname page@mark\romannumeral\the\@tempcnta\endcsname{\the\@tempdimb}}%
- \fi%
- \else% Rule length is less than page height
- % Including maxdimens
- \ifnum\@tempcntb>\z@%
-\advance\@tempcntb\m@ne%
-\advance\@tempdima16383pt\relax%
- % Fixing rule height w.r.t Float on the page
- \@ifundefined{flt@ht@fix\romannumeral\the\@tempcnta}{}%
- {\global\advance\@tempdima-\csname flt@ht@fix\romannumeral\the\@tempcnta\endcsname\relax}%
- \ifdim\@tempdima>\z@%
- \@ifundefined{page@height\romannumeral\the\@tempcnta}%
- {\@tempdimb\z@}%
- {\rule@display}%
- \else%
-\divide\@tempdima by \tw@%
-\@tempdimb\csname page@height\romannumeral\the\@tempcnta\endcsname\relax%
-\advance\@tempdimb\@tempdima%
-\@tempdima=\z@% Exiting the loop
-\fi%
- \else%
-\@ifundefined{page@height\romannumeral\the\@tempcnta}%
- {\@tempdimb\z@}%
-{\@tempdimb\csname page@height\romannumeral\the\@tempcnta\endcsname\relax}%
- \advance\@tempdimb\@tempdima%
- \fi%
- \ifdim\@tempdimb>\z@%
-\if@filesw
- \immediate\write\@mainaux{\expandafter\string\xdef\expandafter\string\csname page@mark\romannumeral\the\@tempcnta\endcsname{\the\@tempdimb}}%
-\fi%
- \fi%
- \fi%
- \ifdim\@tempdimb>\z@\advance\@tempcnta\m@ne\else\@tempcnta=\z@\fi%
- \ifnum\@tempcnta=\z@\@tempdima=\z@\fi%
- }%
- \fi
- % Representing MSP text height in terms of TSP pages
- \@tempdima\val@calc@dim
- \divide\@tempdima by 6655\relax % in terms of textheight of TSP
- \multiply\@tempdima by 10\relax
- \divide\@tempdima by 2\relax
- \global\val@calc@dim\@tempdima%
- % If maxdimens
- \@tempcnta=\max@pg@ht\relax
- \@whilenum\@tempcnta>\z@
- \do{%
- \advance\@tempcnta\m@ne
- \ifx\f@family\ptm%
- \@tempdima13002.380952pt\relax % 16383pt represented in terms of TSP
- \else%
- \@tempdima12411.36322pt\relax % 16383pt represented in terms of TSP
- \fi%
- \divide\@tempdima by 6655\relax
- \multiply\@tempdima by 10\relax
- \divide\@tempdima by 2\relax
- \global\advance\val@calc@dim\@tempdima
- }%
- \xdef\page@calc@count{\local@strip@pt\val@calc@dim}%
- \immediate\write\@mainaux{\string\xdef\string\page@calc@count{\page@calc@count}}
- \if@filesw%
- \typeout{AIP Info: Typeset pages: \page@calc@count}%
- \ifdim\val@calc@dim>\page@allowed pt\relax
- \@restrict@error{Your text appears to exceed the APL page limit.^^JPlease reduce the length of your article to avoid publication delays}{AIP recommendation: Please reduce your article length.}
- \fi%
- \fi%
- }% end \total@text
- %
- \prepdef\printfigures{\@booleantrue\lengthcheck@sw%
- \floats@sw{}%
-{\ifdim\pagetotal=\z@%
-\@tempcntb=\the\c@page%
-\loop%
- \advance\@tempcntb\m@ne%
- \ifdim\csname page@height\romannumeral\the\@tempcntb\endcsname>\z@\else\do%
-\repeat%
-\@bsphack%
-\protected@write\@auxout{}{\string\newlabel{EndText}{{\csname page@height\romannumeral\the\@tempcntb\endcsname}{\the\@tempcntb}}}%
-\@esphack%
- \else%
-\def\@currentlabel{\the\pagetotal}\label{EndText}%
- \fi}}%
- %
- \floats@sw{\appdef\endNAT@thebibliography{%
-\ifnum\c@figure=\z@%
- \ifnum\c@table=\z@%
-\global\floats@endtrue\immediate\write\@mainaux{\string\global\string\floats@endtrue}%
-\def\@currentlabel{\the\pagetotal}\label{LastBibHt}%
-\fi\fi}}{}
- % end preprint
- }{% For Reprint
-\gappdef\class@enddocumenthook{%
- \calc@run@count[1]{LastPage}%
- \ifnum\@tempcnta>\page@allowed\relax
- \@restrict@error{Your text appears to exceed the APL page limit.^^JPlease reduce the length of your article to avoid publication delays}{AIP recommendation: Please reduce your article length.}
- \fi}%
- }% reprint
- }{}%
+ \class@warn{Deprecated pagerestrict code. Option 'no-pagerestrict' was ignored.}}%
%%
%% JMP, BMF and RSE journal's to be as one column at Reprint stage
%%
+\appdef\rtx@require@packages{%
\def\jnl@rse{rse}%
\def\jnl@jmp{jmp}%
\preprintsty@sw{}%
diff --git a/Master/texmf-dist/tex/latex/revtex/aps10pt4-2.rtx b/Master/texmf-dist/tex/latex/revtex/aps10pt4-2.rtx
index 405c95c56b3..9716d5d1901 100644
--- a/Master/texmf-dist/tex/latex/revtex/aps10pt4-2.rtx
+++ b/Master/texmf-dist/tex/latex/revtex/aps10pt4-2.rtx
@@ -17,14 +17,17 @@
%% Version (4.2b,4.2c)
%% Modified by Mark Doyle, American Physical Society (mailto:revtex at aps.org)
%%
-%% Copyright (c) 2019 American Physical Society.
+%% Version (4.2d,4.2e)
+%% Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org)
+%%
+%% Copyright (c) 2019--2020 American Physical Society.
%% https://journals.aps.org/revtex/
%% mailto:revtex@aps.org
%%
%% See the REVTeX 4.2 README-REVTEX file for restrictions and more information.
%%
\ProvidesFile{aps10pt4-2}
- [2019/01/18/14:29:48 4.2c (https://journals.aps.org/revtex/ for documentation)]% \fileversion
+ [2020/10/03 4.2e (https://journals.aps.org/revtex/ for documentation)]% \fileversion
\ifx\undefined\substyle@ext
\def\@tempa{%
\endinput
diff --git a/Master/texmf-dist/tex/latex/revtex/aps11pt4-2.rtx b/Master/texmf-dist/tex/latex/revtex/aps11pt4-2.rtx
index 917ca944d41..20ae79eb6fe 100644
--- a/Master/texmf-dist/tex/latex/revtex/aps11pt4-2.rtx
+++ b/Master/texmf-dist/tex/latex/revtex/aps11pt4-2.rtx
@@ -17,14 +17,17 @@
%% Version (4.2b,4.2c)
%% Modified by Mark Doyle, American Physical Society (mailto:revtex at aps.org)
%%
-%% Copyright (c) 2019 American Physical Society.
+%% Version (4.2d,4.2e)
+%% Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org)
+%%
+%% Copyright (c) 2019--2020 American Physical Society.
%% https://journals.aps.org/revtex/
%% mailto:revtex@aps.org
%%
%% See the REVTeX 4.2 README-REVTEX file for restrictions and more information.
%%
\ProvidesFile{aps11pt4-2}
- [2019/01/18/14:29:48 4.2c (https://journals.aps.org/revtex/ for documentation)]% \fileversion
+ [2020/10/03 4.2e (https://journals.aps.org/revtex/ for documentation)]% \fileversion
\ifx\undefined\substyle@ext
\def\@tempa{%
\endinput
diff --git a/Master/texmf-dist/tex/latex/revtex/aps12pt4-2.rtx b/Master/texmf-dist/tex/latex/revtex/aps12pt4-2.rtx
index fef43c366c2..e48eff75d82 100644
--- a/Master/texmf-dist/tex/latex/revtex/aps12pt4-2.rtx
+++ b/Master/texmf-dist/tex/latex/revtex/aps12pt4-2.rtx
@@ -17,14 +17,17 @@
%% Version (4.2b,4.2c)
%% Modified by Mark Doyle, American Physical Society (mailto:revtex at aps.org)
%%
-%% Copyright (c) 2019 American Physical Society.
+%% Version (4.2d,4.2e)
+%% Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org)
+%%
+%% Copyright (c) 2019--2020 American Physical Society.
%% https://journals.aps.org/revtex/
%% mailto:revtex@aps.org
%%
%% See the REVTeX 4.2 README-REVTEX file for restrictions and more information.
%%
\ProvidesFile{aps12pt4-2}
- [2019/01/18/14:29:48 4.2c (https://journals.aps.org/revtex/ for documentation)]% \fileversion
+ [2020/10/03 4.2e (https://journals.aps.org/revtex/ for documentation)]% \fileversion
\ifx\undefined\substyle@ext
\def\@tempa{%
\endinput
diff --git a/Master/texmf-dist/tex/latex/revtex/aps4-2.rtx b/Master/texmf-dist/tex/latex/revtex/aps4-2.rtx
index 53bbd5b0f7b..3ec3623770d 100644
--- a/Master/texmf-dist/tex/latex/revtex/aps4-2.rtx
+++ b/Master/texmf-dist/tex/latex/revtex/aps4-2.rtx
@@ -17,7 +17,10 @@
%% Version (4.2b,4.2c)
%% Modified by Mark Doyle, American Physical Society (mailto:revtex at aps.org)
%%
-%% Copyright (c) 2019 American Physical Society.
+%% Version (4.2d,4.2e)
+%% Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org)
+%%
+%% Copyright (c) 2019--2020 American Physical Society.
%% https://journals.aps.org/revtex/
%% mailto:revtex@aps.org
%%
@@ -25,7 +28,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1996/12/01]%
\ProvidesFile{aps4-2}
- [2019/01/18/14:29:48 4.2c (https://journals.aps.org/revtex/ for documentation)]% \fileversion
+ [2020/10/03 4.2e (https://journals.aps.org/revtex/ for documentation)]% \fileversion
\ifx\undefined\substyle@ext
\def\@tempa{%
\endinput
diff --git a/Master/texmf-dist/tex/latex/revtex/apsrmp4-2.rtx b/Master/texmf-dist/tex/latex/revtex/apsrmp4-2.rtx
index 07d67e26e22..50892fbf0ef 100644
--- a/Master/texmf-dist/tex/latex/revtex/apsrmp4-2.rtx
+++ b/Master/texmf-dist/tex/latex/revtex/apsrmp4-2.rtx
@@ -17,7 +17,10 @@
%% Version (4.2b,4.2c)
%% Modified by Mark Doyle, American Physical Society (mailto:revtex at aps.org)
%%
-%% Copyright (c) 2019 American Physical Society.
+%% Version (4.2d,4.2e)
+%% Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org)
+%%
+%% Copyright (c) 2019--2020 American Physical Society.
%% https://journals.aps.org/revtex/
%% mailto:revtex@aps.org
%%
@@ -25,7 +28,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1996/12/01]%
\ProvidesFile{apsrmp4-2}
- [2019/01/18/14:29:48 4.2c (https://journals.aps.org/revtex/ for documentation)]% \fileversion
+ [2020/10/03 4.2e (https://journals.aps.org/revtex/ for documentation)]% \fileversion
\ifx\undefined\substyle@ext
\def\@tempa{%
\endinput
diff --git a/Master/texmf-dist/tex/latex/revtex/ltxdocext.sty b/Master/texmf-dist/tex/latex/revtex/ltxdocext.sty
index 75fae5ee8ba..36b21e7e813 100644
--- a/Master/texmf-dist/tex/latex/revtex/ltxdocext.sty
+++ b/Master/texmf-dist/tex/latex/revtex/ltxdocext.sty
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]%
\ProvidesFile{ltxdocext.sty}%
- [2018/12/26/17:10:03 1.0a ltxdoc extensions package]% \fileversion
+ [2018/12/26 1.0a ltxdoc extensions package]% \fileversion
\def\class@name{ltxdocext}%
\expandafter\PackageInfo\expandafter{\class@name}{%
An extension to the \protect\LaTeXe\space ltxdoc class
diff --git a/Master/texmf-dist/tex/latex/revtex/ltxfront.sty b/Master/texmf-dist/tex/latex/revtex/ltxfront.sty
index 260896b25a8..090095f7476 100644
--- a/Master/texmf-dist/tex/latex/revtex/ltxfront.sty
+++ b/Master/texmf-dist/tex/latex/revtex/ltxfront.sty
@@ -22,10 +22,8 @@
%%
%%% @LaTeX-file{
%%% filename = "ltxfront.dtx",
-%%% version = "4.2c",
-%%% date = "2019/01/18",
-%%% time = "14:29:48 UT-5",
-%%% checksum = "2012",
+%%% version = "4.2e",
+%%% date = "2020/10/03",
%%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
%%% commissioned by the American Physical Society.
%%% ",
@@ -43,14 +41,13 @@
%%% keywords = "latex, page grid, main vertical list",
%%% supported = "yes",
%%% abstract = "package to change page grid, MVL",
-%%% docstring = "The checksum field above generated by ltxdoc",
%%% }
\NeedsTeXFormat{LaTeX2e}[1995/12/01]%
\ProvidesFile{%
ltxfront%
.sty%
}%
- [2019/01/18/14:29:48 4.2c frontmatter package (AO,DPC,MD)]% \fileversion
+ [2020/10/03 4.2e frontmatter package (AO,DPC,MD)]% \fileversion
\def\package@name{ltxfront}%
\expandafter\PackageInfo\expandafter{\package@name}{%
Title page macros for \protect\LaTeXe,
diff --git a/Master/texmf-dist/tex/latex/revtex/ltxgrid.sty b/Master/texmf-dist/tex/latex/revtex/ltxgrid.sty
index cefe4dccdbb..a8dcf785a11 100644
--- a/Master/texmf-dist/tex/latex/revtex/ltxgrid.sty
+++ b/Master/texmf-dist/tex/latex/revtex/ltxgrid.sty
@@ -22,11 +22,10 @@
%%
%%% @LaTeX-file{
%%% filename = "ltxgrid.dtx",
-%%% version = "4.2c",
-%%% date = "2019/01/18",
-%%% time = "14:29:48 UT-5",
-%%% checksum = "5462",
+%%% version = "4.2e",
+%%% date = "2020/10/03",
%%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
+%%% Phelype Oleinik (mailto:phelype.oleinik at latex-project.org),
%%% commissioned by the American Physical Society.
%%% ",
%%% copyright = "Copyright (C) 1999, 2009 Arthur Ogawa,
@@ -43,14 +42,13 @@
%%% keywords = "latex, page grid, main vertical list",
%%% supported = "yes",
%%% abstract = "package to change page grid, MVL",
-%%% docstring = "The checksum field above generated by ltxdoc",
%%% }
\NeedsTeXFormat{LaTeX2e}[1995/12/01]%
\ProvidesFile{%
ltxgrid%
.sty%
}%
- [2019/01/18/14:29:48 4.2c page grid package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
+ [2020/10/03 4.2e page grid package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
\def\package@name{ltxgrid}%
\expandafter\PackageInfo\expandafter{\package@name}{%
Page grid for \protect\LaTeXe,
@@ -1875,12 +1873,22 @@ ltxgrid%
\def\recover@column@null#1#2#3#4{%
\unvcopy#1%
}%
-\prepdef\@begindocumenthook{%
- \open@column@one\@ne
- \set@colht
- \@floatplacement
- \@dblfloatplacement
-}%
+\rvtx@ifformat@geq{2020-10-01}%
+ {%
+ \AddToHook{begindocument}{%
+ \open@column@one\@ne
+ \set@colht
+ \@floatplacement
+ \@dblfloatplacement
+ }%
+ }{%
+ \prepdef\@begindocumenthook{%
+ \open@column@one\@ne
+ \set@colht
+ \@floatplacement
+ \@dblfloatplacement
+ }%
+ }
\def\longtable@longtable{%
\par
\ifx\multicols\@undefined\else\ifnum\col@number>\@ne\@twocolumntrue\fi\fi
@@ -2413,38 +2421,41 @@ ltxgrid%
\let\nopagebreak@ltx\nopagebreak
\let\endline@ltx\\
\let\@arrayparboxrestore@ltx\@arrayparboxrestore
-\def\@vspace@org #1{%
+\def\@tempa#1{%
+\def\@vspace@org ##1{%
\ifvmode
- \vskip #1
+ #1% \vskip #1
\vskip\z@skip
\else
\@bsphack
\vadjust{\@restorepar
- \vskip #1
+ #1% \vskip #1
\vskip\z@skip
}%
\@esphack
\fi
}%
-\def\@vspace@ltx#1{%
+\def\@vspace@ltx##1{%
\@ifvmode{%
- \vskip#1\vskip\z@skip
+ #1% \vskip #1
+ \vskip\z@skip
}{%
\@bsphack
\ex@vadjust@ltx{%
\@restorepar
\nobreak
- \vskip#1\vskip\z@skip
+ #1% \vskip #1
+ \vskip\z@skip
}%
\@esphack
}%
}%
-\def\@vspacer@org#1{%
+\def\@vspacer@org##1{%
\ifvmode
\dimen@\prevdepth
\hrule \@height\z@
\nobreak
- \vskip #1
+ #1%\vskip #1
\vskip\z@skip
\prevdepth\dimen@
\else
@@ -2452,17 +2463,18 @@ ltxgrid%
\vadjust{\@restorepar
\hrule \@height\z@
\nobreak
- \vskip #1
+ #1%\vskip #1
\vskip\z@skip}%
\@esphack
\fi
}%
-\def\@vspacer@ltx#1{%
+\def\@vspacer@ltx##1{%
\@ifvmode{%
\dimen@\prevdepth
\hrule\@height\z@
\nobreak
- \vskip#1\vskip\z@skip
+ #1%\vskip#1
+ \vskip\z@skip
\prevdepth\dimen@
}{%
\@bsphack
@@ -2470,11 +2482,16 @@ ltxgrid%
\@restorepar
\hrule\@height\z@
\nobreak
- \vskip#1\vskip\z@skip
+ #1%\vskip#1
+ \vskip\z@skip
}%
\@esphack
}%
}%
+}
+\rvtx@ifformat@geq{2020/10/01}%
+ {\@tempa{\@vspace@calcify{#1}}}%
+ {\@tempa{\vskip #1 }}%
\def\@no@pgbk@org #1[#2]{%
\ifvmode
\penalty #1\@getpen{#2}%
@@ -2495,7 +2512,8 @@ ltxgrid%
\@esphack
}%
}%
-\long\def\end@line@org{%
+\rvtx@ifformat@geq{2020/02/02}%
+{\protected}{\long}\def\end@line@org{%
\let\reserved@e\relax
\let\reserved@f\relax
\@ifstar{%
@@ -2505,7 +2523,8 @@ ltxgrid%
}%
\@xnewline
}%
-\long\def\end@line@ltx{%
+\rvtx@ifformat@geq{2020/02/02}%
+{\protected}{\long}\def\end@line@ltx{%
\let\reserved@e\relax
\let\reserved@f\relax
\@ifstar{%
@@ -2516,20 +2535,30 @@ ltxgrid%
\@xnewline
}%
}%
-\def\@newline@org[#1]{%
- \let\reserved@e\vadjust
- \@gnewline{\vskip#1}%
-}%
-\def\@newline@ltx[#1]{%
- \let\reserved@e\ex@vadjust@ltx
- \@gnewline{\vskip#1}%
-}%
+\def\@tempa#1{%
+ \def\@newline@org[##1]{%
+ \let\reserved@e\vadjust
+ \@gnewline{#1}% \vskip#1
+ }%
+ \def\@newline@ltx[##1]{%
+ \let\reserved@e\ex@vadjust@ltx
+ \@gnewline{#1}% \vskip#1
+ }%
+}
+\rvtx@ifformat@geq{2020/10/01}%
+ {\@tempa{\@vspace@calcify{#1}}}%
+ {\@tempa{\vskip #1}}%
\@ifx{\@vspace\@vspace@org}{%
\@ifx{\@vspacer\@vspacer@org}{%
\@ifx{\@no@pgbk\@no@pgbk@org}{%
\@ifx{\@newline\@newline@org}{%
- \expandafter\@ifx\expandafter{\csname\expandafter\@gobble\string\\ \endcsname\end@line@org}{%
- \true@sw
+ \expandafter\@ifx\expandafter{%
+ \csname\rvtx@ifformat@geq{2020/02/02}%
+ {\expandafter\@gobble\string\\}%
+ {\expandafter\@gobble\string\\ }\endcsname
+ \end@line@org
+ }{%
+ \true@sw
}{\false@sw}%
}{\false@sw}%
}{\false@sw}%
@@ -2538,7 +2567,10 @@ ltxgrid%
{%
\class@info{Overriding \string\@vspace, \string\@vspacer, \string\@no@pgbk, \string\@newline, and \string\\ }%
\let\@normalcr\end@line@ltx
- \expandafter\let\csname\expandafter\@gobble\string\\ \endcsname\@normalcr
+ \expandafter\let
+ \csname\rvtx@ifformat@geq{2020/02/02}%
+ {\expandafter\@gobble\string\\}%
+ {\expandafter\@gobble\string\\ }\endcsname\@normalcr
\let\@newline\@newline@ltx
\let\@vspace\@vspace@ltx
\let\@vspacer\@vspacer@ltx
diff --git a/Master/texmf-dist/tex/latex/revtex/ltxutil.sty b/Master/texmf-dist/tex/latex/revtex/ltxutil.sty
index 6173831bfa4..7590c5de979 100644
--- a/Master/texmf-dist/tex/latex/revtex/ltxutil.sty
+++ b/Master/texmf-dist/tex/latex/revtex/ltxutil.sty
@@ -22,11 +22,10 @@
%%
%%% @LaTeX-file{
%%% filename = "ltxutil.dtx",
-%%% version = "4.2c",
-%%% date = "2019/01/18",
-%%% time = "14:29:48 UT-5",
-%%% checksum = "4291",
+%%% version = "4.2e",
+%%% date = "2020/10/03",
%%% author = "Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
+%%% Phelype Oleinik (mailto:phelype.oleinik at latex-project.org),
%%% commissioned by the American Physical Society. Minor changes by Mark Doyle for version 4.2a-c.
%%% ",
%%% copyright = "Copyright (C) 1999, 2009 Arthur Ogawa,
@@ -43,14 +42,13 @@
%%% keywords = "latex, page grid, main vertical list",
%%% supported = "yes",
%%% abstract = "utilities package",
-%%% docstring = "The checksum field above generated by ltxdoc",
%%% }
\NeedsTeXFormat{LaTeX2e}[1995/12/01]%
\ProvidesFile{%
ltxutil%
.sty%
}%
- [2019/01/18/14:29:48 4.2c utilities package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
+ [2020/10/03 4.2e utilities package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
\def\package@name{ltxutil}%
\expandafter\PackageInfo\expandafter{\package@name}{%
Utility macros for \protect\LaTeXe,
@@ -156,6 +154,11 @@ ltxutil%
\long\def\@argswap#1#2{#2#1}%
\long\def\@argswap@val#1#2{#2{#1}}%
\def\@ifxundefined@cs#1{\expandafter\@ifx\expandafter{\csname#1\endcsname\relax}}%
+\ifx\IfFormatAtLeastTF\undefined
+ \def\rvtx@ifformat@geq{\@ifl@t@r\fmtversion}%
+\else
+ \let\rvtx@ifformat@geq\IfFormatAtLeastTF
+\fi
\def\@boolean#1#2{%
\long\def#1{%
#2% \if<something>
@@ -191,11 +194,16 @@ ltxutil%
\@ifx{\undefined#1}{\true@sw}{\@ifx{\relax#1}{\true@sw}{\false@sw}}%
{\def#1}{\def\j@nk}%
}%
-\prepdef\document{%
- \endgroup
- \document@inithook
- \true@sw{}%
-}%
+\rvtx@ifformat@geq{2020-10-01}%
+ {%
+ \AddToHook{begindocument/before}{\document@inithook}%
+ }{%
+ \prepdef\document{%
+ \endgroup
+ \document@inithook
+ \true@sw{}%
+ }%
+ }
\let\document@inithook\@empty
\appdef\document@inithook{%
\AtBeginDocument{\class@documenthook}%
@@ -205,6 +213,10 @@ ltxutil%
}%
\let\class@documenthook\@empty
\let\class@enddocumenthook\@empty
+\rvtx@ifformat@geq{2020-10-01}{%
+ % <definitions for newer LaTeX later>
+}{%
+ % <definitions for older LaTeX>
\def\enddocument{%
\let\AtEndDocument\@firstofone
\@enddocumenthook
@@ -238,7 +250,7 @@ ltxutil%
\@if@sw\if@tempswa\fi{%
\@latex@warning@no@line{%
Label(s) may have changed.
- Rerun to get cross-references right
+ Rerun to get cross-references right%
}%
}{}%
}{%
@@ -246,6 +258,30 @@ ltxutil%
}%
}{}%
}%
+}
+\rvtx@ifformat@geq{2020-10-01}{%
+ \AddToHook{enddocument}{\rvtx@enddocument@patch{}}%
+}{}
+\protected\long\def\rvtx@enddocument@patch#1#2\@checkend#3{%
+ \begingroup
+ \edef\x{\detokenize{#3}}%
+ \edef\y{\detokenize{document}}%
+ \expandafter\endgroup
+ \ifx\x\y
+ \expandafter\rvtx@enddocument@patch@end
+ \else
+ \expandafter\rvtx@enddocument@patch@more
+ \fi
+ {#1#2}{#3}}
+\def\rvtx@enddocument@patch@more#1#2{%
+ \rvtx@enddocument@patch{#1\@checkend{#2}}}
+\long\def\rvtx@enddocument@patch@end#1#2\clearpage#3\endgroup{%
+ \def\do@check@aux{#3\endgroup}%
+ #1%
+ \@checkend{#2}%
+ \clear@document
+ \check@aux}
+\def\check@aux{\do@check@aux}%
\def\clear@document{%
\clearpage
\do@output@cclv{%
@@ -2048,9 +2084,14 @@ ltxutil%
\endgroup
}%
\@ifx{\typeout\typeout@org}{%
- \class@info{Making \string\typeout\space \string\long}%
\let\typeout\typeout@ltx
-}{}%
+ \true@sw
+}{%
+ \rvtx@ifformat@geq{2020-10-01}%
+ {\true@sw}{\false@sw}%
+}%
+ {\class@info{Making \string\typeout\space \string\long}}%
+ {}%
\endinput
%%
%% End of file `ltxutil.sty'.
diff --git a/Master/texmf-dist/tex/latex/revtex/revsymb4-2.sty b/Master/texmf-dist/tex/latex/revtex/revsymb4-2.sty
index 594efa58c12..9b13e875cb7 100644
--- a/Master/texmf-dist/tex/latex/revtex/revsymb4-2.sty
+++ b/Master/texmf-dist/tex/latex/revtex/revsymb4-2.sty
@@ -17,7 +17,10 @@
%% Version (4.2b,4.2c)
%% Modified by Mark Doyle, American Physical Society (mailto:revtex at aps.org)
%%
-%% Copyright (c) 2019 American Physical Society.
+%% Version (4.2d,4.2e)
+%% Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org)
+%%
+%% Copyright (c) 2019--2020 American Physical Society.
%% https://journals.aps.org/revtex/
%% mailto:revtex@aps.org
%%
@@ -25,7 +28,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1996/12/01]%
\ProvidesPackage{revsymb4-2}
- [2019/01/18/14:29:48 4.2c (https://journals.aps.org/revtex/ for documentation)]% \fileversion
+ [2020/10/03 4.2e (https://journals.aps.org/revtex/ for documentation)]% \fileversion
\def\REVSYMB@warn#1{\PackageWarningNoLine{revsymb}{#1}}%
\DeclareRobustCommand\lambdabar{%
\bgroup
diff --git a/Master/texmf-dist/tex/latex/revtex/revtex4-2.cls b/Master/texmf-dist/tex/latex/revtex/revtex4-2.cls
index 5f1f74f7d67..bd6244adc9a 100644
--- a/Master/texmf-dist/tex/latex/revtex/revtex4-2.cls
+++ b/Master/texmf-dist/tex/latex/revtex/revtex4-2.cls
@@ -25,7 +25,10 @@
%% Version (4.2b,4.2c)
%% Modified by Mark Doyle, American Physical Society (mailto:revtex at aps.org)
%%
-%% Copyright (c) 2019 American Physical Society.
+%% Version (4.2d,4.2e)
+%% Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org)
+%%
+%% Copyright (c) 2019--2020 American Physical Society.
%% https://journals.aps.org/revtex/
%% mailto:revtex@aps.org
%%
@@ -33,15 +36,15 @@
%%
\NeedsTeXFormat{LaTeX2e}[1996/12/01]%
\ProvidesClass{revtex4-2}
- [2019/01/18/14:29:48 4.2c (https://journals.aps.org/revtex/ for documentation)]% \fileversion
+ [2020/10/03 4.2e (https://journals.aps.org/revtex/ for documentation)]% \fileversion
\let\class@name\@gtempa
\GenericInfo{}{\space
Copyright (c) 2019 American Physical Society.^^J
mailto:revtex@aps.org^^J
Licensed under the LPPL:^^Jhttp://www.ctan.org/tex-archive/macros/latex/base/lppl.txt^^J
Arthur Ogawa <arthur_ogawa at sbcglobal dot net>^^J
- Based on work by David Carlisle <david at dcarlisle.demon.co.uk>%
- Version (4.2c): Modified by Mark Doyle^^J
+ Based on work by David Carlisle <david at dcarlisle.demon.co.uk>^^J
+ Version (4.2d,4.2e): Modified by Mark Doyle and Phelype Oleinik^^J
\@gobble
}%
\if@compatibility
@@ -54,7 +57,7 @@
\fi
\typeout{%
ltxutil%
- [2019/01/18/14:29:48 4.2c utilities package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
+ [2020/10/03 4.2e utilities package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
}%
\def\class@err#1{\ClassError{\class@name}{#1}\@eha}%
\def\class@warn#1{\ClassWarningNoLine{\class@name}{#1}}%
@@ -156,6 +159,11 @@ ltxutil%
\long\def\@argswap#1#2{#2#1}%
\long\def\@argswap@val#1#2{#2{#1}}%
\def\@ifxundefined@cs#1{\expandafter\@ifx\expandafter{\csname#1\endcsname\relax}}%
+\ifx\IfFormatAtLeastTF\undefined
+ \def\rvtx@ifformat@geq{\@ifl@t@r\fmtversion}%
+\else
+ \let\rvtx@ifformat@geq\IfFormatAtLeastTF
+\fi
\def\@boolean#1#2{%
\long\def#1{%
#2% \if<something>
@@ -191,11 +199,16 @@ ltxutil%
\@ifx{\undefined#1}{\true@sw}{\@ifx{\relax#1}{\true@sw}{\false@sw}}%
{\def#1}{\def\j@nk}%
}%
-\prepdef\document{%
- \endgroup
- \document@inithook
- \true@sw{}%
-}%
+\rvtx@ifformat@geq{2020-10-01}%
+ {%
+ \AddToHook{begindocument/before}{\document@inithook}%
+ }{%
+ \prepdef\document{%
+ \endgroup
+ \document@inithook
+ \true@sw{}%
+ }%
+ }
\let\document@inithook\@empty
\appdef\document@inithook{%
\AtBeginDocument{\class@documenthook}%
@@ -205,6 +218,10 @@ ltxutil%
}%
\let\class@documenthook\@empty
\let\class@enddocumenthook\@empty
+\rvtx@ifformat@geq{2020-10-01}{%
+ % <definitions for newer LaTeX later>
+}{%
+ % <definitions for older LaTeX>
\def\enddocument{%
\let\AtEndDocument\@firstofone
\@enddocumenthook
@@ -238,7 +255,7 @@ ltxutil%
\@if@sw\if@tempswa\fi{%
\@latex@warning@no@line{%
Label(s) may have changed.
- Rerun to get cross-references right
+ Rerun to get cross-references right%
}%
}{}%
}{%
@@ -246,6 +263,30 @@ ltxutil%
}%
}{}%
}%
+}
+\rvtx@ifformat@geq{2020-10-01}{%
+ \AddToHook{enddocument}{\rvtx@enddocument@patch{}}%
+}{}
+\protected\long\def\rvtx@enddocument@patch#1#2\@checkend#3{%
+ \begingroup
+ \edef\x{\detokenize{#3}}%
+ \edef\y{\detokenize{document}}%
+ \expandafter\endgroup
+ \ifx\x\y
+ \expandafter\rvtx@enddocument@patch@end
+ \else
+ \expandafter\rvtx@enddocument@patch@more
+ \fi
+ {#1#2}{#3}}
+\def\rvtx@enddocument@patch@more#1#2{%
+ \rvtx@enddocument@patch{#1\@checkend{#2}}}
+\long\def\rvtx@enddocument@patch@end#1#2\clearpage#3\endgroup{%
+ \def\do@check@aux{#3\endgroup}%
+ #1%
+ \@checkend{#2}%
+ \clear@document
+ \check@aux}
+\def\check@aux{\do@check@aux}%
\def\clear@document{%
\clearpage
\do@output@cclv{%
@@ -2048,12 +2089,17 @@ ltxutil%
\endgroup
}%
\@ifx{\typeout\typeout@org}{%
- \class@info{Making \string\typeout\space \string\long}%
\let\typeout\typeout@ltx
-}{}%
+ \true@sw
+}{%
+ \rvtx@ifformat@geq{2020-10-01}%
+ {\true@sw}{\false@sw}%
+}%
+ {\class@info{Making \string\typeout\space \string\long}}%
+ {}%
\typeout{%
ltxfront%
- [2019/01/18/14:29:48 4.2c frontmatter package (AO,DPC,MD)]% \fileversion
+ [2020/10/03 4.2e frontmatter package (AO,DPC,MD)]% \fileversion
}%
\appdef\class@documenthook{\frontmatter@init}%
\let\frontmatter@init\@empty
@@ -3089,7 +3135,7 @@ ltxfront%
}%
\typeout{%
ltxgrid%
- [2019/01/18/14:29:48 4.2c page grid package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
+ [2020/10/03 4.2e page grid package (portions licensed from W. E. Baxter web at superscript.com)]% \fileversion
}%
\newcounter{linecount}
\def\loop@line#1#2{%
@@ -4909,12 +4955,22 @@ ltxgrid%
\def\recover@column@null#1#2#3#4{%
\unvcopy#1%
}%
-\prepdef\@begindocumenthook{%
- \open@column@one\@ne
- \set@colht
- \@floatplacement
- \@dblfloatplacement
-}%
+\rvtx@ifformat@geq{2020-10-01}%
+ {%
+ \AddToHook{begindocument}{%
+ \open@column@one\@ne
+ \set@colht
+ \@floatplacement
+ \@dblfloatplacement
+ }%
+ }{%
+ \prepdef\@begindocumenthook{%
+ \open@column@one\@ne
+ \set@colht
+ \@floatplacement
+ \@dblfloatplacement
+ }%
+ }
\def\longtable@longtable{%
\par
\ifx\multicols\@undefined\else\ifnum\col@number>\@ne\@twocolumntrue\fi\fi
@@ -5447,38 +5503,41 @@ ltxgrid%
\let\nopagebreak@ltx\nopagebreak
\let\endline@ltx\\
\let\@arrayparboxrestore@ltx\@arrayparboxrestore
-\def\@vspace@org #1{%
+\def\@tempa#1{%
+\def\@vspace@org ##1{%
\ifvmode
- \vskip #1
+ #1% \vskip #1
\vskip\z@skip
\else
\@bsphack
\vadjust{\@restorepar
- \vskip #1
+ #1% \vskip #1
\vskip\z@skip
}%
\@esphack
\fi
}%
-\def\@vspace@ltx#1{%
+\def\@vspace@ltx##1{%
\@ifvmode{%
- \vskip#1\vskip\z@skip
+ #1% \vskip #1
+ \vskip\z@skip
}{%
\@bsphack
\ex@vadjust@ltx{%
\@restorepar
\nobreak
- \vskip#1\vskip\z@skip
+ #1% \vskip #1
+ \vskip\z@skip
}%
\@esphack
}%
}%
-\def\@vspacer@org#1{%
+\def\@vspacer@org##1{%
\ifvmode
\dimen@\prevdepth
\hrule \@height\z@
\nobreak
- \vskip #1
+ #1%\vskip #1
\vskip\z@skip
\prevdepth\dimen@
\else
@@ -5486,17 +5545,18 @@ ltxgrid%
\vadjust{\@restorepar
\hrule \@height\z@
\nobreak
- \vskip #1
+ #1%\vskip #1
\vskip\z@skip}%
\@esphack
\fi
}%
-\def\@vspacer@ltx#1{%
+\def\@vspacer@ltx##1{%
\@ifvmode{%
\dimen@\prevdepth
\hrule\@height\z@
\nobreak
- \vskip#1\vskip\z@skip
+ #1%\vskip#1
+ \vskip\z@skip
\prevdepth\dimen@
}{%
\@bsphack
@@ -5504,11 +5564,16 @@ ltxgrid%
\@restorepar
\hrule\@height\z@
\nobreak
- \vskip#1\vskip\z@skip
+ #1%\vskip#1
+ \vskip\z@skip
}%
\@esphack
}%
}%
+}
+\rvtx@ifformat@geq{2020/10/01}%
+ {\@tempa{\@vspace@calcify{#1}}}%
+ {\@tempa{\vskip #1 }}%
\def\@no@pgbk@org #1[#2]{%
\ifvmode
\penalty #1\@getpen{#2}%
@@ -5529,7 +5594,8 @@ ltxgrid%
\@esphack
}%
}%
-\long\def\end@line@org{%
+\rvtx@ifformat@geq{2020/02/02}%
+{\protected}{\long}\def\end@line@org{%
\let\reserved@e\relax
\let\reserved@f\relax
\@ifstar{%
@@ -5539,7 +5605,8 @@ ltxgrid%
}%
\@xnewline
}%
-\long\def\end@line@ltx{%
+\rvtx@ifformat@geq{2020/02/02}%
+{\protected}{\long}\def\end@line@ltx{%
\let\reserved@e\relax
\let\reserved@f\relax
\@ifstar{%
@@ -5550,20 +5617,30 @@ ltxgrid%
\@xnewline
}%
}%
-\def\@newline@org[#1]{%
- \let\reserved@e\vadjust
- \@gnewline{\vskip#1}%
-}%
-\def\@newline@ltx[#1]{%
- \let\reserved@e\ex@vadjust@ltx
- \@gnewline{\vskip#1}%
-}%
+\def\@tempa#1{%
+ \def\@newline@org[##1]{%
+ \let\reserved@e\vadjust
+ \@gnewline{#1}% \vskip#1
+ }%
+ \def\@newline@ltx[##1]{%
+ \let\reserved@e\ex@vadjust@ltx
+ \@gnewline{#1}% \vskip#1
+ }%
+}
+\rvtx@ifformat@geq{2020/10/01}%
+ {\@tempa{\@vspace@calcify{#1}}}%
+ {\@tempa{\vskip #1}}%
\@ifx{\@vspace\@vspace@org}{%
\@ifx{\@vspacer\@vspacer@org}{%
\@ifx{\@no@pgbk\@no@pgbk@org}{%
\@ifx{\@newline\@newline@org}{%
- \expandafter\@ifx\expandafter{\csname\expandafter\@gobble\string\\ \endcsname\end@line@org}{%
- \true@sw
+ \expandafter\@ifx\expandafter{%
+ \csname\rvtx@ifformat@geq{2020/02/02}%
+ {\expandafter\@gobble\string\\}%
+ {\expandafter\@gobble\string\\ }\endcsname
+ \end@line@org
+ }{%
+ \true@sw
}{\false@sw}%
}{\false@sw}%
}{\false@sw}%
@@ -5572,7 +5649,10 @@ ltxgrid%
{%
\class@info{Overriding \string\@vspace, \string\@vspacer, \string\@no@pgbk, \string\@newline, and \string\\ }%
\let\@normalcr\end@line@ltx
- \expandafter\let\csname\expandafter\@gobble\string\\ \endcsname\@normalcr
+ \expandafter\let
+ \csname\rvtx@ifformat@geq{2020/02/02}%
+ {\expandafter\@gobble\string\\}%
+ {\expandafter\@gobble\string\\ }\endcsname\@normalcr
\let\@newline\@newline@ltx
\let\@vspace\@vspace@ltx
\let\@vspacer\@vspacer@ltx
@@ -6218,10 +6298,8 @@ ltxgrid%
}%
%%% @LaTeX-file{
%%% filename = "revtex4-2.dtx",
-%%% version = "4.2c",
-%%% date = "2019/01/18",
-%%% time = "14:29:48 UT-5",
-%%% checksum = "6584",
+%%% version = "4.2e",
+%%% date = "2020/10/03",
%%% author = "Mark Doyle (mailto: revtex at aps.org), Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net),
%%% commissioned by the American Physical Society.
%%% ",
@@ -6239,7 +6317,6 @@ ltxgrid%
%%% keywords = "",
%%% supported = "yes",
%%% abstract = "",
-%%% docstring = "The checksum field above generated by ltxdoc",
%%% }
\def\substyle@post{4-2}%
\def\substyle@ext{rtx}%
diff --git a/Master/texmf-dist/tex/latex/revtex/sor4-2.rtx b/Master/texmf-dist/tex/latex/revtex/sor4-2.rtx
index 7285c5bb83e..45df05a978b 100644
--- a/Master/texmf-dist/tex/latex/revtex/sor4-2.rtx
+++ b/Master/texmf-dist/tex/latex/revtex/sor4-2.rtx
@@ -11,7 +11,7 @@
%% instead, modify the original source file.
%% See the URL in the file README-AIP.
%%
-%% Copyright (c) 2019 American Institute of Physics.
+%% Copyright (c) 2019--2020 American Institute of Physics.
%% mailto:tex@aip.org
%%
%% Maintained by Arthur Ogawa (mailto:arthur_ogawa at sbcglobal.net)
@@ -21,6 +21,9 @@
%% Modified by Aptara
%% under contract to American Institute of Physics
%%
+%% Version (4.2d,4.2e)
+%% Modified by Phelype Oleinik for the American Physical Society (mailto:phelype.oleinik at latex-project.org)
+%%
%% License
%% You may distribute this file under the conditions of the
%% LaTeX Project Public License 1.3c or later