draft / eco-mode (in progress)

This commit is contained in:
Krishna Kumar 2013-11-24 18:40:44 +00:00
parent 243b4f9b1a
commit 47f37abcc1
3 changed files with 26 additions and 0 deletions

View File

@ -60,6 +60,9 @@
\newif\ifCU@pageStyleII\CU@pageStyleIIfalse % Set Page StyleI \newif\ifCU@pageStyleII\CU@pageStyleIIfalse % Set Page StyleI
\DeclareOption{PageStyleII}{\CU@pageStyleIItrue} \DeclareOption{PageStyleII}{\CU@pageStyleIItrue}
% *************************** Eco Mode ****************************
\newif\ifCU@eco\CU@ecofalse % Set Eco Mode to squeeze more text
\DeclareOption{eco}{\CU@ecotrue}
\ProcessOptions\relax% \ProcessOptions\relax%
@ -79,6 +82,9 @@
\DeclareOption{oneside}{\PassOptionsToClass{\CurrentOption}{book}}% \DeclareOption{oneside}{\PassOptionsToClass{\CurrentOption}{book}}%
\DeclareOption{twoside}{\PassOptionsToClass{\CurrentOption}{book}}% \DeclareOption{twoside}{\PassOptionsToClass{\CurrentOption}{book}}%
% Draft Mode
\DeclareOption{draft}{\PassOptionsToClass{\CurrentOption}{book}}%
% Generates Warning for unknown options % Generates Warning for unknown options
\DeclareOption*{ \DeclareOption*{
\ClassWarning{PhDThesisPSnPDF}{Unknown or non-standard option '\CurrentOption'. Will see if I can load it from the book class. If you get a warning unused global option(s): `\CurrentOption` then the option is not supported!} \ClassWarning{PhDThesisPSnPDF}{Unknown or non-standard option '\CurrentOption'. Will see if I can load it from the book class. If you get a warning unused global option(s): `\CurrentOption` then the option is not supported!}
@ -229,6 +235,11 @@
\fi \fi
% ******************************** Eco Mode **************************************
\ifCU@eco
\usepackage[title=normal]{savetrees} % subtle / moderate /extreme
\fi
% *************************** To copy ligatures and Fonts *********************** % *************************** To copy ligatures and Fonts ***********************
\RequirePackage{textcomp} \RequirePackage{textcomp}

View File

@ -2,6 +2,19 @@ phd-thesis-template
=================== ===================
> A PhD thesis LaTeX template for Cambridge University, based on Krishna Kumar's King's latex course, CUED V1.1 Template by H. Banderi, and Cambridge Computer Laboratory Template. > A PhD thesis LaTeX template for Cambridge University, based on Krishna Kumar's King's latex course, CUED V1.1 Template by H. Banderi, and Cambridge Computer Laboratory Template.
### Features
* Adaptive Title Page: Title page adapts to title length
* Print / On-line version: Different layout and hyper-referncing styles
* Custom font and pre-defined fonts (Times / Latin Modern)
* Custom bibliography style support (authoryear / numbered / custom)
* Custom page styles: 3 Different Header / Footer styles
### Build your thesis ### Build your thesis
The template supports PDF, DVI and PS formats. All three formats can be generated The template supports PDF, DVI and PS formats. All three formats can be generated
with the provided `Makefile`. with the provided `Makefile`.
@ -198,4 +211,6 @@ You can run the following command:
* Support eco mode: squeeze more text in a page * Support eco mode: squeeze more text in a page
* Support Draft mode
* Scale the section sizes by an order when moving from a4paper to a5paper * Scale the section sizes by an order when moving from a4paper to a5paper

Binary file not shown.