I have written a wrapper for the scrartcl class in the following way:
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{mycls}[2012/08/23]
\RequirePackage{kvoptions}
\DeclareStringOption{title}
\DeclareStringOption{subtitle}
\ProcessKeyvalOptions*
\PassOptionsToClass{fleqn, openbib, headings=big, DIV=12}{scrartcl}
\LoadClassWithOptions{scrartcl}
This way I can provide some default arguments for scrartcl like DIV=12 and still override them by passing
\documentclass{title=mytitle, subtitle=thesubtitle, DIV=10}
The problem I have, is that srcartcl marks the other options, e.g., title=mytitle as unused
LaTeX Warning: Unused global option(s)
which is certainly false. I tried unsetting the options with
\DisableKeyvalOptions{mycls}{title}
right after \ProcessKeyvalOptions*, but that didn't work. How can I mark those options as used?
\LoadClass[fleqn, openbib, headings=big, DIV=12]{scrartcl}instead of\PassOptionsToClassand\LoadClassWithOptionshelp? – yo' Aug 23 '12 at 16:31