summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--montgomery.cls6
1 files changed, 3 insertions, 3 deletions
diff --git a/montgomery.cls b/montgomery.cls
index e8a9f56..a5f1fd4 100644
--- a/montgomery.cls
+++ b/montgomery.cls
@@ -63,9 +63,9 @@
}
\newenvironment{solution}{%
- \stepcounter{solution}
- \label{solution-\thesolution-exercise}
- \par
+ \unskip%
+ \stepcounter{solution}%
+ \label{solution-\thesolution-exercise}%
\textit{Solution: Page \pageref{solution-\thesolution}.}
\Collect@Body\addsolution
}{}