Hoping to combine the best of the exam class with the kaobook class, I took the Overleaf example document for Kaobook and added exam.cls with an \import{exam} command in the preamble. This worked perfectly aside from one problem: Margin notes are all translated right, half-way off the page.
I would like to provide a minimal working example, but both the basic kaobook example and the exam.cls file are too large to paste here. As an alternative, I hope it would be acceptable to share a link to the Overleaf project in this situation:
https://www.overleaf.com/9928673816cfkzkrnqhjns
Does anyone have any suggestions how to could prevent exam.cls from translating marginnotes off the page? Thank you in advance!


exam.clsthat screws up the margins. As for switching, I have spent a very long time developing questions and solutions and diagrams with answer plots within the exam class, so I am apprehensive to switch away from it. – EthanAlvaree Jun 23 '21 at 13:07exam.clsthat handles margins, and keep everything else?I would like to keep grade tables for cover pages of exams,
– EthanAlvaree Jun 23 '21 at 16:27\printanswerscommands (like\answerplotthat hides/shows nodes in a tikzpicture,\solutiontablethat hides/shows answers in the tabular environment, etc.),\solutionorlinesand\answerline[]and\fillin[]commands for fill in the blanks,\choiceand\correctchoicefor multiple choice questions, etc.? All of these features are important to me but I would be happy to delete the margin stuff from the exam class. Thanks again.examin favor ofexercise. However this package isn't compatible withkaobookeither! https://tex.stackexchange.com/questions/602947/make-exercises-package-compatible-with-kaobook – EthanAlvaree Jun 28 '21 at 09:41