diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tugboat/ltugboat.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/tugboat/ltugboat.cls | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls b/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls index d2d0895cf9b..de6419d4782 100644 --- a/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls +++ b/Master/texmf-dist/tex/latex/tugboat/ltugboat.cls @@ -8,7 +8,8 @@ %% %% This is a generated file. %% -%% Copyright 1994,1995,1996,2001,2005,2006,2009,2011,2013 TeX Users Group. +%% Copyright 1994,1995,1996,2001,2005,2006,2009,2011,2013,2014,2015 +%% TeX Users Group. %% %% It may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -32,7 +33,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1994/12/01] \ProvidesClass {ltugboat} - [2014/11/12 v2.16 + [2015/03/24 v2.17 TUGboat journal class% ] \csname tugstyloaded@\endcsname @@ -47,6 +48,16 @@ \DeclareOption{draft}{% \AtEndOfClass{% \setcounter{page}{901}% + % + % Put a question mark into the page number in draft mode. + \let\tuborigthepage = \thepage + \def\thepage{% + \ifnum\value{page}>900 + \textsl{?\,\@arabic{\numexpr\the\c@page-900\relax}}% + \else + \arabic{page}% + \fi}% + % \BlackBoxes \def\MakeRegistrationMarks{}% \PrelimDrafttrue @@ -57,6 +68,7 @@ } \DeclareOption{final}{% \AtEndOfClass{% + \let\thepage=\tuborigthepage \NoBlackBoxes \PrelimDraftfalse \@tubrunningfull |