diff --git a/Appendix1/appendix1.tex b/Appendix1/appendix1.tex index 9e3df1f..c56dff0 100644 --- a/Appendix1/appendix1.tex +++ b/Appendix1/appendix1.tex @@ -1,3 +1,4 @@ +%!TEX root = ../thesis.tex % ******************************* Thesis Appendix A **************************** \chapter{How to install \LaTeX} diff --git a/Appendix2/appendix2.tex b/Appendix2/appendix2.tex index efd9738..b2f388c 100644 --- a/Appendix2/appendix2.tex +++ b/Appendix2/appendix2.tex @@ -1,3 +1,4 @@ +%!TEX root = ../thesis.tex % ******************************* Thesis Appendix B ******************************** \chapter{Installing the CUED class file} diff --git a/ChangeLog.md b/ChangeLog.md index 662ed68..ac5bb40 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,4 +1,12 @@ ## Change log +### 2016/03/19 - Version 2.3 +> Commit +* Fixes #118 and #119 on option processing and font sizes + +### 2016/10/20 - Version 2.2.2 +> Commit 7867b367fe6c9523461f5bcd91a8f4f5e92badb2 +* Fixes issue of non-centered style for advisors and supervisors + ### 2016/07/04 - Version 2.2.1 > Commit ef6e4394f3dd5a7442c2f48f3196d7d0a15d077f * Removed deprecated unused function romanpages defined in `preamble.tex`. diff --git a/Chapter1/chapter1.tex b/Chapter1/chapter1.tex index 1ed6da0..eb8c1cb 100644 --- a/Chapter1/chapter1.tex +++ b/Chapter1/chapter1.tex @@ -1,3 +1,4 @@ +%!TEX root = ../thesis.tex %******************************************************************************* %*********************************** First Chapter ***************************** %******************************************************************************* diff --git a/Chapter2/chapter2.tex b/Chapter2/chapter2.tex index 0c1e494..5781a74 100644 --- a/Chapter2/chapter2.tex +++ b/Chapter2/chapter2.tex @@ -1,3 +1,4 @@ +%!TEX root = ../thesis.tex %******************************************************************************* %****************************** Second Chapter ********************************* %******************************************************************************* diff --git a/Chapter3/chapter3.tex b/Chapter3/chapter3.tex index dd2920b..82b23c5 100644 --- a/Chapter3/chapter3.tex +++ b/Chapter3/chapter3.tex @@ -1,3 +1,7 @@ +%!TEX root = ../thesis.tex +%******************************************************************************* +%****************************** Third Chapter ********************************** +%******************************************************************************* \chapter{My third chapter} % **************************** Define Graphics Path ************************** diff --git a/Classes/PhDThesisPSnPDF.cls b/Classes/PhDThesisPSnPDF.cls index e12d498..d9393fb 100644 --- a/Classes/PhDThesisPSnPDF.cls +++ b/Classes/PhDThesisPSnPDF.cls @@ -843,6 +843,10 @@ wish to left align your text} \newcommand{\@supervisorrole}{Supervisor: } \newcommand{\supervisorrole}[1]{\renewcommand{\@supervisorrole}{#1}} +% Supervisor width to align +\newcommand{\@supervisorlinewidth}{0.35\textwidth} +\newcommand{\supervisorlinewidth}[1]{\renewcommand{\@supervisorlinewidth}{#1}} + % Advisor \newif\ifPHD@advisor\PHD@advisorfalse \newcommand{\@advisor}{} @@ -852,6 +856,10 @@ wish to left align your text} \newcommand{\@advisorrole}{Advisor: } \newcommand{\advisorrole}[1]{\renewcommand{\@advisorrole}{#1}} +% Advisor width to align +\newcommand{\@advisorlinewidth}{0.25\textwidth} +\newcommand{\advisorlinewidth}[1]{\renewcommand{\@advisorlinewidth}{#1}} + % Submission Text \newcommand{\submissiontext}{This dissertation is submitted for the degree of } @@ -1152,7 +1160,12 @@ wish to left align your text} \ifthenelse{\equal{\@supervisor}{}}{ % supervisor is not defined }{ - \centering \Large {\@supervisorrole \@supervisor} + \begin{center} + \makebox[\widthof{supervisorrole} + \@supervisorlinewidth][c]{ + \Large + \@supervisorrole \parbox[t]{\@supervisorlinewidth}{\@supervisor} + } + \end{center} \vspace{0.5em} } % supervisor is defined \end{minipage} @@ -1165,7 +1178,12 @@ wish to left align your text} \ifthenelse{\equal{\@advisor}{}}{ % advisor is not defined }{ - \centering \Large {\@advisorrole \@advisor} + \begin{center} + \makebox[\widthof{advisorrole} + \@advisorlinewidth][c]{ + \Large + \@advisorrole \parbox[t]{\@advisorlinewidth}{\@advisor} + } + \end{center} \vspace{0.5em} } % advisor is defined \end{minipage} diff --git a/thesis-info.tex b/thesis-info.tex index b4fdc91..1f42364 100644 --- a/thesis-info.tex +++ b/thesis-info.tex @@ -29,28 +29,30 @@ %% Supervisor (optional) %% for multiple supervisors, append each supervisor with the \newline command -%\supervisor{\textbf{Prof. A.B. Supervisor\newline -%Prof. C.D. Supervisor\newline -%Prof. E.F. Supervisor\newline -%Prof. G.H. Supervisor}} +%\supervisor{Prof. A.B. Supervisor\newline +%Prof. C.D. Supervisor} %% Supervisor Role (optional) - Supervisor (default) or advisor % \supervisorrole{\textbf{Supervisors: }} %% if no title is desired: % \supervisorrole{} +%% Supervisor line width: required to align supervisors +%\supervisorlinewidth{0.35\textwidth} + %% Advisor (optional) %% for multiple advisors, append each advisor with the \newline command -%\advisor{Advisor 1\newline -%Advisors 2\newline -%Advisor 3\newline -%Advisor 4} +%\advisor{Dr. A. Advisor\newline +%Dr. B. Advisor} %% Advisor Role (optional) - Advisor (default) or leave empty % \advisorrole{Advisors: } %% if no title is required % \advisorrole{} +%% Advisor line width: required to align supervisors +%\advisorlinewidth{0.25\textwidth} + %% You can redefine the submission text: % Default as per the University guidelines: diff --git a/thesis.pdf b/thesis.pdf index 6d5dd60..6b05506 100644 Binary files a/thesis.pdf and b/thesis.pdf differ