Concerning options that can be passed to document classes.

learn more… | top users | synonyms

2
votes
1answer
29 views

Why is the “geometry” package passed an unwanted argument?

I am working on a class and cannot figure out why geometry is passed my argument "twocolumn", even though I did not use \RequirePackageWithOptions but only \RequirePackage. Can someone explain to me ...
2
votes
1answer
71 views

What does runningheads do in the documentclass?

Although I'm a TeX/LaTeX neophyte, I've taken on a rather ambitious project of updating Differential Calculus with SAGE. As I go along I'm using the existing tex document to teach myself what each ...
2
votes
1answer
210 views

Where do I put option values for customizing documents with KOMA Script classes?

I started to read the documentation on the KOMA Script classes because they seem to have many tools that are more flexible to use than the standard classes, But I don't understand where to put all the ...
2
votes
2answers
55 views

How to remove the date under the draftmode in AEA document class?

When using the AEA document class in draftmode, there is a date command that appears with the \maketitle. Does anyone know how to eliminate it? When using \date{} as would usually work, the date is ...
2
votes
1answer
30 views

Why do options listed in \LoadClass not affect?

I have listed dvipsnames (or other options) in \LoadClass with the hope I don't need to specify dvipsnames (or other options) in \documentclass. Apparently this does not work as what I expect. It ...
2
votes
1answer
41 views

using PhDThesisPSnPDF class

May be this is a common qusetion but I haven't found this answer. I'm trying to use PhDThesisPSnPDF class but writing in Italian. My only issue is to change the "Chapter" in the italian lenguages ...
2
votes
1answer
45 views

How to determine if documents has parts

I'm writing a custom class based on book.cls for our office's publication series, but I've hit a problem in how to set up a conditional. Some of the publications are part->chapter->section while ...
2
votes
1answer
76 views

Strange Behavior when Inheriting Class Options

I'd like to create a new document class which inherits most of its options from the base class article, but which sets the default font option to 11pt instead of 10pt, and also defines its own new ...
2
votes
0answers
47 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
115 views

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

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
1answer
974 views

What unit of measure is pt in the documentclass?

I would like to know what is the meaning of 13pt in here: \documentclass[a4paper,13pt]{article} My first guess was that it was the size of the characters, but changing the number does not seem to ...
1
vote
1answer
41 views

\@ifpackagewith doesn't behave as I expected with global options

When I compile the following code, I expect a "Yes" but I get a "No" instead. Is there something subtle going on or is my method for checking wrong? If so, how can I see which options have been passed ...
1
vote
1answer
731 views

Svmono hack. How to change font size in Springer Verlag Class?

I am writing my Ph.D. thesis with svmono class of Springer-Verlag, but the default size is 10pt and seems to me too difficult to read. I would like to change to 11pt or 12pt. This two option are ...
1
vote
1answer
43 views

Too much space between chapter title and content

I'm a LaTeX newbie and my someone on my university has made a custom LaTeX class, and I'm using it to make a dissertation. However, the space between the chapter title and the content is way too ...
1
vote
1answer
30k views

Number of pages decreases when font size increases

Number of pages in my pdf-document [article] decreases when font size increases – and v.v.! It kind of resembles an optimum of maximum page numbers as function of font size (which I don't ...
1
vote
1answer
712 views

own class with twocolumns activated in \ifdefined for KOMA and xelatex

I want to do something like in http://stackoverflow.com/questions/1465665/passing-command-line-arguments-to-latex-document. For better explanation I'll show a minimal running example: My test.cls: ...
1
vote
1answer
37 views

Passing options to Beamer from another file

I have broken my Beamer file in two parts: a preamble and the presentation proper (for reusing purposes). My preamble is something like this: % Start of mypreamble.tex % ...
1
vote
1answer
68 views

Overriding the default font size for custom classes

I'm in the middle of writing a document class (let's call it base.cls) which serves as base class for several other classes I'm writing. The base class itself is based on the article class. By ...
1
vote
1answer
28 views

Choosing an image based on option sent to class

To be more consistent in the personal/internal documents I write, I'd like to modify my class to allow me to pass an option that will automatically select an image to put in the footer on the first ...
1
vote
1answer
120 views

How to pass title (or other parameter) to class file

I know LaTeX just to the point of making simple documents and modifying simple characteristics of a document's layout. Now I'm creating a class for a kind of document in order not to have to copy a ...
1
vote
1answer
39 views

Generic title command used to insert a pdf or text specified as key value

I'm trying to get my own generic title command I can use either to include a pdf file as a title page, is that file exists, or include a text subdivided in keys using the xkeyval package. My question ...
1
vote
0answers
147 views

Set global option (and pass it to all packages) in a custom class file

I had a tex-file that basically started as follows \documentclass[ a4paper, hyperref, amsmath, headinclude=true, ngerman, final ]{scrbook} \usepackage{babel} \usepackage{ntheorem} ...
1
vote
0answers
28 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. ...
1
vote
0answers
271 views

Lyx - Editing the document class [closed]

I am using LyX Beamer but want to the option [t]. Using Document -> Settings -> Document Class if I choose presentation (beamer) and put the [t] in custom it does not compile. Is there a way to define ...
0
votes
2answers
76 views

Unused global option(s) [english]

Whenever I compile my TeX file, I get the following warning Unused global option(s) [english] and Underfull \hbox(badness 10000) in paragraph at lines 27-28
0
votes
1answer
43 views

.cls edit makes at-sign (@) appear in 'list of tables' and 'list of figures' between chapters

I am formatting my thesis and have been using a template for which a custom style file was created. The template had the front matter, such as "list of tables", acknowledgements, etc., listed in the ...
0
votes
0answers
82 views

\RequirePackage{tikz} in dissertation .cls file

I'm trying to edit the standard .cls file provided by my university towards dissertations to include TikZ pictures. I tried adding \RequirePackage{tikz} in the class file and separately, adding ...
0
votes
0answers
26 views

Passing memoir's options to the combine class

The combine class can be loaded in such a way that it uses memoir class documents: \documentclass[memoir]{combine} but if my individual documents have the following options: ...
0
votes
0answers
64 views

How to set options in a .cls file [duplicate]

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
140 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
110 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} ...