Renaming printmode to print

This commit is contained in:
Krishna Kumar 2013-11-19 11:32:39 +00:00
parent 18c4100991
commit 0bd4331a3e
4 changed files with 10 additions and 9 deletions

View File

@ -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{

View File

@ -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
--------------------------------------------------------------------------------

Binary file not shown.

View File

@ -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