Passing options to `typearea` package

This is required because `LoadClass` does *not* propagate such options
correctly. This solves warnings about unused global options.

(reported in issue #13)
overleaf-2022-09-12-0646
Bastian Rieck 2020-07-25 21:52:46 +02:00
parent 733f3b086e
commit ce1174cbc6
1 changed files with 5 additions and 2 deletions

View File

@ -1,11 +1,14 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{mimosis}[2017/08/01 Minimal modern thesis class]
\PassOptionsToPackage{
DIV = 10, % TODO: Make configurable
BCOR = 10mm, % TODO: Make configurable
}{typearea}
\LoadClass[a4paper,
twoside,
11pt,
DIV=10, % TODO: Make configurable
BCOR=10mm, % TODO: Make configurable
cleardoublepage=empty,
numbers=noenddot,
titlepage,