diff options
author | Benji Dial <benji@benjidial.net> | 2024-11-30 15:04:49 -0500 |
---|---|---|
committer | Benji Dial <benji@benjidial.net> | 2024-11-30 15:04:49 -0500 |
commit | 01ae4b8923cfdfd7ebc23f2a5bb3ae247aa28dd5 (patch) | |
tree | cdb4a6fad0481fe145dcb277b34d71ccabe487e7 | |
parent | 5b7d5be5f7718a293ff4026c70a171749ce7c852 (diff) | |
download | latex-classes-01ae4b8923cfdfd7ebc23f2a5bb3ae247aa28dd5.tar.gz |
montgomery: don't put solution link in new paragraph
-rw-r--r-- | montgomery.cls | 6 |
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 }{} |