Added support for ifprintedition package

https://git.solarchemist.se/taha/ifprintedition
main
Taha Ahmed 1 year ago
parent c5cf5f1680
commit ba83966ffb

@ -1,5 +1,5 @@
% ============================================== % ==============================================
% Class definition UU LuaThesis - 2018-01-18 % Class definition UU LuaThesis - 2023-07-12
% ============================================== % ==============================================
\ProvidesClass{LuaUUThesis} \ProvidesClass{LuaUUThesis}
@ -12,12 +12,17 @@
\newif\if@culumntitles \newif\if@culumntitles
\newif\if@UU@openright \newif\if@UU@openright
\newif\if@UU@margnum \newif\if@UU@margnum
\newif\if@webedition
\newif\if@printedition
\@usepdfgfxtrue \@usepdfgfxtrue
\@sfivepapertrue \@sfivepapertrue
\@UU@chapterafterparttrue \@UU@chapterafterparttrue
\@culumntitlesfalse \@culumntitlesfalse
\@UU@openrightfalse \@UU@openrightfalse
% set webedition by default
\@webeditiontrue
\@printeditionfalse
% Paper resizing commands % Paper resizing commands
\providecommand{\UU@setsfivepaper}{ \providecommand{\UU@setsfivepaper}{
@ -135,6 +140,16 @@
\DeclareOption{margnum}{ \DeclareOption{margnum}{
\@UU@margnumtrue \@UU@margnumtrue
} }
\DeclareOption{webedition}{
\PassOptionsToClass{\CurrentOption}{book}
\@webeditiontrue
\@printeditionfalse
}
\DeclareOption{printedition}{
\PassOptionsToClass{\CurrentOption}{book}
\@printeditiontrue
\@webeditionfalse
}
\DeclareOption{twocolumn}{ \DeclareOption{twocolumn}{
\ClassWarning{This class does not support \CurrentOption} \ClassWarning{This class does not support \CurrentOption}
} }

Loading…
Cancel
Save