Report class removed
This commit is contained in:
parent
790fbf1b39
commit
a923bda278
@ -19,11 +19,7 @@
|
||||
|
||||
% ***************************************************************
|
||||
% ********************** Class Definition ***********************
|
||||
|
||||
\newif\ifCU@bookmode
|
||||
\CU@bookmodetrue
|
||||
\DeclareOption{report}{\CU@bookmodefalse}
|
||||
\DeclareOption{book}{\CU@bookmodetrue}
|
||||
% ***************************************************************
|
||||
|
||||
% ****************** Define a Print/Online Version **************
|
||||
\newif\if@print\@printfalse
|
||||
@ -57,47 +53,55 @@
|
||||
\newif\ifCU@custombib\CU@custombibfalse % Custom Bibliography
|
||||
\DeclareOption{custombib}{\CU@custombibtrue}
|
||||
|
||||
% ****************** Header / Footer Styling ********************
|
||||
|
||||
|
||||
|
||||
\ProcessOptions\relax%
|
||||
|
||||
% ********************* Pre-defined Options **********************
|
||||
|
||||
% Font Size
|
||||
\DeclareOption{10pt}{\PassOptionsToClass{\CurrentOption}{book}}%
|
||||
\DeclareOption{11pt}{\PassOptionsToClass{\CurrentOption}{book}}%
|
||||
\DeclareOption{12pt}{\PassOptionsToClass{\CurrentOption}{book}}%
|
||||
|
||||
% Page Size
|
||||
\DeclareOption{a4paper}{\PassOptionsToClass{\CurrentOption}{book}}%
|
||||
\DeclareOption{a5paper}{\PassOptionsToClass{\CurrentOption}{book}}%
|
||||
\DeclareOption{letter}{\PassOptionsToClass{\CurrentOption}{book}}%
|
||||
|
||||
% Column layout
|
||||
\DeclareOption{oneside}{\PassOptionsToClass{\CurrentOption}{book}}%
|
||||
\DeclareOption{twoside}{\PassOptionsToClass{\CurrentOption}{book}}%
|
||||
|
||||
% Generates Warning for unknown options
|
||||
\DeclareOption*{
|
||||
\ClassWarning{PhDThesisPSnPDF}{Unknown option '\CurrentOption'}
|
||||
\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!}
|
||||
\PassOptionsToClass{\CurrentOption}{book}
|
||||
}
|
||||
|
||||
|
||||
\ProcessOptions\relax%
|
||||
|
||||
\ifCU@bookmode
|
||||
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}%
|
||||
\ProcessOptions\relax%
|
||||
\ifx\pdfoutput\undefined%
|
||||
\LoadClass[dvips,fleqn,openright]{book}%
|
||||
\else%
|
||||
\LoadClass[pdftex,fleqn,openright]{book}%
|
||||
\fi%
|
||||
\else
|
||||
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}}%
|
||||
\ProcessOptions\relax%
|
||||
\ifx\pdfoutput\undefined%
|
||||
\LoadClass[dvips,fleqn,openright]{report}%
|
||||
\else%
|
||||
\LoadClass[pdftex,fleqn,openright]{report}%
|
||||
\fi%
|
||||
\fi
|
||||
\LoadClass[dvips,fleqn,openright]{book}%
|
||||
\@ifundefined{pdfoutput}{
|
||||
\AtBeginDvi{\special{papersize=\paperwidth,\paperheight}}
|
||||
}
|
||||
|
||||
\else%
|
||||
\LoadClass[pdftex,fleqn,openright]{book}%
|
||||
\AtBeginDvi{\special{papersize=\paperwidth,\paperheight}}%
|
||||
\fi%
|
||||
|
||||
|
||||
% ************** Set pdfpage and dvips paper sizes ***************
|
||||
% if \pdfoutput is undefined or equal to relax, output a dvips special
|
||||
\@ifundefined{pdfoutput}{
|
||||
\AtBeginDvi{\special{papersize=\paperwidth,\paperheight}}
|
||||
}
|
||||
% pdfoutput is defined and not equal to \relax
|
||||
% check for pdfpageheight existence just in case someone sets pdfoutput
|
||||
% under non-pdflatex. If exists, set them regardless of value of \pdfoutput.
|
||||
\@ifundefined{pdfpageheight}{\relax}{\global\pdfpagewidth\paperwidth
|
||||
\global\pdfpageheight\paperheight}%
|
||||
% if using \pdfoutput=0 under pdflatex, send dvips papersize special
|
||||
\ifcase\pdfoutput
|
||||
\AtBeginDvi{\special{papersize=\paperwidth,\paperheight}}%
|
||||
\else
|
||||
\fi
|
||||
|
||||
|
||||
% **************************** Print / Online ***************************
|
||||
|
17
README.md
17
README.md
@ -42,14 +42,15 @@ __Note__: the `Makefile` itself is take from and maintained at
|
||||
|
||||
## Class Options
|
||||
|
||||
`PhDThesisPSnPDF` supports all the options of the standard `book` and `report` classes (on which
|
||||
it is based).
|
||||
`PhDThesisPSnPDF` is based on the standard `book` class
|
||||
|
||||
It also supports some custom options:
|
||||
It support the following custom options:
|
||||
|
||||
* `book` or `report`: Supports both book and report class. Default is `book`.
|
||||
* `a4paper` or `a5paper` or `letter`: Paper size
|
||||
|
||||
* `twoside` or `oneside`: This is especially useful for printing double side (twoside) or single side.
|
||||
* `10pt` or `11pt` or `12pt`: Font Size
|
||||
|
||||
* `oneside` or `twoside`: This is especially useful for printing double side (twoside) or single side.
|
||||
|
||||
* `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.
|
||||
@ -155,10 +156,10 @@ logos on [this page](http://www.admin.cam.ac.uk/offices/communications/services/
|
||||
Download and exchange the new logos with `CUni.eps` and/or `CUni.pdf`.
|
||||
|
||||
|
||||
## _Q5_: How can I use my favourite fonts (like Adobe Sabon, Adobe Utopia etc.)?
|
||||
## _Q5_: How can I use my favourite fonts (like Libertine etc.)?
|
||||
|
||||
This template uses Times and Latin Modern (as default) fonts. Libertine Font doesn't support Math (looking for a suitable alternative for Math font in Libertine).
|
||||
After you've installed your custom/favourite fonts, add the following command in the preamble section within `\ifFontNotSet \fi`:
|
||||
After you've installed your custom/favourite fonts, add the following command in the preamble section within `\ifsetFont\else \RequirePackage{yourfont} \fi`:
|
||||
|
||||
\renewcommand\rmdefault{psb}
|
||||
|
||||
@ -171,7 +172,7 @@ You can run the following command:
|
||||
|
||||
# Known Issue(s) / Bugs
|
||||
|
||||
* No know bug(s) so far. If you find any let me know or even better if you can patch it and contribute to the development of the LaTeX Template
|
||||
* No know bug(s) so far. If you find any let me know or even better, if you can patch it and contribute to the development of the LaTeX Template
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
BIN
thesis.pdf
BIN
thesis.pdf
Binary file not shown.
@ -39,7 +39,7 @@
|
||||
\begin{document}
|
||||
|
||||
|
||||
\frontmatter
|
||||
%\frontmatter
|
||||
|
||||
|
||||
\begin{titlepage}
|
||||
@ -51,7 +51,7 @@
|
||||
\include{Dedication/dedication}
|
||||
\include{Declaration/declaration}
|
||||
\include{Acknowledgement/acknowledgement}
|
||||
\include{Abstract/abstract}
|
||||
%\include{Abstract/abstract}
|
||||
|
||||
% *********************** Adding TOC and List of Figures *************************
|
||||
|
||||
@ -65,7 +65,7 @@
|
||||
|
||||
|
||||
% ***********************************Main Matter***********************************
|
||||
\mainmatter
|
||||
%\mainmatter
|
||||
|
||||
\include{Chapter1/chapter1}
|
||||
\include{Chapter2/chapter2}
|
||||
@ -76,7 +76,7 @@
|
||||
%\include{Chapter7/chapter7}
|
||||
|
||||
% ***********************************Back Matter***********************************
|
||||
\backmatter
|
||||
%\backmatter
|
||||
\appendix
|
||||
\include{Appendix1/appendix1}
|
||||
\include{Appendix2/appendix2}
|
||||
|
Loading…
Reference in New Issue
Block a user