lukew3 / mathgenerator

A math problem generator, created for the purpose of giving self-studying students and teaching organizations the means to easily get access to high-quality, generated math problems to suit their needs.
https://lukew3.github.io/mathgenerator
MIT License
681 stars 176 forks source link

Use raw strings for latex generation #407

Closed lukew3 closed 1 year ago

lukew3 commented 1 year ago

Latex generation can get cluttered when you have to escape every backslash. Instead, we should use r'<content>' and rf'<content> for building latex strings.