Merge pull request #17 from kks32/16-degreedate

degree date is centered, when college is undefined - tested ok.
This commit is contained in:
Krishna Kumar 2014-07-08 15:13:08 +01:00
commit 8da8b09d79
3 changed files with 4619 additions and 1837 deletions

View File

@ -255,7 +255,7 @@ supported!}
\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} % conditional statements
\RequirePackage{ifpdf} % Check for pdfLaTeX \RequirePackage{ifpdf} % Check for pdfLaTeX
@ -852,12 +852,21 @@ wish to left align your text}
\end{center} \end{center}
\vfill \vfill
\large \large
\begin{minipage}{0.49\textwidth} \begin{minipage}[c]{\textwidth}
\flushleft\hspace*{\oddsidemargin}\@college \ifthenelse{\equal{\@college}{}}{
% college is not defined
\centering
\@degreedate
}{
% college is defined
\begin{minipage}{0.45\textwidth}
\flushleft\@college
\end{minipage} \end{minipage}
\begin{minipage}{0.49\textwidth} \begin{minipage}{0.45\textwidth}
\flushright \@degreedate \flushright \@degreedate
\end{minipage} \end{minipage}
} % college is defined
\end{minipage}
\end{singlespace} \end{singlespace}
} }
@ -1065,12 +1074,18 @@ wish to left align your text}
\begin{lrbox}{\PHD@collegedate} \begin{lrbox}{\PHD@collegedate}
\begin{minipage}[c]{\textwidth} \begin{minipage}[c]{\textwidth}
\large \large
\ifthenelse{\equal{\@college}{}}{
% college is not defined
\@degreedate
}{
% college is defined
\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}
} % college is defined
\end{minipage} \end{minipage}
\end{lrbox} \end{lrbox}

Binary file not shown.

6433
thesis.ps

File diff suppressed because it is too large Load Diff