Initial eco version

This commit is contained in:
Krishna Kumar 2013-11-24 19:18:00 +00:00
parent 11186bc0ba
commit ee0f6ee61f
3 changed files with 21 additions and 14 deletions

View File

@ -106,6 +106,12 @@
\fi%
% ******************************** Eco Mode **************************************
\ifCU@eco
\usepackage[title=normal]{savetrees} % subtle / moderate /extreme
\linespread{0.9}
\fi
% ************** Set pdfpage and dvips paper sizes ***************
% pdfoutput is defined and not equal to \relax
% check for pdfpageheight existence just in case someone sets pdfoutput
@ -135,17 +141,19 @@
citecolor=black,
anchorcolor=black
}
\if@twoside
\ifCU@eco
\RequirePackage{a4wide}
\else
\if@twoside
% Odd and Even side Margin staggering for binding and set viewmode for PDF
\RequirePackage[hmarginratio=3:2]{geometry}
\hypersetup{pdfpagelayout=TwoPageRight}
\else
\else
% Single side print margin for binding and set view mode for PDF
\RequirePackage[hmarginratio=3:2]{geometry}
\hypersetup{pdfpagelayout=OneColumn}
\fi
\fi
\fi
\else
\RequirePackage{hyperref}
% For PDF Online version
@ -163,9 +171,13 @@
urlcolor=blue,
citecolor=blue,
anchorcolor=green}
% No Margin staggering on Odd and Even side
\RequirePackage[hmarginratio=1:1]{geometry}
\hypersetup{pdfpagelayout=OneColumn}
\ifCU@eco
\RequirePackage{a4wide}
\else
% No Margin staggering on Odd and Even side
\RequirePackage[hmarginratio=1:1]{geometry}
\hypersetup{pdfpagelayout=OneColumn}
\fi
\fi
@ -235,11 +247,6 @@
\fi
% ******************************** Eco Mode **************************************
\ifCU@eco
\usepackage[title=normal]{savetrees} % subtle / moderate /extreme
\fi
% *************************** To copy ligatures and Fonts ***********************
\RequirePackage{textcomp}

Binary file not shown.

View File

@ -1,4 +1,4 @@
\documentclass[a4paper,12pt,twoside,times,numbered,PageStyleI,print,index]{Classes/PhDThesisPSnPDF}
\documentclass[a4paper,12pt,twoside,times,numbered,PageStyleI,eco,print,index]{Classes/PhDThesisPSnPDF}
% ********************************* Preamble **********************************
% Preamble: Contains packages and user-defined commands and settings