This question already has an answer here:
- Which document class is being used? 6 answers
I have a
macros.tex file where I keep my macros and
I use them with different document classes.
I want to skip including some of my macros
based on the document class (e.g. if it is
How can I branch based the document class?