diff --git a/resources/ormc_handout.cls b/resources/ormc_handout.cls index 12c7fa4..0dd7516 100755 --- a/resources/ormc_handout.cls +++ b/resources/ormc_handout.cls @@ -717,10 +717,11 @@ % Misc helper commands % % -------------------- % -\NewDocumentCommand{\note}{ d[] m }{ - \IfNoValueTF{#1} - {\textcolor{gray}{#2}} - {\textcolor{gray}{\textit{#1:} #2}} - \par +\NewDocumentCommand{\note}{ d[] +m }{ + \IfNoValueTF{#1}{% + \begingroup\color{gray}#2\endgroup% + }{% + \begingroup\color{gray}\textit{#1:} #2\endgroup% + }\par } -\newcommand{\hint}[1]{\note[Hint]{#1}} +\long\def\hint#1{\note[Hint]{#1}}