OpenCores
URL https://opencores.org/ocsvn/phr/phr/trunk

Subversion Repositories phr

[/] [phr/] [trunk/] [doc/] [informe-tesis/] [phd-thesis-template-master/] [Classes/] [PhDThesisPSnPDF.cls] - Diff between revs 125 and 126

Only display areas with differences | Details | Blame | View Log

Rev 125 Rev 126
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                                            %%
%%                                                                            %%
%% Class ``PhD Thesis PSnPDF''                                                %%
%% Class ``PhD Thesis PSnPDF''                                                %%
%%                                                                            %%
%%                                                                            %%
%% A PhD thesis LaTeX template for Cambridge University Engineering Department%%
%% A PhD thesis LaTeX template for Cambridge University Engineering Department%%
%%                                                                            %%
%%                                                                            %%
%% Version: v1.0                                                              %%
%% Version: v1.0                                                              %%
%% Authors: Krishna Kumar                                                     %%
%% Authors: Krishna Kumar                                                     %%
%% Date: 2013/11/16 (inception)                                               %%
%% Date: 2013/11/16 (inception)                                               %%
%% License: MIT License (c) 2013 Krishna Kumar                                %%
%% License: MIT License (c) 2013 Krishna Kumar                                %%
%% GitHub Repo: https://github.com/kks32/phd-thesis-template/                 %%
%% GitHub Repo: https://github.com/kks32/phd-thesis-template/                 %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ************************** Class Identification ******************************
% ************************** Class Identification ******************************
\NeedsTeXFormat{LaTeX2e}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{PhDThesisPSnPDF}[2013/12/10 version 1.0 by Krishna Kumar]
\ProvidesClass{PhDThesisPSnPDF}[2013/12/10 version 1.0 by Krishna Kumar]
\typeout{https://github.com/kks32/phd-thesis-template/}
\typeout{https://github.com/kks32/phd-thesis-template/}
% ******************************************************************************
% ******************************************************************************
% **************************** Class Definition ********************************
% **************************** Class Definition ********************************
% ******************************************************************************
% ******************************************************************************
% *********************** Define a Print/Online Version ************************
% *********************** Define a Print/Online Version ************************
\newif\if@print\@printfalse
\newif\if@print\@printfalse
\DeclareOption{print}{\@printtrue}
\DeclareOption{print}{\@printtrue}
% ****************************** Define index **********************************
% ****************************** Define index **********************************
\newif\ifPHD@index\PHD@indexfalse
\newif\ifPHD@index\PHD@indexfalse
\DeclareOption{index}{\PHD@indextrue}
\DeclareOption{index}{\PHD@indextrue}
% ******************************* Font Option **********************************
% ******************************* Font Option **********************************
\newif\ifsetFont\setFontfalse % Font is not set
\newif\ifsetFont\setFontfalse % Font is not set
\newif\ifPHD@times\PHD@timesfalse % Times with Math Support
\newif\ifPHD@times\PHD@timesfalse % Times with Math Support
\DeclareOption{times}{\PHD@timestrue}
\DeclareOption{times}{\PHD@timestrue}
\newif\ifPHD@fourier\PHD@fourierfalse % Fourier with Math Support
\newif\ifPHD@fourier\PHD@fourierfalse % Fourier with Math Support
\DeclareOption{fourier}{\PHD@fouriertrue}
\DeclareOption{fourier}{\PHD@fouriertrue}
\newif\ifPHD@customfont\PHD@customfontfalse % Custom Font with Math Support
\newif\ifPHD@customfont\PHD@customfontfalse % Custom Font with Math Support
\DeclareOption{customfont}{\PHD@customfonttrue}
\DeclareOption{customfont}{\PHD@customfonttrue}
% ******************************* Bibliography *********************************
% ******************************* Bibliography *********************************
\newif\ifsetBib\setBibfalse % Using Custom Bibliography
\newif\ifsetBib\setBibfalse % Using Custom Bibliography
\newif\ifPHD@authoryear\PHD@authoryearfalse % Author-Year citation
\newif\ifPHD@authoryear\PHD@authoryearfalse % Author-Year citation
\DeclareOption{authoryear}{\PHD@authoryeartrue}
\DeclareOption{authoryear}{\PHD@authoryeartrue}
\newif\ifPHD@numbered\PHD@numberedfalse % Numbered citiation
\newif\ifPHD@numbered\PHD@numberedfalse % Numbered citiation
\DeclareOption{numbered}{\PHD@numberedtrue}
\DeclareOption{numbered}{\PHD@numberedtrue}
\newif\ifPHD@custombib\PHD@custombibfalse % Custom Bibliography
\newif\ifPHD@custombib\PHD@custombibfalse % Custom Bibliography
\DeclareOption{custombib}{\PHD@custombibtrue}
\DeclareOption{custombib}{\PHD@custombibtrue}
% ************************* Header / Footer Styling ****************************
% ************************* Header / Footer Styling ****************************
\newif\ifPHD@pageStyleI\PHD@pageStyleIfalse % Set Page StyleI
\newif\ifPHD@pageStyleI\PHD@pageStyleIfalse % Set Page StyleI
\DeclareOption{PageStyleI}{\PHD@pageStyleItrue}
\DeclareOption{PageStyleI}{\PHD@pageStyleItrue}
\newif\ifPHD@pageStyleII\PHD@pageStyleIIfalse % Set Page StyleII
\newif\ifPHD@pageStyleII\PHD@pageStyleIIfalse % Set Page StyleII
\DeclareOption{PageStyleII}{\PHD@pageStyleIItrue}
\DeclareOption{PageStyleII}{\PHD@pageStyleIItrue}
% ***************************** Custom Margins  ********************************
% ***************************** Custom Margins  ********************************
\newif\ifsetMargin\setMarginfalse % Margins are not set
\newif\ifsetMargin\setMarginfalse % Margins are not set
\newif\ifPHD@custommargin\PHD@custommarginfalse % Custom margin
\newif\ifPHD@custommargin\PHD@custommarginfalse % Custom margin
\DeclareOption{custommargin}{\PHD@custommargintrue}
\DeclareOption{custommargin}{\PHD@custommargintrue}
% **************************** Separate Abstract  ******************************
% **************************** Separate Abstract  ******************************
\newif \ifdefineAbstract\defineAbstractfalse %To enable Separate abstract
\newif \ifdefineAbstract\defineAbstractfalse %To enable Separate abstract
\newif\ifPHD@abstract\PHD@abstractfalse % Enable Separate Abstract
\newif\ifPHD@abstract\PHD@abstractfalse % Enable Separate Abstract
\DeclareOption{abstract}{
\DeclareOption{abstract}{
  \PHD@abstracttrue
  \PHD@abstracttrue
  \ClassWarning{PhDThesisPSnPDF}{You have chosen an option that generates only
  \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
the Title page and an abstract with PhD title and author name, if this was
intentional, ignore this warning. Congratulations on submitting your thesis!!
intentional, ignore this warning. Congratulations on submitting your thesis!!
If not, please remove the option `abstract' from the document class and
If not, please remove the option `abstract' from the document class and
recompile. Good luck with your writing!}
recompile. Good luck with your writing!}
}
}
\ProcessOptions\relax%
\ProcessOptions\relax%
% *************************** Pre-defined Options ******************************
% *************************** Pre-defined Options ******************************
% Font Size
% Font Size
\newcommand\PHD@ptsize{12pt} %Set Default Size as 12
\newcommand\PHD@ptsize{12pt} %Set Default Size as 12
\DeclareOption{10pt}{
\DeclareOption{10pt}{
  \ClassWarning{PhDThesisPSnPDF}{The Cambridge University PhD thesis guidelines
  \ClassWarning{PhDThesisPSnPDF}{The Cambridge University PhD thesis guidelines
recommend using a minimum font size of 11pt (12pt is preferred) and 10pt for
recommend using a minimum font size of 11pt (12pt is preferred) and 10pt for
footnotes.}
footnotes.}
  \renewcommand\PHD@ptsize{10pt}
  \renewcommand\PHD@ptsize{10pt}
}
}
\DeclareOption{11pt}{\renewcommand\PHD@ptsize{11pt}}%
\DeclareOption{11pt}{\renewcommand\PHD@ptsize{11pt}}%
\DeclareOption{12pt}{\renewcommand\PHD@ptsize{12pt}}%
\DeclareOption{12pt}{\renewcommand\PHD@ptsize{12pt}}%
\PassOptionsToClass{\PHD@ptsize}{book}%
\PassOptionsToClass{\PHD@ptsize}{book}%
% Page Size
% Page Size
\newcommand\PHD@papersize{a4paper} % Set Default as a4paper
\newcommand\PHD@papersize{a4paper} % Set Default as a4paper
\DeclareOption{a4paper}{\renewcommand\PHD@papersize{a4paper}}
\DeclareOption{a4paper}{\renewcommand\PHD@papersize{a4paper}}
\DeclareOption{a5paper}{\renewcommand\PHD@papersize{a5paper}}
\DeclareOption{a5paper}{\renewcommand\PHD@papersize{a5paper}}
\DeclareOption{letterpaper}{
\DeclareOption{letterpaper}{
  \ClassWarning{PhDThesisPSnPDF}{The Cambridge University Engineering Deparment
  \ClassWarning{PhDThesisPSnPDF}{The Cambridge University Engineering Deparment
PhD thesis guidelines recommend using A4 or A5paper}
PhD thesis guidelines recommend using A4 or A5paper}
  \renewcommand\PHD@papersize{letterpaper}
  \renewcommand\PHD@papersize{letterpaper}
}
}
\PassOptionsToClass{\PHD@papersize}{book}%
\PassOptionsToClass{\PHD@papersize}{book}%
% Column layout
% Column layout
\DeclareOption{oneside}{\PassOptionsToClass{\CurrentOption}{book}}%
\DeclareOption{oneside}{\PassOptionsToClass{\CurrentOption}{book}}%
\DeclareOption{twoside}{\PassOptionsToClass{\CurrentOption}{book}}%
\DeclareOption{twoside}{\PassOptionsToClass{\CurrentOption}{book}}%
% Draft Mode
% Draft Mode
\DeclareOption{draft}{\PassOptionsToClass{\CurrentOption}{book}}%
\DeclareOption{draft}{\PassOptionsToClass{\CurrentOption}{book}}%
% Generates Warning for unknown options
% Generates Warning for unknown options
\DeclareOption*{
\DeclareOption*{
  \ClassWarning{PhDThesisPSnPDF}{Unknown or non-standard option
  \ClassWarning{PhDThesisPSnPDF}{Unknown or non-standard option
'\CurrentOption'. I'll see if I can load it from the book class. If you get a
'\CurrentOption'. I'll 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
warning unused global option(s): `\CurrentOption` then the option is not
supported!}
supported!}
  \PassOptionsToClass{\CurrentOption}{book}
  \PassOptionsToClass{\CurrentOption}{book}
}
}
% Determine whether to run pdftex or dvips
% Determine whether to run pdftex or dvips
\ProcessOptions\relax%
\ProcessOptions\relax%
\newif\ifsetDVI\setDVIfalse
\newif\ifsetDVI\setDVIfalse
\ifx\pdfoutput\undefined
\ifx\pdfoutput\undefined
  % we are not running PDFLaTeX
  % we are not running PDFLaTeX
  \setDVItrue
  \setDVItrue
  \LoadClass[dvips,fleqn,openright]{book}%
  \LoadClass[dvips,fleqn,openright]{book}%
\else % we are running PDFLaTeX
\else % we are running PDFLaTeX
  \ifnum \pdfoutput>0
  \ifnum \pdfoutput>0
    %PDF-Output
    %PDF-Output
    \setDVIfalse
    \setDVIfalse
    \LoadClass[pdftex,fleqn,openright]{book}%
    \LoadClass[pdftex,fleqn,openright]{book}%
  \else
  \else
    %DVI-output
    %DVI-output
    \setDVItrue
    \setDVItrue
    \LoadClass[fleqn,openright]{book}%
    \LoadClass[fleqn,openright]{book}%
  \fi
  \fi
\fi
\fi
%* ***************************** Print / Online ********************************
%* ***************************** Print / Online ********************************
% Defines a print / online version to define page-layout and hyperrefering
% Defines a print / online version to define page-layout and hyperrefering
\ifsetDVI
\ifsetDVI
\special{papersize=\the\paperwidth,\the\paperheight}
\special{papersize=\the\paperwidth,\the\paperheight}
\RequirePackage[dvips,unicode=true]{hyperref}
\RequirePackage[dvips,unicode=true]{hyperref}
\else
\else
\RequirePackage[unicode=true]{hyperref}
\RequirePackage[unicode=true]{hyperref}
\pdfpagewidth=\the\paperwidth
\pdfpagewidth=\the\paperwidth
\pdfpageheight=\the\paperheight
\pdfpageheight=\the\paperheight
\fi
\fi
\if@print
\if@print
    % For Print version
    % For Print version
    \hypersetup{
    \hypersetup{
      plainpages=false,
      plainpages=false,
      pdfstartview=FitV,
      pdfstartview=FitV,
      pdftoolbar=true,
      pdftoolbar=true,
      pdfmenubar=true,
      pdfmenubar=true,
      bookmarksopen=true,
      bookmarksopen=true,
      bookmarksnumbered=true,
      bookmarksnumbered=true,
      breaklinks=true,
      breaklinks=true,
      linktocpage,
      linktocpage,
      colorlinks=true,
      colorlinks=true,
      linkcolor=black,
      linkcolor=black,
      urlcolor=black,
      urlcolor=black,
      citecolor=black,
      citecolor=black,
      anchorcolor=black
      anchorcolor=black
    }
    }
    \ifPHD@custommargin
    \ifPHD@custommargin
        \setMarginfalse
        \setMarginfalse
    \else
    \else
        \ifsetDVI
        \ifsetDVI
        % Odd and Even side Margin for binding and set viewmode for PDF
        % Odd and Even side Margin for binding and set viewmode for PDF
        \RequirePackage[dvips,paper=\PHD@papersize,hmarginratio=1:1,vmarginratio=1:1,scale=0.75,bindingoffset=5mm]{geometry}
        \RequirePackage[dvips,paper=\PHD@papersize,hmarginratio=1:1,vmarginratio=1:1,scale=0.75,bindingoffset=5mm]{geometry}
        \else
        \else
        \RequirePackage[pdftex,paper=\PHD@papersize,hmarginratio=1:1,vmarginratio=1:1,scale=0.75,bindingoffset=5mm]{geometry}
        \RequirePackage[pdftex,paper=\PHD@papersize,hmarginratio=1:1,vmarginratio=1:1,scale=0.75,bindingoffset=5mm]{geometry}
        \fi
        \fi
        \setMargintrue
        \setMargintrue
    \fi
    \fi
    \if@twoside
    \if@twoside
        \hypersetup{pdfpagelayout=TwoPageRight}
        \hypersetup{pdfpagelayout=TwoPageRight}
    \else
    \else
        \hypersetup{pdfpagelayout=OneColumn}
        \hypersetup{pdfpagelayout=OneColumn}
    \fi
    \fi
\else
\else
    % For PDF Online version
    % For PDF Online version
    \hypersetup{
    \hypersetup{
      plainpages=false,
      plainpages=false,
      pdfstartview=FitV,
      pdfstartview=FitV,
      pdftoolbar=true,
      pdftoolbar=true,
      pdfmenubar=true,
      pdfmenubar=true,
      bookmarksopen=true,
      bookmarksopen=true,
      bookmarksnumbered=true,
      bookmarksnumbered=true,
      breaklinks=true,
      breaklinks=true,
      linktocpage,
      linktocpage,
      colorlinks=true,
      colorlinks=true,
      linkcolor=blue,
      linkcolor=blue,
      urlcolor=blue,
      urlcolor=blue,
      citecolor=blue,
      citecolor=blue,
      anchorcolor=green
      anchorcolor=green
    }
    }
    \ifPHD@custommargin
    \ifPHD@custommargin
        \setMarginfalse
        \setMarginfalse
    \else
    \else
        % No Margin staggering on Odd and Even side
        % No Margin staggering on Odd and Even side
        \ifsetDVI
        \ifsetDVI
        \RequirePackage[dvips,paper=\PHD@papersize,hmarginratio=1:1,vmarginratio=1:1,scale=0.75]{geometry}
        \RequirePackage[dvips,paper=\PHD@papersize,hmarginratio=1:1,vmarginratio=1:1,scale=0.75]{geometry}
        \else
        \else
        \RequirePackage[pdftex,paper=\PHD@papersize,hmarginratio=1:1,vmarginratio=1:1,scale=0.75]{geometry}
        \RequirePackage[pdftex,paper=\PHD@papersize,hmarginratio=1:1,vmarginratio=1:1,scale=0.75]{geometry}
        \fi
        \fi
        \setMargintrue
        \setMargintrue
    \fi
    \fi
    \hypersetup{pdfpagelayout=OneColumn}
    \hypersetup{pdfpagelayout=OneColumn}
\fi
\fi
% ******************************************************************************
% ******************************************************************************
% ******************************** Packages ************************************
% ******************************** Packages ************************************
% ******************************************************************************
% ******************************************************************************
% ************************** Layout and Formatting *****************************
% ************************** Layout and Formatting *****************************
\def\pdfshellescape{1}
\def\pdfshellescape{1}
\RequirePackage{lscape}   % Supports Landscape Layout
\RequirePackage{lscape}   % Supports Landscape Layout
\RequirePackage{setspace} % Define line spacing in paragraph
\RequirePackage{setspace} % Define line spacing in paragraph
\RequirePackage{calc}     % To calculate vertical spacing
\RequirePackage{calc}     % To calculate vertical spacing
% ************************* Conditional Statements *****************************
% ************************* Conditional Statements *****************************
\RequirePackage{ifthen}   % Used in LaTeX Class files for conditional statements
\RequirePackage{ifthen}   % Used in LaTeX Class files for conditional statements
\RequirePackage{ifpdf}    % Check for pdfLaTeX
\RequirePackage{ifpdf}    % Check for pdfLaTeX
% *********************** Table of Contents & Appendices ***********************
% *********************** Table of Contents & Appendices ***********************
% add Bibliography, List of figures and tables to contents
% add Bibliography, List of figures and tables to contents
\RequirePackage{tocbibind}
\RequirePackage{tocbibind}
% Add appendices
% Add appendices
\RequirePackage[title,titletoc]{appendix}
\RequirePackage[title,titletoc]{appendix}
% *************************** Graphics and Figures *****************************
% *************************** Graphics and Figures *****************************
\RequirePackage[usenames, dvipsnames]{color}
\RequirePackage[usenames, dvipsnames]{color}
\ifpdf
\ifpdf
        % Convert eps figures to pdf
        % Convert eps figures to pdf
        \RequirePackage{epstopdf}
        \RequirePackage{epstopdf}
        \RequirePackage[pdftex]{graphicx}
        \RequirePackage[pdftex]{graphicx}
        \DeclareGraphicsExtensions{.png, .jpg, .pdf}
        \DeclareGraphicsExtensions{.png, .jpg, .pdf}
        \pdfcompresslevel=9
        \pdfcompresslevel=9
        \graphicspath{{Figs/Raster/}{Figs/}}
        \graphicspath{{Figs/Raster/}{Figs/}}
\else
\else
        \RequirePackage{graphicx}
        \RequirePackage{graphicx}
        \DeclareGraphicsExtensions{.eps, .ps}
        \DeclareGraphicsExtensions{.eps, .ps}
        \graphicspath{{Figs/Vector/}{Figs/}}
        \graphicspath{{Figs/Vector/}{Figs/}}
\fi
\fi
% ************************ URL Package and Definition **************************
% ************************ URL Package and Definition **************************
\RequirePackage{url}
\RequirePackage{url}
% Redefining urlstyle to use smaller fontsize in References with URLs
% Redefining urlstyle to use smaller fontsize in References with URLs
\newcommand{\url@leostyle}{%
\newcommand{\url@leostyle}{%
 \@ifundefined{selectfont}{\renewcommand{\UrlFont}{\sf}}
 \@ifundefined{selectfont}{\renewcommand{\UrlFont}{\sf}}
 {\renewcommand{\UrlFont}{\small\ttfamily}}}
 {\renewcommand{\UrlFont}{\small\ttfamily}}}
\urlstyle{leo}
\urlstyle{leo}
% ******************************* Bibliography *********************************
% ******************************* Bibliography *********************************
\ifPHD@authoryear
\ifPHD@authoryear
\RequirePackage[round, sort, numbers, authoryear]{natbib} %author year
\RequirePackage[round, sort, numbers, authoryear]{natbib} %author year
\setBibtrue
\setBibtrue
\else
\else
     \ifPHD@numbered
     \ifPHD@numbered
     \RequirePackage[numbers,sort&compress]{natbib} % numbered citation
     \RequirePackage[numbers,sort&compress]{natbib} % numbered citation
     \setBibtrue
     \setBibtrue
     \else
     \else
         \ifPHD@custombib
         \ifPHD@custombib
         \setBibfalse
         \setBibfalse
         \else
         \else
         \RequirePackage[numbers,sort&compress]{natbib} % Default - numbered
         \RequirePackage[numbers,sort&compress]{natbib} % Default - numbered
         \setBibtrue
         \setBibtrue
         \ClassWarning{PhDThesisPSnPDF}{No bibliography style was specified.
         \ClassWarning{PhDThesisPSnPDF}{No bibliography style was specified.
Default numbered style is used. If you would like to use a different style, use
Default numbered style is used. If you would like to use a different style, use
`authoryear' or `numbered' in the options in documentclass or use `custombib`
`authoryear' or `numbered' in the options in documentclass or use `custombib`
and define the natbibpackage with required style in the Preamble.tex file}
and define the natbibpackage with required style in the Preamble.tex file}
         \fi
         \fi
     \fi
     \fi
\fi
\fi
% *********************** To copy ligatures and Fonts **************************
% *********************** To copy ligatures and Fonts **************************
\RequirePackage{textcomp}
\RequirePackage{textcomp}
\RequirePackage[utf8]{inputenc}
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage[T1]{fontenc}
% Font Selection
% Font Selection
\ifPHD@times
\ifPHD@times
\RequirePackage{mathptmx}  % times roman, including math (where possible)
\RequirePackage{mathptmx}  % times roman, including math (where possible)
\setFonttrue
\setFonttrue
\else
\else
     \ifPHD@fourier
     \ifPHD@fourier
     \RequirePackage{fourier} % Fourier
     \RequirePackage{fourier} % Fourier
     \setFonttrue
     \setFonttrue
     \else
     \else
          \ifPHD@customfont
          \ifPHD@customfont
          \setFontfalse
          \setFontfalse
          \else
          \else
          \ClassWarning{PhDThesisPSnPDf}{Using default font Latin Modern. If you
          \ClassWarning{PhDThesisPSnPDf}{Using default font Latin Modern. If you
would like to use other pre-defined fonts use `times' (The Cambridge University
would like to use other pre-defined fonts use `times' (The Cambridge University
PhD thesis guidelines recommend using Times font)  or `fourier' or load a custom
PhD thesis guidelines recommend using Times font)  or `fourier' or load a custom
font in the preamble.tex file by specifying `customfont' in the class options}
font in the preamble.tex file by specifying `customfont' in the class options}
          \RequirePackage{lmodern}
          \RequirePackage{lmodern}
          \setFonttrue
          \setFonttrue
          \fi
          \fi
    \fi
    \fi
\fi
\fi
\input{glyphtounicode}
\input{glyphtounicode}
\pdfglyphtounicode{f_f}{FB00}
\pdfglyphtounicode{f_f}{FB00}
\pdfglyphtounicode{f_i}{FB01}
\pdfglyphtounicode{f_i}{FB01}
\pdfglyphtounicode{f_l}{FB02}
\pdfglyphtounicode{f_l}{FB02}
\pdfglyphtounicode{f_f_i}{FB03}
\pdfglyphtounicode{f_f_i}{FB03}
\pdfglyphtounicode{f_f_l}{FB04}
\pdfglyphtounicode{f_f_l}{FB04}
\pdfgentounicode=1
\pdfgentounicode=1
% ******************************************************************************
% ******************************************************************************
% **************************** Pre-defined Settings ****************************
% **************************** Pre-defined Settings ****************************
% ******************************************************************************
% ******************************************************************************
% *************************** Setting PDF Meta-Data ****************************
% *************************** Setting PDF Meta-Data ****************************
\ifpdf
\ifpdf
\AtBeginDocument{
\AtBeginDocument{
  \hypersetup{
  \hypersetup{
    pdftitle = {\@title},
    pdftitle = {\@title},
    pdfauthor = {\@author},
    pdfauthor = {\@author},
    pdfsubject={\@subject},
    pdfsubject={\@subject},
    pdfkeywords={\@keywords}
    pdfkeywords={\@keywords}
  }
  }
}
}
\fi
\fi
% ************************** TOC and Hide Sections *****************************
% ************************** TOC and Hide Sections *****************************
\newcommand{\nocontentsline}[3]{}
\newcommand{\nocontentsline}[3]{}
\newcommand{\tochide}[2]{
\newcommand{\tochide}[2]{
        \bgroup\let
        \bgroup\let
        \addcontentsline=\nocontentsline#1{#2}
        \addcontentsline=\nocontentsline#1{#2}
        \egroup}
        \egroup}
% Removes pagenumber appearing from TOC
% Removes pagenumber appearing from TOC
\addtocontents{toc}{\protect\thispagestyle{empty}}
\addtocontents{toc}{\protect\thispagestyle{empty}}
% ***************************** Header Formatting ******************************
% ***************************** Header Formatting ******************************
% Custom Header with Chapter Number, Page Number and Section Numbering
% Custom Header with Chapter Number, Page Number and Section Numbering
\RequirePackage{fancyhdr} % Define custom header
\RequirePackage{fancyhdr} % Define custom header
% Set Fancy Header Command is defined to Load FancyHdr after Geometry is defined
% Set Fancy Header Command is defined to Load FancyHdr after Geometry is defined
\newcommand{\setFancyHdr}{
\newcommand{\setFancyHdr}{
\pagestyle{fancy}
\pagestyle{fancy}
\ifPHD@pageStyleI
\ifPHD@pageStyleI
% Style 1: Sets Page Number at the Top and Chapter/Section Name on LE/RO
% Style 1: Sets Page Number at the Top and Chapter/Section Name on LE/RO
\renewcommand{\chaptermark}[1]{\markboth{##1}{}}
\renewcommand{\chaptermark}[1]{\markboth{##1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ ##1\ }}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ ##1\ }}
\fancyhf{}
\fancyhf{}
\fancyhead[RO]{\nouppercase \rightmark\hspace{0.25em} | \hspace{0.25em} \bfseries{\thepage}}
\fancyhead[RO]{\nouppercase \rightmark\hspace{0.25em} | \hspace{0.25em} \bfseries{\thepage}}
\fancyhead[LE]{ {\bfseries\thepage} \hspace{0.25em} | \hspace{0.25em} \nouppercase \leftmark}
\fancyhead[LE]{ {\bfseries\thepage} \hspace{0.25em} | \hspace{0.25em} \nouppercase \leftmark}
\else
\else
\ifPHD@pageStyleII
\ifPHD@pageStyleII
% Style 2: Sets Page Number at the Bottom with Chapter/Section Name on LO/RE
% Style 2: Sets Page Number at the Bottom with Chapter/Section Name on LO/RE
\renewcommand{\chaptermark}[1]{\markboth{##1}{}}
\renewcommand{\chaptermark}[1]{\markboth{##1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ ##1}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ ##1}}
\fancyhf{}
\fancyhf{}
\fancyhead[RO]{\bfseries\nouppercase \rightmark}
\fancyhead[RO]{\bfseries\nouppercase \rightmark}
\fancyhead[LE]{\bfseries \nouppercase \leftmark}
\fancyhead[LE]{\bfseries \nouppercase \leftmark}
\fancyfoot[C]{\thepage}
\fancyfoot[C]{\thepage}
\else
\else
% Default Style: Sets Page Number at the Top (LE/RO) with Chapter/Section Name
% Default Style: Sets Page Number at the Top (LE/RO) with Chapter/Section Name
% on LO/RE and an empty footer
% on LO/RE and an empty footer
\renewcommand{\chaptermark}[1]{\markboth {##1}{}}
\renewcommand{\chaptermark}[1]{\markboth {##1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ ##1}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ ##1}}
\fancyhf{}
\fancyhf{}
\fancyhead[LO]{\nouppercase \rightmark}
\fancyhead[LO]{\nouppercase \rightmark}
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[RE]{\nouppercase \leftmark}
\fancyhead[RE]{\nouppercase \leftmark}
\fi
\fi
\fi
\fi
}
}
\setlength{\headheight}{14.5pt}
\setlength{\headheight}{14.5pt}
%\renewcommand{\headrulewidth}{0.5pt}
%\renewcommand{\headrulewidth}{0.5pt}
%\renewcommand{\footrulewidth}{0pt}
%\renewcommand{\footrulewidth}{0pt}
\fancypagestyle{plain}{
\fancypagestyle{plain}{
  \fancyhead{}
  \fancyhead{}
  \renewcommand{\headrulewidth}{0pt}
  \renewcommand{\headrulewidth}{0pt}
}
}
% If Margin has been set (default margin print/online version)
% If Margin has been set (default margin print/online version)
\ifsetMargin
\ifsetMargin
\setFancyHdr % Apply fancy header settings otherwise apply it in preamble
\setFancyHdr % Apply fancy header settings otherwise apply it in preamble
\fi
\fi
% **************** Clear Header Style on the Last Empty Odd pages **************
% **************** Clear Header Style on the Last Empty Odd pages **************
\renewcommand{\cleardoublepage}{\clearpage\if@twoside \ifodd\c@page\else%
\renewcommand{\cleardoublepage}{\clearpage\if@twoside \ifodd\c@page\else%
        \hbox{}%
        \hbox{}%
        \thispagestyle{empty}  % Empty header styles
        \thispagestyle{empty}  % Empty header styles
        \newpage%
        \newpage%
        \if@twocolumn\hbox{}\newpage\fi\fi\fi}
        \if@twocolumn\hbox{}\newpage\fi\fi\fi}
% ******************************** Roman Pages *********************************
% ******************************** Roman Pages *********************************
% The romanpages environment set the page numbering to lowercase roman one
% The romanpages environment set the page numbering to lowercase roman one
% for the contents and figures lists. It also resets
% for the contents and figures lists. It also resets
% page-numbering for the remainder of the dissertation (arabic, starting at 1).
% page-numbering for the remainder of the dissertation (arabic, starting at 1).
\newenvironment{romanpages}{
\newenvironment{romanpages}{
  \setcounter{page}{1}
  \setcounter{page}{1}
  \renewcommand{\thepage}{\roman{page}}}
  \renewcommand{\thepage}{\roman{page}}}
{\newpage\renewcommand{\thepage}{\arabic{page}}}
{\newpage\renewcommand{\thepage}{\arabic{page}}}
% ******************************************************************************
% ******************************************************************************
% **************************** Macro Definitions *******************************
% **************************** Macro Definitions *******************************
% ******************************************************************************
% ******************************************************************************
% These macros are used to declare arguments needed for the
% These macros are used to declare arguments needed for the
% construction of the title page and other preamble.
% construction of the title page and other preamble.
% The year and term the degree will be officially conferred
% The year and term the degree will be officially conferred
\newcommand{\@degreedate}{}
\newcommand{\@degreedate}{}
\newcommand{\degreedate}[1]{\renewcommand{\@degreedate}{#1}}
\newcommand{\degreedate}[1]{\renewcommand{\@degreedate}{#1}}
% The full (unabbreviated) name of the degree
% The full (unabbreviated) name of the degree
\newcommand{\@degree}{}
\newcommand{\@degree}{}
\newcommand{\degree}[1]{\renewcommand{\@degree}{#1}}
\newcommand{\degree}[1]{\renewcommand{\@degree}{#1}}
% The name of your department(eg. Engineering, Maths, Physics)
% The name of your department(eg. Engineering, Maths, Physics)
\newcommand{\@dept}{}
\newcommand{\@dept}{}
\newcommand{\dept}[1]{\renewcommand{\@dept}{#1}}
\newcommand{\dept}[1]{\renewcommand{\@dept}{#1}}
% The name of your college (eg. King's)
% The name of your college (eg. King's)
\newcommand{\@college}{}
\newcommand{\@college}{}
\newcommand{\college}[1]{\renewcommand{\@college}{#1}}
\newcommand{\college}[1]{\renewcommand{\@college}{#1}}
% The name of your University
% The name of your University
\newcommand{\@university}{}
\newcommand{\@university}{}
\newcommand{\university}[1]{\renewcommand{\@university}{#1}}
\newcommand{\university}[1]{\renewcommand{\@university}{#1}}
% Defining the crest
% Defining the crest
\newcommand{\@crest}{}
\newcommand{\@crest}{}
\newcommand{\crest}[1]{\renewcommand{\@crest}{#1}}
\newcommand{\crest}[1]{\renewcommand{\@crest}{#1}}
% Submission Text
% Submission Text
\newcommand{\submissiontext}{This dissertation is submitted for the degree of }
\newcommand{\submissiontext}{Este trabajo otorga el grado de}
 
 
% keywords (These keywords will appear in the PDF meta-information
% keywords (These keywords will appear in the PDF meta-information
% called `pdfkeywords`.)
% called `pdfkeywords`.)
\newcommand{\@keywords}{}
\newcommand{\@keywords}{}
\newcommand{\keywords}[1]{\renewcommand{\@keywords}{#1}}
\newcommand{\keywords}[1]{\renewcommand{\@keywords}{#1}}
% subjectline (This subject will appear in the PDF meta-information
% subjectline (This subject will appear in the PDF meta-information
% called `pdfsubject`.)
% called `pdfsubject`.)
\newcommand{\@subject}{}
\newcommand{\@subject}{}
\newcommand{\subject}[1]{\renewcommand{\@subject}{#1}}
\newcommand{\subject}[1]{\renewcommand{\@subject}{#1}}
% These macros define an environment for front matter that is always
% These macros define an environment for front matter that is always
% single column even in a double-column document.
% single column even in a double-column document.
\newenvironment{alwayssingle}{%
\newenvironment{alwayssingle}{%
       \@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
       \@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
       \else\newpage\fi}
       \else\newpage\fi}
       {\if@restonecol\twocolumn\else\newpage\fi}
       {\if@restonecol\twocolumn\else\newpage\fi}
% Set single column even under two column layout
% Set single column even under two column layout
\newcommand{\setsinglecolumn}{
\newcommand{\setsinglecolumn}{
\if@twocolumn
\if@twocolumn
   \onecolumn
   \onecolumn
\else
\else
\fi
\fi
}
}
% ******************************************************************************
% ******************************************************************************
% *************************** Front Matter Layout ******************************
% *************************** Front Matter Layout ******************************
% ******************************************************************************
% ******************************************************************************
% ******************************** Title Page **********************************
% ******************************** Title Page **********************************
\renewcommand{\maketitle}{
\renewcommand{\maketitle}{
% To compute the free vertical space in Title page
% To compute the free vertical space in Title page
\computeTitlePageSpacing
\computeTitlePageSpacing
\begin{singlespace}
\begin{singlespace}
\begin{center}
\begin{center}
% Title
% Title
{\Huge \bfseries{\@title} \par}
{\Huge \bfseries{\@title} \par}
\vspace{.25\PHD@titlepagespacing}
\vspace{.25\PHD@titlepagespacing}
% Crest
% Crest
{\@crest \par}
{\@crest \par}
\vspace{.2\PHD@titlepagespacing}
\vspace{.2\PHD@titlepagespacing}
% Author
% Author
{\Large \bfseries{\@author} \par}
{\Large \bfseries{\@author} \par}
\vspace*{1ex}
\vspace*{1ex}
% Department and University
% Department and University
{\large \@dept \par}
{\large \@dept \par}
\vspace*{1ex}
\vspace*{1ex}
{\large \@university \par}
{\large \@university \par}
\vspace{.2\PHD@titlepagespacing}
\vspace{.2\PHD@titlepagespacing}
% Submission Text
% Submission Text
{\large \submissiontext \par}
{\large \submissiontext \par}
\vspace*{1ex}
\vspace*{1ex}
{\large \it {\@degree} \par}
{\large \it {\@degree} \par}
\end{center}
\end{center}
\vfill
\vfill
\large
\large
\begin{minipage}{0.49\textwidth}
\begin{minipage}{0.49\textwidth}
\flushleft\hspace*{\oddsidemargin}\@college
\flushleft\hspace*{\oddsidemargin}\@college
\end{minipage}
\end{minipage}
\begin{minipage}{0.49\textwidth}
\begin{minipage}{0.49\textwidth}
\flushright \@degreedate
\flushright \@degreedate
\end{minipage}
\end{minipage}
\end{singlespace}
\end{singlespace}
}
}
% ********************************* Dedication *********************************
% ********************************* Dedication *********************************
% The dedication environment makes sure the dedication gets its
% The dedication environment makes sure the dedication gets its
% own page, centered
% own page, centered
\newenvironment{dedication}
\newenvironment{dedication}
{
{
\cleardoublepage
\cleardoublepage
\setsinglecolumn
\setsinglecolumn
\vspace*{0.2\textheight}
\vspace*{0.2\textheight}
\thispagestyle{empty}
\thispagestyle{empty}
\centering
\centering
}
}
% ******************************* Declaration **********************************
% ******************************* Declaration **********************************
% The declaration environment puts a large, bold, centered
% The declaration environment puts a large, bold, centered
% "Declaration" label at the top of the page.
% "Declaration" label at the top of the page.
\newenvironment{declaration}{
\newenvironment{declaration}{
\cleardoublepage
\cleardoublepage
\setsinglecolumn
\setsinglecolumn
\chapter*{\centering \Large Declaration}
\chapter*{\centering \Large Declaración}
\thispagestyle{empty}
\thispagestyle{empty}
}{
}{
\flushright
\flushright
\@author{}\\
\@author{}\\
\@degreedate{}
\@degreedate{}
\vfill
\vfill
}
}
% ****************************** Acknowledgements ********************************
% ****************************** Acknowledgements ********************************
% The acknowledgements environment puts a large, bold, centered
% The acknowledgements environment puts a large, bold, centered
% "Acknowledgements" label at the top of the page.
% "Acknowledgements" label at the top of the page.
\newenvironment{acknowledgements}{
\newenvironment{acknowledgements}{
\cleardoublepage
\cleardoublepage
\setsinglecolumn
\setsinglecolumn
\chapter*{\centering \Large Acknowledgements}
\chapter*{\centering \Large Agreadecimientos}
\thispagestyle{empty}
\thispagestyle{empty}
}
}
% ******************************* Nomenclature *********************************
% ******************************* Nomenclature *********************************
\usepackage{nomencl}
\usepackage{nomencl}
\makenomenclature
\makenomenclature
\renewcommand{\nomgroup}[1]{%
\renewcommand{\nomgroup}[1]{%
\ifthenelse{\equal{#1}{A}}{\item[\textbf{Roman Symbols}]}{%
\ifthenelse{\equal{#1}{A}}{\item[\textbf{Roman Symbols}]}{%
\ifthenelse{\equal{#1}{G}}{\item[\textbf{Greek Symbols}]}{%
\ifthenelse{\equal{#1}{G}}{\item[\textbf{Greek Symbols}]}{%
\ifthenelse{\equal{#1}{Z}}{\item[\textbf{Acronyms / Abbreviations}]}{%
\ifthenelse{\equal{#1}{Z}}{\item[\textbf{Acrónimos / Abreviaturas}]}{%
\ifthenelse{\equal{#1}{R}}{\item[\textbf{Superscripts}]}{%
\ifthenelse{\equal{#1}{R}}{\item[\textbf{Superscripts}]}{%
\ifthenelse{\equal{#1}{S}}{\item[\textbf{Subscripts}]}{%
\ifthenelse{\equal{#1}{S}}{\item[\textbf{Subscripts}]}{%
\ifthenelse{\equal{#1}{X}}{\item[\textbf{Other Symbols}]}
\ifthenelse{\equal{#1}{X}}{\item[\textbf{Other Symbols}]}
{}
{}
}% matches mathematical symbols > X
}% matches mathematical symbols > X
}% matches Subscripts           > S
}% matches Subscripts           > S
}% matches Superscripts         > R
}% matches Superscripts         > R
}% matches Abbreviations        > Z
}% matches Abbreviations        > Z
}% matches Greek Symbols        > G
}% matches Greek Symbols        > G
}% matches Roman Symbols        > A
}% matches Roman Symbols        > A
% To add nomenclature in the header
% To add nomenclature in the header
\renewcommand{\nompreamble}{\markboth{\nomname}{\nomname}}
\renewcommand{\nompreamble}{\markboth{\nomname}{\nomname}}
% Add nomenclature to contents and print out nomenclature
% Add nomenclature to contents and print out nomenclature
\newcommand{\printnomencl}[1][]{
\newcommand{\printnomencl}[1][]{
\ifthenelse{\equal {#1}{}}
\ifthenelse{\equal {#1}{}}
{\printnomenclature}
{\printnomenclature}
{\printnomenclature[#1]}
{\printnomenclature[#1]}
\addcontentsline{toc}{chapter}{\nomname}
\addcontentsline{toc}{chapter}{\nomname}
}
}
% ***************************** Create the index *******************************
% ***************************** Create the index *******************************
\ifPHD@index
\ifPHD@index
    \RequirePackage{makeidx}
    \RequirePackage{makeidx}
    \makeindex
    \makeindex
    \newcommand{\printthesisindex}{
    \newcommand{\printthesisindex}{
        \cleardoublepage
        \cleardoublepage
        \phantomsection
        \phantomsection
        \printindex}
        \printindex}
\else
\else
    \newcommand{\printthesisindex}{}
    \newcommand{\printthesisindex}{}
\fi
\fi
% ******************************** Abstract ************************************
% ******************************** Abstract ************************************
% The abstract environment puts a large, bold, centered "Abstract" label at
% The abstract environment puts a large, bold, centered "Abstract" label at
% the top of the page. Defines both abstract and separate abstract environment
% 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
% To include only the Title and the abstract pages for submission to BoGS
\ifPHD@abstract
\ifPHD@abstract
    \defineAbstracttrue
    \defineAbstracttrue
    % Disable the table of contents, figures, tables, index and nomenclature
    % Disable the table of contents, figures, tables, index and nomenclature
    \renewcommand{\tableofcontents}{}
    \renewcommand{\tableofcontents}{}
    \renewcommand{\listoffigures}{}
    \renewcommand{\listoffigures}{}
    \renewcommand{\listoftables}{}
    \renewcommand{\listoftables}{}
    \renewcommand{\printnomencl}{}
    \renewcommand{\printnomencl}{}
    \renewcommand{\printthesisindex}{}
    \renewcommand{\printthesisindex}{}
    \renewcommand{\bibname}{}
    \renewcommand{\bibname}{}
    \renewcommand{\bibliography}[1]{\thispagestyle{empty}}
    \renewcommand{\bibliography}[1]{\thispagestyle{empty}}
\else
\else
    \defineAbstractfalse
    \defineAbstractfalse
\fi
\fi
\newenvironment{abstract} {
\newenvironment{abstract} {
\ifPHD@abstract
\ifPHD@abstract
% Separate abstract as per Student Registry guidelines
% Separate abstract as per Student Registry guidelines
        \thispagestyle{empty}
        \thispagestyle{empty}
        \setsinglecolumn
        \setsinglecolumn
        \begin{center}
        \begin{center}
                { \Large {\bfseries {\@title}} \par}
                { \Large {\bfseries {\@title}} \par}
                {{\large \vspace*{1em} \@author} \par}
                {{\large \vspace*{1em} \@author} \par}
        \end{center}
        \end{center}
\else
\else
% Normal abstract in the thesis
% Normal abstract in the thesis
        \cleardoublepage
        \cleardoublepage
        \setsinglecolumn
        \setsinglecolumn
        \chapter*{\centering \Large Abstract}
        \chapter*{\centering \Large Resumen}
        \thispagestyle{empty}
        \thispagestyle{empty}
\fi
\fi
}
}
% ******************************** Line Spacing ********************************
% ******************************** Line Spacing ********************************
% Set spacing as 1.5 line spacing for the PhD Thesis
% Set spacing as 1.5 line spacing for the PhD Thesis
\onehalfspace
\onehalfspace
% ******************** To compute empty space in title page ********************
% ******************** To compute empty space in title page ********************
% Boxes below are used to space differt contents on the title page
% Boxes below are used to space differt contents on the title page
\newcommand{\computeTitlePageSpacing}{
\newcommand{\computeTitlePageSpacing}{
% Title Box
% Title Box
\newsavebox{\PHD@Title}
\newsavebox{\PHD@Title}
\begin{lrbox}{\PHD@Title}
\begin{lrbox}{\PHD@Title}
\begin{minipage}[c]{0.98\textwidth}
\begin{minipage}[c]{0.98\textwidth}
\centering \Huge \bfseries{\@title}
\centering \Huge \bfseries{\@title}
\end{minipage}
\end{minipage}
\end{lrbox}
\end{lrbox}
% University Crest Box
% University Crest Box
\newsavebox{\PHD@crest}
\newsavebox{\PHD@crest}
\begin{lrbox}{\PHD@crest}
\begin{lrbox}{\PHD@crest}
\@crest
\@crest
\end{lrbox}
\end{lrbox}
% Author Box
% Author Box
\newsavebox{\PHD@author}
\newsavebox{\PHD@author}
\begin{lrbox}{\PHD@author}
\begin{lrbox}{\PHD@author}
\begin{minipage}[c]{\textwidth}
\begin{minipage}[c]{\textwidth}
\centering \Large \bfseries{\@author}
\centering \Large \bfseries{\@author}
\end{minipage}
\end{minipage}
\end{lrbox}
\end{lrbox}
% Department Box
% Department Box
\newsavebox{\PHD@dept}
\newsavebox{\PHD@dept}
\begin{lrbox}{\PHD@dept}
\begin{lrbox}{\PHD@dept}
\begin{minipage}[c]{\textwidth}
\begin{minipage}[c]{\textwidth}
\centering {\large \@dept \par}
\centering {\large \@dept \par}
\vspace*{1ex}
\vspace*{1ex}
{\large \@university \par}
{\large \@university \par}
\end{minipage}
\end{minipage}
\end{lrbox}
\end{lrbox}
% Submission Box
% Submission Box
\newsavebox{\PHD@submission}
\newsavebox{\PHD@submission}
\begin{lrbox}{\PHD@submission}
\begin{lrbox}{\PHD@submission}
\begin{minipage}[c]{\textwidth}
\begin{minipage}[c]{\textwidth}
\begin{center}
\begin{center}
\large \submissiontext \par
\large \submissiontext \par
\vspace*{1ex}
\vspace*{1ex}
\large \it {\@degree} \par
\large \it {\@degree} \par
\end{center}
\end{center}
\end{minipage}
\end{minipage}
\end{lrbox}
\end{lrbox}
% College and Date Box
% College and Date Box
\newsavebox{\PHD@collegedate}
\newsavebox{\PHD@collegedate}
\begin{lrbox}{\PHD@collegedate}
\begin{lrbox}{\PHD@collegedate}
\begin{minipage}[c]{\textwidth}
\begin{minipage}[c]{\textwidth}
\large
\large
\begin{minipage}{0.45\textwidth}
\begin{minipage}{0.45\textwidth}
\flushleft\@college
\flushleft\@college
\end{minipage}
\end{minipage}
\begin{minipage}{0.45\textwidth}
\begin{minipage}{0.45\textwidth}
\flushright \@degreedate
\flushright \@degreedate
\end{minipage}
\end{minipage}
\end{minipage}
\end{minipage}
\end{lrbox}
\end{lrbox}
%  Now to compute the free vertical space
%  Now to compute the free vertical space
\newlength{\PHD@titlepagespacing}
\newlength{\PHD@titlepagespacing}
\setlength{\PHD@titlepagespacing}{ \textheight %
\setlength{\PHD@titlepagespacing}{ \textheight %
                        - \totalheightof{\usebox{\PHD@Title}}
                        - \totalheightof{\usebox{\PHD@Title}}
                        - \totalheightof{\usebox{\PHD@crest}}
                        - \totalheightof{\usebox{\PHD@crest}}
                        - \totalheightof{\usebox{\PHD@author}}
                        - \totalheightof{\usebox{\PHD@author}}
                        - \totalheightof{\usebox{\PHD@dept}}
                        - \totalheightof{\usebox{\PHD@dept}}
                        - \totalheightof{\usebox{\PHD@submission}}
                        - \totalheightof{\usebox{\PHD@submission}}
                        - \totalheightof{\usebox{\PHD@collegedate}}
                        - \totalheightof{\usebox{\PHD@collegedate}}
}
}
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.