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}
@ -12,12 +12,17 @@
\newif\if@culumntitles
\newif\if@UU@openright
\newif\if@UU@margnum
\newif\if@webedition
\newif\if@printedition
\@usepdfgfxtrue
\@sfivepapertrue
\@UU@chapterafterparttrue
\@culumntitlesfalse
\@UU@openrightfalse
% set webedition by default
\@webeditiontrue
\@printeditionfalse
% Paper resizing commands
\providecommand{\UU@setsfivepaper}{
@ -135,6 +140,16 @@
\DeclareOption{margnum}{
\@UU@margnumtrue
}
\DeclareOption{webedition}{
\PassOptionsToClass{\CurrentOption}{book}
\@webeditiontrue
\@printeditionfalse
}
\DeclareOption{printedition}{
\PassOptionsToClass{\CurrentOption}{book}
\@printeditiontrue
\@webeditionfalse
}
\DeclareOption{twocolumn}{
\ClassWarning{This class does not support \CurrentOption}
}

Loading…
Cancel
Save