Skip to content

Commit

Permalink
Fix bug with spacing when using \newpage
Browse files Browse the repository at this point in the history
  • Loading branch information
jez committed Feb 3, 2015
1 parent ba75515 commit cda9bf9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions homework.cls
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@
\WithSuffix\renewcommand\question*[1]{%
% Emit \newpage if option `newpage` is present
\ifthenelse{\equal{\@opnewpage}{1}}{%
\newpage
}{}

\newpage%
}{}%
% Wrap in minipage so that we don't get a line break enywhere in between
\begin{minipage}{\linewidth}%
\addtocounter{questionCounter}{1}%
Expand Down

0 comments on commit cda9bf9

Please sign in to comment.