Tags: joshwells/secretx
Tags
Add explicit environments back After trying to use macros as environments, I figured out it just wasn't working. I kept running into edge cases that threw something off. For example, the first paragraph after a section had the wrong kerning and macro like `\lipsum[1-2]` did not parse correctly. I suspect this is related to the macro grabbing the first token instead of the full string which includes the options. Reviewing [this question with its answers](https://tex.stackexchange.com/q/8373/61112) gave some insight into what is going on.
Unify the macros and environments Looking around the web some more, I came across [this](https://tex.stackexchange.com/a/450293/61112) post that pointed out that we can use macros as environments. This means we don't need to duplicate code! So, I unified the definitions to simplify everything.