Update to abstract separate to generate only Titlepage and abstract

This commit is contained in:
Krishna Kumar 2013-12-05 17:40:24 +00:00
parent c7e070e67f
commit 5e2ed17339
5 changed files with 40 additions and 3341 deletions

View File

@ -70,7 +70,13 @@
\newif \ifdefineAbstract\defineAbstractfalse %To enable Separate abstract
\newif\ifCU@abstract\CU@abstractfalse % Enable Separate Abstract
\DeclareOption{abstract}{\CU@abstracttrue}
\DeclareOption{abstract}{\CU@abstracttrue
\ClassWarning{PhDThesisPSnPDF}{You have chosen an option that
generates only the Title page and an abstract with PhD title and
author name, if this was intentional, ignore this
warning. Congratulations on submitting your thesis!! If not,
please remove the option `abstract' from the document class and
recompile. Good luck with your writing!}}
\ProcessOptions\relax%
@ -606,6 +612,8 @@
\renewcommand{\listoftables}{}
\renewcommand{\printnomencl}{}
\renewcommand{\printthesisindex}{}
\renewcommand{\bibname}{}
\renewcommand{\bibliography}[1]{\thispagestyle{empty}}
\else
\defineAbstractfalse
\fi

View File

@ -20,7 +20,7 @@ phd-thesis-template
* Pre-defined and custom margin size
* Abstract separate with title and name is generated as per the requirements of the Student Registry for submission of the PhD dissertation.
* A separate abstract with thesis title and author name, along with the titlepage can be generated by passing the argument `abstract` to the document class.
### Building your thesis
@ -131,20 +131,20 @@ It support the following custom options:
* `default (leave empty)`: For Page Numbers in Header (Left Even, Right Odd) and Chapter Name in Header (Right Even) and Section #. Section Name (Left Odd). Blank Footer.
Header (Even) : 4 Introduction
Header (Odd) : 1.2 Section Name 5
Footer : Empty
Header (Even) : 4 Introduction
Header (Odd) : 1.2 Section Name 5
Footer : Empty
* `PageStyleI`: For Page Numbers in Header (Left Even, Right Odd) and Chapter Name next to the Page Number on Even Side (Left Even). Section Number and Section Name and Page Number in Header on Odd Side (Right Odd). Footer is empty. Layout:
Header (Even) : 4 | Introduction
Header (Odd) : 1.2 Section Name | 5
Footer : Empty
Header (Odd) : 1.2 Section Name | 5
Footer : Empty
* `PageStyleII`: Chapter Name on Even Side (Left Even) in Header. Section Number and Section Name in Header on Odd Side (Right Odd). Page numbering in footer. Layout:
Header (Even) : Introduction
Header (Odd) : 1.2 Section Name
Header (Odd) : 1.2 Section Name
Footer[centered]: 3
## Custom Settings
@ -190,8 +190,12 @@ The sort keys have prefix. In this case a prefix of `g` is used to denote Greek
## Abstract separate
* A separate abstract with the title of the PhD and the candidate name has to be submitted to the Student Registry. This can be generated using `abstract` option in the document class. Ignore subsequent warnings about skipping sections.
* A separate abstract with the title of the PhD and the candidate name has to be submitted to the Student Registry. This can be generated using `abstract` option in the document class. Ignore subsequent warnings about skipping sections (if any).
* Make sure, the following commands are in the preamble:
\ifdefineAbstract
\includeonly{Abstract/abstract}
\else
\fi
-------------------------------------------------------------------------------
# Frequently Asked Questions
@ -243,7 +247,7 @@ You can also mail
No! Do nothing, or if you don't want any warning messages change the line near the top of the class file to \ProvidesClass{Classes/PhDthesisPSnPDF} if you're not going to install the class file in a more standard location.
### _W2_:I get the package Fancyhdr Warning: \fancyhead's `E` option without twoside option is useless on input line 321 or 322.. What should I do?
### _W2_:I get the package Fancyhdr Warning: \fancyhead's `E` option without twoside option is useless on input line \# or \#. What should I do?
Nothing. The warning is because twoside option is also defined in the class, although only oneside option is currently used.
@ -256,7 +260,7 @@ You are either trying to use a undefined option or a non-standard option, which
You are trying to load an option that is not supported in the PhDThesisClass and the Book Class. Are you sure you are using the right option? check you spelling!
### _W5_: I get I'm skipping whatever remains of this command line 28 of file thesis.aux \@input{Chapter1/chapter1.aux}
### _W5_: I get I'm skipping whatever remains of this command line \# of file thesis.aux \@input{Chapter1/chapter1.aux}
If you are generating a separate abstract for your thesis submission, ignore this warning and good luck with your submission. If you are compiling your thesis and see this warning, please change your environment in abstract.tex file to abstract and make sure \includeonly command is commented before the begin{document} environment in thesis.tex file
@ -273,7 +277,6 @@ If you are generating a separate abstract for your thesis submission, ignore thi
# TODO list
* References shouldn't be printed for abstract mode
--------------------------------------------------------------------------------
# Author(s)

Binary file not shown.

3321
thesis.ps

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,13 @@
% ******************************* PhD Thesis Template ************************
% Please have a look at the README.md file for info on how to use the template
\documentclass[times,twoside,numbered,abstract,print,index]{Classes/PhDThesisPSnPDF}
\documentclass[times,twoside,numbered,print,index]{Classes/PhDThesisPSnPDF}
% *****************************************************************************
% ******************************* Class Options *******************************
% *****************************************************************************
% `a4paper'(The University of Cambridge PhD thesis guidelines recommends a page size a4 - default option) or `a5paper': Paper size is also allowed as per the Engineering deparment guidelines for PhD thesis
% `a4paper'(The University of Cambridge PhD thesis guidelines
% recommends a page size a4 - default option) or `a5paper': Paper size is also allowed as per the Engineering deparment guidelines for PhD thesis
%
% `11pt' or `12pt'(default): Font Size 10pt is NOT recommended by the University guidelines)
%
@ -18,7 +19,8 @@
%
% `draft': For draft mode without loading any images (same as draft in book)
%
% `abstract': To generate only the title page and abstract page with dissertation title and name, to submit to BoGS
% `abstract': To generate only the title page and abstract page with
% dissertation title and name, to submit to the Student Registry
%
% ************************* Custom Page Margins ********************************
%
@ -147,16 +149,23 @@
\include{Appendix2/appendix2}
% ***********************************Bibliography**********************************
%\include{References/references}
\begin{spacing}{0.9}
% Bibliography style
\bibliographystyle{apalike}
%\bibliographystyle{plainnat} % use this to have URLs listed in References
\renewcommand{\bibname}{References}% changes default name Bibliography-> References
%\bibliographystyle{plainnat} % use this to have URLs listed in
%References
% changes default name Bibliography-> References
\renewcommand{\bibname}{References}
\cleardoublepage
\bibliography{References/references} % Path to your References.bib file
\end{spacing}
% *************************************** Index ***********************************
\printthesisindex
\printthesisindex % If index is present
\end{document}