Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from package enumerate to enumitem for flexible itemize environments #20

Open
jemus42 opened this issue Feb 25, 2025 · 0 comments
Labels

Comments

@jemus42
Copy link
Member

jemus42 commented Feb 25, 2025

The itemize environment is provided by the enumerate LaTeX package, which according to the author has not seen a lot of development for 30 years (see this particularly salient comment)

The common recommendation (echoed by the enumerate author) is to use the enumitem package, see e.g. the documentation PDF here.

Notably the enumitem package does not provide backwards compatibility, so changing the preambles to usepackage{enumitem} rather than \usepackage{enumerate} breaks some lecture slides, e.g. in I2ML.

It would however give itemize envrionments more flexibility and be probably also more futureproof.
One way to tackle this would go to each lecture like I2ML, substitute enumerate -> enumitem, see which slides break with lecheck compile -l i2ml --preclean, fix the slides accordingly in a PR, and merge the PR once the style files in lecture_service/style/preamble.tex have been changed globally to use enumitem.

Then again, we are talking about touching running systems.

@jemus42 jemus42 added the LaTeX label Feb 25, 2025
@jemus42 jemus42 changed the title LaTeX issue: Migrate from enumerate to enumitem Migrate from enumerate to enumitem Feb 25, 2025
@jemus42 jemus42 changed the title Migrate from enumerate to enumitem Migrate from package enumerate to enumitem for flexible itemize environments Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant