Skip to content

Commit

Permalink
review-jlreq.cls, review-jsbook.cls (\includefullpagegraphics): repla…
Browse files Browse the repository at this point in the history
…ced: \iftdir -> \if@tate
  • Loading branch information
munepi committed Sep 7, 2021
1 parent 331c6ab commit f3b69be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/latex/review-jlreq/review-jlreq.cls
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
}

\newcommand*\@includefullpagegraphics[2][]{%
\iftdir
\if@tate
\vbox to \textheight{%
\ifodd\c@page
\vskip-\dimexpr\evensidemargin - \topskip + 1in\relax
Expand Down
5 changes: 4 additions & 1 deletion templates/latex/review-jsbook/review-jsbook.cls
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,9 @@
% \typeout{!!! magscale: \jsc@magscale}
% \typeout{!!! mag: \the\mag}%%=> 1000 -> OK

%% compatibility for jlreq.cls
\let\if@tate\iftdir

%% override papersize with custom papersize
\ifx\recls@paperwidth\@empty\else\ifx\recls@paperheight\@empty\else
\setlength{\paperwidth}{\recls@paperwidth}
Expand Down Expand Up @@ -410,7 +413,7 @@
}

\newcommand*\@includefullpagegraphics[2][]{%
\iftdir
\if@tate
\vbox to \textheight{%
\ifodd\c@page
\vskip-\dimexpr\evensidemargin - \topskip + 1in\relax
Expand Down

0 comments on commit f3b69be

Please sign in to comment.