meluso / UMich_Dissertation_Template

University of Michigan Rackham Graduate School Dissertation Template (unofficial)
https://www.overleaf.com/latex/templates/university-of-michigan-dissertation-and-thesis-template-unofficial/tpnjzndnrzmf
Creative Commons Zero v1.0 Universal
45 stars 16 forks source link

[FEATURE] Inclusion of mathtools package in template cls file #12

Open lizliv opened 6 months ago

lizliv commented 6 months ago

I use the mathtools package to help identify equations I want to emphasize in my other LaTex files but cannot seem to get it to work with this template. Including the package in the packages.tex file throws a bunch of errors.

Without a bibliography, the error message is: Undefined control sequence. \@calc@post@scan ...st@scan \else \def \calc@next

With a bibliography and a single citation, the error is: I found no \citation commands followed by the previous control sequence error.

I think including this package would require some alterations to the existing CLS file, but have not figured out how to resolve the problems myself, hence the issue submission. If there is a simpler solution, please let me know

meluso commented 6 months ago

Thanks @lizliv, I'll take a look at this soon as I can -- I'm pretty swamped at the moment. I'm not quite sure what it means to identify equations to identify in other latex files, but I'd encourage you to look into alternatives in the meantime!

lizliv commented 6 months ago

Sorry for the lack of clarity! I just meant I've used the package before in my own LaTex documents. I like being able to put colorful boxes around the key equations in my derivations, but it certainly is not required and I am happy to use the template as-is to avoid formatting issues with my thesis.

I've tried to produce a minimal working example to recreate the error but haven't found the issue yet. I imagine mathtools has a dependency or loads a command name that conflicts with something in this template.

meluso commented 6 months ago

No worries, that's a cool feature! And you're probably right haha, there are lots of artifacts of previous needs in the template that need cleaning up at some point, but life gets the best of us!