Merge pull request #17 from kks32/16-degreedate
degree date is centered, when college is undefined - tested ok.
This commit is contained in:
commit
8da8b09d79
@ -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}
|
||||||
|
|
||||||
|
BIN
thesis.pdf
BIN
thesis.pdf
Binary file not shown.
Loading…
Reference in New Issue
Block a user