From f357725f5bcde398aaa76d7f520a1af742372ede Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 3 May 2023 22:39:18 -0700 Subject: [PATCH] Cleanup --- resources/ormc_handout.cls | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/resources/ormc_handout.cls b/resources/ormc_handout.cls index 9c29f34..80c72a9 100644 --- a/resources/ormc_handout.cls +++ b/resources/ormc_handout.cls @@ -160,15 +160,15 @@ \begin{adjustbox}{minipage=0.7\textwidth, margin=0pt \smallskipamount,center} \begin{center} - \IfNoValueF{#1}{\textsc{#1}} \hfill \IfNoValueF{#2}{\textsc{#2}} \\ - \rule{\linewidth}{0.2mm}\\ + \IfNoValueF{#1}{\textsc{#1}} \hfill \IfNoValueF{#2}{\textsc{#2}} \par + \rule{\linewidth}{0.2mm} \par \huge - #3 \\ + #3 \par \normalsize \vspace{1ex} #4 - \rule{\linewidth}{0.2mm} \\ + \rule{\linewidth}{0.2mm} \par % Instructor's handout warning \ifnowarning\else @@ -183,7 +183,7 @@ \large \textcolor{red}{ \textbf{Instructor's Handout} - } \\ + } \par \normalsize \end{center} \end{tcolorbox} @@ -197,7 +197,7 @@ \large \textcolor{red}{ \textbf{Instructor's Handout} - } \\ + } \par \normalsize \end{center} @@ -286,7 +286,7 @@ % Does the same thing as \problem, \theorem, etc, but with no counter. \NewDocumentCommand{\generic}{ m d<> }{ \vspace{3mm} - {\bf\normalsize #1} \\* + {\bf\normalsize #1} \\lat* \IfNoValueF{#2}{ \customlabel{#2}{#1} @@ -433,7 +433,7 @@ \linewidth + \kvtcb@rightlower + \kvtcb@boxsep, 0 ); - \end{tikzpicture} \\ + \end{tikzpicture} \par } } @@ -458,9 +458,9 @@ \NewDocumentCommand{\note}{ d<> m }{ \IfNoValueTF{#1} { - \textcolor{gray}{#2} \\ + \textcolor{gray}{#2} \par } { - \textcolor{gray}{\textit{#1:} #2} \\ + \textcolor{gray}{\textit{#1:} #2} \par } }