From 01ae4b8923cfdfd7ebc23f2a5bb3ae247aa28dd5 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sat, 30 Nov 2024 15:04:49 -0500 Subject: montgomery: don't put solution link in new paragraph --- montgomery.cls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'montgomery.cls') 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 }{} -- cgit v1.2.3