rbrignall / OU-SUPPS

LaTeX class files for OU Supps. If you like this repository, you'll surely also like Robert Hasson's ouunit package: https://github.com/RobertHasson/ouunit Sign up to our mailing list to receive updates: https://www.jiscmail.ac.uk/OU-TEX-ANNOUNCEMENTS
8 stars 4 forks source link

outn: \mk[comment]{} throws error #99

Closed rbrignall closed 7 months ago

rbrignall commented 7 months ago

Can't use \mk command without a second parameter.

(Workarounds are to use \mk*[comment]{}, or \mk[comment]{\relax}.)

cmhughes commented 7 months ago

This seems like expected behaviour...? Referencing the documentation

\mk[⟨description⟩]{⟨n⟩}[⟨voffset⟩]
\mk*[⟨description⟩]{⟨n⟩}[⟨voffset⟩]

so the

rbrignall commented 7 months ago

Yes, I agree, although some users tend to think of empty braces \mk{} as being a legitimate specification of the mandatory parameter, and indeed some bits of LaTeX use it as such (\setbeamertemplate{navigation symbols}{} springs to mind).

I wouldn't anticipate doing anything more than appending/prepending \relax, but of course it mustn't break the auto-adding-up.