diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/revtex4/ltxgrid.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/revtex4/ltxgrid.dtx | 46 |
1 files changed, 25 insertions, 21 deletions
diff --git a/Master/texmf-dist/source/latex/revtex4/ltxgrid.dtx b/Master/texmf-dist/source/latex/revtex4/ltxgrid.dtx index ab0209ed098..c2ab9e24435 100644 --- a/Master/texmf-dist/source/latex/revtex4/ltxgrid.dtx +++ b/Master/texmf-dist/source/latex/revtex4/ltxgrid.dtx @@ -10,17 +10,16 @@ % For the documentation and more detailed instructions for % installation, typeset this document with \LaTeX. % \fi -% \GetFileInfo{ltxgrid.dtx}\CheckSum{4234} +% \GetFileInfo{ltxgrid.dtx} % % \iffalse ltxdoc klootch %<*ltxgrid> %%% @LaTeX-file{ %%% filename = "ltxgrid.dtx", -%%% version = "1.0rc5", -%%% date = "2001/07/26", -%%% time = "12:23:00 GMT+8", -%%% checksum = "4234", +%%% version = "1.0d", +%%% date = "2020/09/30", %%% author = "Arthur Ogawa (mailto:ogawa@teleport.com), +%%% Phelype Oleinik (mailto:phelype.oleinik at latex-project.org), %%% commissioned by the American Physical Society. %%% ", %%% copyright = "Copyright (C) 1999, 2000 Arthur Ogawa, @@ -37,7 +36,6 @@ %%% keywords = "latex, page grid, main vertical list", %%% supported = "yes", %%% abstract = "package to change page grid, MVL", -%%% docstring = "The checksum field above generated by ltxdoc", %%% } %</ltxgrid> % \fi @@ -121,7 +119,7 @@ % typeset documentation. % \begin{macrocode} %<*doc|ltxgrid> - [2001/07/26 1.0rc5 page grid package]% \fileversion + [2020/09/30 1.0d page grid package]% \fileversion %</doc|ltxgrid> % \end{macrocode} % @@ -154,14 +152,10 @@ \documentclass{ltxdoc} \RequirePackage{ltxdocext}% \RequirePackage[colorlinks=true,linkcolor=blue]{hyperref}% -\ifx\package@font\@undefined\else - \expandafter\expandafter - \expandafter\RequirePackage - \expandafter\expandafter - \expandafter{% - \csname package@font\endcsname - }% -\fi +\makeatletter +\@ifundefined{package@font}{}% + {\expandafter\RequirePackage\expandafter{\csname package@font\endcsname}} +\makeatother \CodelineIndex\EnableCrossrefs % \end{macrocode} % @@ -4037,12 +4031,22 @@ in your filesystem where they will be found by \LaTeX. % 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} % |