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

ouexam: `solution` environment overfull #111

Open rbrignall opened 1 month ago

rbrignall commented 1 month ago

Every solution environment seems to be throwing an overfull hbox error (156.49014pt too wide).

rbrignall commented 6 days ago

Related: from Ryan - In exam marking guides, I’ve found that when solution environments are indented (in an item of an enumerate environment for example) the right side of the yellow box goes off the page. I’ve managed to fix this in the attached ouexam.cls by changing \textwidth to \linewidth in the width argument of \newtcolorbox{solutionbox} on line 1035. \linewidth seems to adapt to the context it is in whereas \textwidth is more constant.