7
votes
2answers
269 views

How can I stop the “setspace” package from processing a “doublespacing” documentclass option?

LaTeX does not behave as I expected with the following files. First file: \documentclass[doublespacing]{article} \usepackage{lipsum} % for dummy text only \begin{document} \lipsum \end{document} ...
8
votes
2answers
496 views

Loading package twice with \RequirePackage causes “option clash”

I thought that loading a package twice with the same options cannot lead to option clash, still I get a clash in the following simple example: \documentclass{article} ...
4
votes
1answer
114 views

How do I add an option that sets a flag to a document class?

I want to add an option that sets a flag to a document class. That is, I want to be able to type \documentclass[foo]{class} and get one type of behavior, and type \documentclass{class} to get a ...
3
votes
1answer
538 views

Best practice for setting package options through class options?

I want to process my class options so as to create a (potentially long) options list for package(s) I'm loading, e.g. % set default package options here somehow \DeclareOption{myvariant}{ % set a ...