9
votes
2answers
678 views

How do I detect the options passed to the documentclass from my own style?

In the listings package, they note that "a global \documentclass-option draft is recognized, so you don’t need to repeat it as a package option" I tried looking into its source to see how it ...
6
votes
1answer
281 views

How can one undefine an already processed class option?

I'm using a class classX that accepts class option optionX. Thus, I can write: \documentclass[optionX]{classX} ... Now, as I understand it, being a class option, after classX processes this ...
7
votes
3answers
331 views

How does one define synonymous options in style/class files?

I want to be able to pass two options to a package (actually, a class) and have them be the same. What's the best way to do this? That is, I want: \documentclass[norsk]{myclass} and ...