Abstract separate mode

This commit is contained in:
Krishna Kumar 2013-12-05 16:01:45 +00:00
parent f47ca7fc57
commit c7e070e67f
6 changed files with 893 additions and 22718 deletions

View File

@ -1,7 +1,5 @@
% ************************** Thesis Abstract *****************************
% Change environment to {abstractseparate} to print only the title page and abstract
% Environment: ``abstract'' - Normal abstract within the thesis
% Enviornment: ``abstractseparate'' - Separate abstract
% Use `abstract' as an option in the document class to print only the titlepage and the abstract.
\begin{abstract}
This is where you write your abstract ...

View File

@ -66,6 +66,12 @@
\newif\ifCU@custommargin\CU@custommarginfalse % Custom margin
\DeclareOption{custommargin}{\CU@custommargintrue}
% ********************** Separate Abstract ************************
\newif \ifdefineAbstract\defineAbstractfalse %To enable Separate abstract
\newif\ifCU@abstract\CU@abstractfalse % Enable Separate Abstract
\DeclareOption{abstract}{\CU@abstracttrue}
\ProcessOptions\relax%
% ********************* Pre-defined Options **********************
@ -546,31 +552,6 @@
}
% ******************************** Abstract ***********************************
% The abstract environment puts a large, bold, centered "Abstract" label at
% the top of the page.
\newenvironment{abstract} {
\cleardoublepage
\setsinglecolumn
\chapter*{\centering \Large Abstract}
\thispagestyle{empty}
}
% The abstractseparate environment is for generating a separate abstract with dissertation title and candidate name as required by the Student Registry.
\newenvironment{abstractseparate} {
\thispagestyle{empty}
\setsinglecolumn
\begin{center}
{ \Large {\bfseries {\@title}} \par}
{{\large \vspace*{1em} \@author} \par}
\end{center}
}
% ******************************** Nomenclature *********************************
\usepackage{nomencl}
@ -612,6 +593,45 @@
\fi
% ******************************** Abstract ***********************************
% The abstract environment puts a large, bold, centered "Abstract" label at
% the top of the page. Defines both abstract and separate abstract environment
% To include only the Title and the abstract pages for submission to BoGS
\ifCU@abstract
\defineAbstracttrue
% Disable the table of contents, figures, tables, index and nomenclature
\renewcommand{\tableofcontents}{}
\renewcommand{\listoffigures}{}
\renewcommand{\listoftables}{}
\renewcommand{\printnomencl}{}
\renewcommand{\printthesisindex}{}
\else
\defineAbstractfalse
\fi
\newenvironment{abstract} {
\ifCU@abstract
% Separate abstract as per Student Registry guidelines
\thispagestyle{empty}
\setsinglecolumn
\begin{center}
{ \Large {\bfseries {\@title}} \par}
{{\large \vspace*{1em} \@author} \par}
\end{center}
\else
% Normal abstract in the thesis
\cleardoublepage
\setsinglecolumn
\chapter*{\centering \Large Abstract}
\thispagestyle{empty}
\fi
}
% ********************* To compute empty space in title page *********************
% Boxes below are used to space differt contents on the title page

11
README.md Normal file → Executable file
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 submitting the PhD dissertation.
* Abstract separate with title and name is generated as per the requirements of the Student Registry for submission of the PhD dissertation.
### Building your thesis
@ -49,7 +49,7 @@ or
make BUILD_STRATEGY=latex
This will use the `latex` command to build the document and will produce
`thesis.dvi`, `thesis.ps` and `thesis.pdf` documents.
`thesis.dvi`, `thesis.ps` and `thesis.pdf` documents. You need psutils installed
Clean unwanted files
@ -99,6 +99,8 @@ It support the following custom options:
Instructions on how to use the index can be found [here](http://en.wikibooks.org/wiki/LaTeX/Indexing#Using_makeidx).
_Note_: the package `makeidx` is used to create the index.
* `abstract`: This option enables only the thesis title page and the abstract with title and author to be printed. Ignore warnings about skipped sections.
@ -188,9 +190,8 @@ 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 is to be submitted to the Student Registry. This can be generated using abstractseparate environment in abstract.tex file and uncommenting the following line in `thesis.tex` file. 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.
`\includeonly{Abstract/abstract}`
-------------------------------------------------------------------------------
# Frequently Asked Questions
@ -272,7 +273,7 @@ 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.

23511
thesis.ps

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
% ******************************* PhD Thesis Template ************************
% Please have a look at the README.md file for info on how to use the template
\documentclass[times,twoside,numbered,print,index]{Classes/PhDThesisPSnPDF}
\documentclass[times,twoside,numbered,abstract,print,index]{Classes/PhDThesisPSnPDF}
% *****************************************************************************
% ******************************* Class Options *******************************
@ -18,6 +18,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
%
% ************************* Custom Page Margins ********************************
%
% `custommargin`: Use `custommargin' in options to activate custom page margins, which can be defined in the preamble.tex. Custom margin will override print/online margin setup.
@ -92,8 +94,10 @@
% To print out a separate abstract in the abstract.tex file change the environment to \begin{abstractseparate} and \end{abstractseparate} and uncomment the following line.
% Please note: Contents, List of Tables and Figures, References will still be produced.
%\includeonly{Abstract/abstract}
\ifdefineAbstract
\includeonly{Abstract/abstract}
\else
\fi
% ********************************Front Matter************************************
@ -143,16 +147,15 @@
\include{Appendix2/appendix2}
% ***********************************Bibliography**********************************
%\include{References/references}
\begin{spacing}{0.9}
\bibliographystyle{apalike}
%\bibliographystyle{plainnat} % use this to have URLs listed in References
\renewcommand{\bibname}{References}% changes default name Bibliography-> References
\cleardoublepage
\bibliography{References/References} % Path to your References.bib file
\bibliography{References/references} % Path to your References.bib file
\end{spacing}
% *************************************** Index ***********************************
\printthesisindex