TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to create a document class based on a KOMA-Script class. If myclass.cls contains the following


then compiling a document whose first line is \documentclass{myclass} generates the warning

LaTeX Warning: Unused global option(s):

The same problem occurs with scrbook and scrreprt. What am I doing wrong?

share|improve this question
I think you're looking for the option a5paper and not paper=a5. – Werner Aug 31 '11 at 17:50
no, paper=a5 is correct – Herbert Aug 31 '11 at 17:56
up vote 9 down vote accepted

The option paper is actually not a class option, but an option of the typearea package which is implicitly used by all KOMA-Script classes. Hence, what you need is the following:


The paper option isn't automatically passed to the typearea package by the KOMA-Script classes. On the other hand, this is the case for the old-style a4paper, a5paper etc. options. Thus, an alternative solution to your problem is:


I don't recommend the latter solution, though, since old-style options are more and more deprecated by the KOMA-Script classes.

share|improve this answer

Your class should be something like this:

share|improve this answer
I've tested your solution. The warning is still there. – mhp Sep 1 '11 at 9:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.