Concerning options that can be passed to document classes.

learn more… | top users | synonyms

13
votes
1answer
266 views

A class with default language settings

I want to write a class which loads babel and other language aware packages and pass to all of them the option ngerman as default. But if another language is used in the options of the \documentclass ...
2
votes
0answers
37 views

Using a generic way to evaluate global document options

I am looking for a way to easily define and evaluate additional global document options. Right now I am using \documentclass[12pt,ngerman]{scrartcl} as the first line of my documents, I'd like ...
2
votes
0answers
42 views

Migrating from xkeyval to kvoptions: how to retrieve \define@choicekey?

I'm in the process of migrating a class I wrote from xkeyval to kvoptions, mainly because I'd like to provide class options whose values could be list of comma separated values: ...
1
vote
0answers
25 views

standalone: subprambles inverse

When splitting a document with the standalone class and package, the option subpreambles causes the main document to include all the preambles of the sub-files. The other way around is more difficult. ...
0
votes
0answers
38 views

How to set options in a .cls file

Suppose I'm writing a foo class which at some point calls LoadClassWithOptions{book} I would like to be able to pass either oneside or twoside to the book class based on various other ...
0
votes
0answers
38 views

Passing language parameter to \RequirePackage through \documentclass

I've written my own CV class and set it up so all packages are required in the .cls file and the .tex file only uses \documentclass. I would like to keep it this way but still be able to select ...
0
votes
0answers
96 views

Not able to use 5p options in the document class of elsarticle

Showing the error of logo when using the option of 5p in document class of elsarticle. I am using the following code: \documentclass[preprint,5p,times,twocolumn]{elsarticle} ...
0
votes
0answers
50 views

What is the kvoptions-patch's equivalent of \@classoptionslist?

For a class I'm working on, I'd like some (babel's) languages to be automatically loaded. This can be achieved thanks to \@classoptionslist: \begin{filecontents*}{myclass.cls} ...