options should be passed to the actual document class (chosen per option)

This commit is contained in:
Michael Kohlhase 2020-01-14 06:46:46 +01:00
parent 08a86343c3
commit 5405d7178c
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
\DeclareOption{keys}{\keystrue} \DeclareOption{keys}{\keystrue}
\DeclareOption{deliverables}{\delivstrue} \DeclareOption{deliverables}{\delivstrue}
\DeclareOption{longtasklabels}{\@longtasklabelstrue} \DeclareOption{longtasklabels}{\@longtasklabelstrue}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\proposal@class}}
\ProcessOptions \ProcessOptions
\LoadClass[a4paper,twoside]{\proposal@class} \LoadClass[a4paper,twoside]{\proposal@class}
\RequirePackage{proposal} \RequirePackage{proposal}

View File

@ -644,7 +644,7 @@
\DeclareOption{keys}{\keystrue} \DeclareOption{keys}{\keystrue}
\DeclareOption{deliverables}{\delivstrue} \DeclareOption{deliverables}{\delivstrue}
\DeclareOption{longtasklabels}{\@longtasklabelstrue} \DeclareOption{longtasklabels}{\@longtasklabelstrue}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\proposal@class}}
\ProcessOptions \ProcessOptions
\LoadClass[a4paper,twoside]{\proposal@class} \LoadClass[a4paper,twoside]{\proposal@class}
\RequirePackage{proposal} \RequirePackage{proposal}