diff --git a/Classes/PhDThesisPSnPDF.cls b/Classes/PhDThesisPSnPDF.cls index 3758b90..0221e06 100644 --- a/Classes/PhDThesisPSnPDF.cls +++ b/Classes/PhDThesisPSnPDF.cls @@ -25,9 +25,9 @@ \DeclareOption{report}{\CU@bookmodefalse} \DeclareOption{book}{\CU@bookmodetrue} -% ****************** Define a print/online mode ****************** -\newif\if@printmode\@printmodefalse -\DeclareOption{printmode}{\@printmodetrue} +% ****************** Define a Print/Online Version ****************** +\newif\if@print\@printfalse +\DeclareOption{print}{\@printtrue} % ************************** Define index ************************ \newif\ifCU@index\CU@indexfalse @@ -79,9 +79,9 @@ -% Defines a print mode / online mode to define page-layout and hyperrefering +% Defines a print / online version to define page-layout and hyperrefering -\if@printmode +\if@print \RequirePackage{hyperref} % For Print version \hypersetup{ diff --git a/README.md b/README.md index 0d341c7..b3f041e 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,9 @@ It also supports some custom options: * `twoside` or `oneside`: This is especially useful for printing double side (twoside) or single side. -* `printmode`: Supports PrintMode and Online Version with different page margins and hyperlink styles. - Use `printmode` in the options to activate Print Version with appropriate margins and page layout and view styles. Leaving the options field blank will activate Online version. +* `print`: Supports Print and Online Version with different page margins and hyperlink styles. + Use `print` in the options to activate Print Version with appropriate margins and page layout and view styles. + Leaving the options field blank will activate Online version. * `index`: Including this option in `\documentclass` build the index, which you can put at the and of the thesis. @@ -136,7 +137,7 @@ You can run the following command: # Known Issues / Bugs -* Abstract, Acknowlegment and Dedication has extra spacing at the top: needs removal +* Abstract, Acknowlegment and Dedication have extra spacing at the top: needs removal -------------------------------------------------------------------------------- diff --git a/thesis.pdf b/thesis.pdf index 866e8a8..14c9c26 100644 Binary files a/thesis.pdf and b/thesis.pdf differ diff --git a/thesis.tex b/thesis.tex index a872070..6f346cd 100644 --- a/thesis.tex +++ b/thesis.tex @@ -1,4 +1,4 @@ -\documentclass[a4paper,times,11pt,twoside,printmode,index]{Classes/PhDThesisPSnPDF} +\documentclass[a4paper,times,11pt,twoside,print,index]{Classes/PhDThesisPSnPDF} % ********************************* Preamble ********************************** % Preamble: Contains packages and user-defined commands and settings