Title page alignment issue fixed

This commit is contained in:
Krishna Kumar 2014-12-21 19:07:06 +00:00
parent fb300be1d0
commit 427230cae0
4 changed files with 64 additions and 61 deletions

View File

@ -207,7 +207,8 @@ footnotes.}
\PassOptionsToClass{\PHD@papersize}{book}%
% Column layout
\DeclareOption{oneside}{\PassOptionsToClass{\CurrentOption}{book}}%
\newif\if@oneside\@onesidefalse
\DeclareOption{oneside}{\PassOptionsToClass{\CurrentOption}{book}\@onesidetrue}%
\DeclareOption{twoside}{\PassOptionsToClass{\CurrentOption}{book}}%
% Draft Mode
@ -896,6 +897,7 @@ wish to left align your text}
% Fix issue of title page having same number as the next page in oneside option
% Issue #24 https://github.com/kks32/phd-thesis-template/issues/24
\if@oneside
\renewenvironment{titlepage} % changed from "newenvironment"
{%
\begingroup
@ -904,10 +906,11 @@ wish to left align your text}
\else
\@restonecolfalse\newpage
\fi
\thispagestyle{empty}
\setcounter{page}\z@
\thispagestyle{empty}
\setcounter{page}\z@
}%
{
\if@restonecol
\twocolumn
\else
@ -917,7 +920,7 @@ wish to left align your text}
\clearpage
\addtocounter{page}{1}
}
\fi
% ******************************** Title Page **********************************
\renewcommand{\maketitle}{
@ -972,10 +975,10 @@ wish to left align your text}
\@degreedate
}{
% college is defined
\begin{minipage}[b]{0.49\textwidth}
\begin{minipage}[b]{0.45\textwidth}
\flushleft\@college
\end{minipage}
\begin{minipage}[b]{0.49\textwidth}
\begin{minipage}[b]{0.45\textwidth}
\flushright\@degreedate
\end{minipage}
} % end-if- college is defined

View File

@ -191,5 +191,3 @@
%\fi
% Example todo: \mynote{Hey! I have a note}

Binary file not shown.

108
thesis.ps
View File

@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.994 Copyright 2014 Radical Eye Software
%%Title: thesis.dvi
%%CreationDate: Sun Dec 21 16:00:17 2014
%%CreationDate: Sun Dec 21 18:54:03 2014
%%Pages: 41
%%PageOrder: Ascend
%%BoundingBox: 0 0 596 842
@ -13,7 +13,7 @@
%DVIPSWebPage: (www.radicaleye.com)
%DVIPSCommandLine: dvips -z -o thesis.ps.temp -ta4 thesis.dvi
%DVIPSParameters: dpi=600
%DVIPSSource: TeX output 2014.12.21:1600
%DVIPSSource: TeX output 2014.12.21:1854
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
@ -4536,8 +4536,8 @@ HPSdict begin
end targetdump-hook def end
TeXDict begin
%%EndSetup
%%Page: 0 1
TeXDict begin HPSdict begin 0 0 bop 0 0 a
%%Page: 1 1
TeXDict begin HPSdict begin 1 0 bop 0 0 a
SDict begin [/Producer (dvips + Distiller)/Title ()/Subject ()/Creator
(LaTeX with hyperref package)/Author ()/Keywords () /DOCINFO pdfmark
end
@ -4547,102 +4547,104 @@ version(.)search{exch pop exch pop(3011)eq{gsave newpath 0 0 moveto
closepath clip/Courier findfont 10 scalefont setfont 72 72 moveto(.)show
grestore}if}{pop}ifelse}{pop}ifelse}if end
0 0 a 0 TeXcolorgray -3 4 a
0 0 a 0 TeXcolorgray 115 4 a
SDict begin H.S end
-3 4 a -3 4 a
115 4 a 115 4 a
SDict begin H.R end
-3 4 a -3 4
a
115 4 a
115 4 a
SDict begin [/View [/XYZ H.V]/Dest (page.i) cvn /DEST pdfmark end
-3 4 a Black Black Black 5 298 a
115 4 a Black Black Black 123 298 a
SDict begin [/Count 0/Dest (Contents.0) cvn/Title (\376\377\000T\000a\000b\000l\000e\000\040\000o\000f\000\040\000c\000o\000n\000t\000e\000n\000t\000s)
/OUT pdfmark end
5 298 a 5 298 a
123 298 a
123 298 a
SDict begin [/Count 0/Dest (chapter*.5) cvn/Title (\376\377\000L\000i\000s\000t\000\040\000o\000f\000\040\000f\000i\000g\000u\000r\000e\000s)
/OUT pdfmark end
5
298 a 5 298 a
123 298 a 123 298 a
SDict begin [/Count 0/Dest (chapter*.6) cvn/Title (\376\377\000L\000i\000s\000t\000\040\000o\000f\000\040\000t\000a\000b\000l\000e\000s)
/OUT pdfmark end
5 298 a 5 298 a
123 298 a 123 298 a
SDict begin [/Count 0/Dest (chapter*.7) cvn/Title (\376\377\000N\000o\000m\000e\000n\000c\000l\000a\000t\000u\000r\000e)
/OUT pdfmark end
5 298 a 5 298 a
123
298 a 123 298 a
SDict begin [/Count 3/Dest (chapter.1) cvn/Title (\376\377\0001\000\040\000G\000e\000t\000t\000i\000n\000g\000\040\000s\000t\000a\000r\000t\000e\000d)
/OUT pdfmark end
5 298 a
5 298 a
123 298 a 123 298 a
SDict begin [/Count 0/Dest (section.1.1) cvn/Title (\376\377\0001\000.\0001\000\040\000W\000h\000a\000t\000\040\000i\000s\000\040\000l\000o\000r\000e\000n\000\040\000i\000p\000s\000u\000m\000?\000\040\000T\000i\000t\000l\000e\000\040\000w\000i\000t\000h\000\040\000m\000a\000t\000h\000\040\000[\000s\000i\000g\000m\000a\000])
/OUT pdfmark end
5 298 a 5 298 a
123 298 a 123 298
a
SDict begin [/Count 0/Dest (section.1.2) cvn/Title (\376\377\0001\000.\0002\000\040\000W\000h\000y\000\040\000d\000o\000\040\000w\000e\000\040\000u\000s\000e\000\040\000l\000o\000r\000e\000n\000\040\000i\000p\000s\000u\000m\000?)
/OUT pdfmark end
5 298 a 5 298 a
123 298 a 123 298 a
SDict begin [/Count 0/Dest (section.1.3) cvn/Title (\376\377\0001\000.\0003\000\040\000W\000h\000e\000r\000e\000\040\000d\000o\000e\000s\000\040\000i\000t\000\040\000c\000o\000m\000e\000\040\000f\000r\000o\000m\000?)
/OUT pdfmark end
5 298 a 5 298
a
123 298 a 123 298 a
SDict begin [/Count 1/Dest (chapter.2) cvn/Title (\376\377\0002\000\040\000M\000y\000\040\000s\000e\000c\000o\000n\000d\000\040\000c\000h\000a\000p\000t\000e\000r)
/OUT pdfmark end
5 298 a 5 298 a
123 298 a 123
298 a
SDict begin [/Count 0/Dest (section.2.1) cvn/Title (\376\377\0002\000.\0001\000\040\000S\000h\000o\000r\000t\000\040\000t\000i\000t\000l\000e)
/OUT pdfmark end
5 298 a 5 298 a
123 298 a 123 298 a
SDict begin [/Count 3/Dest (chapter.3) cvn/Title (\376\377\0003\000\040\000M\000y\000\040\000t\000h\000i\000r\000d\000\040\000c\000h\000a\000p\000t\000e\000r)
/OUT pdfmark end
5 298 a 5 298 a
123 298 a 123 298 a
SDict begin [/Count 3/Dest (section.3.1) cvn/Title (\376\377\0003\000.\0001\000\040\000F\000i\000r\000s\000t\000\040\000s\000e\000c\000t\000i\000o\000n\000\040\000o\000f\000\040\000t\000h\000e\000\040\000t\000h\000i\000r\000d\000\040\000c\000h\000a\000p\000t\000e\000r)
/OUT pdfmark end
5 298
a 5 298 a
123 298
a 123 298 a
SDict begin [/Count 0/Dest (subsection.3.1.1) cvn/Title (\376\377\0003\000.\0001\000.\0001\000\040\000F\000i\000r\000s\000t\000\040\000s\000u\000b\000s\000e\000c\000t\000i\000o\000n\000\040\000i\000n\000\040\000t\000h\000e\000\040\000f\000i\000r\000s\000t\000\040\000s\000e\000c\000t\000i\000o\000n)
/OUT pdfmark end
5 298 a 5 298 a
123 298 a 123 298 a
SDict begin [/Count 0/Dest (subsection.3.1.2) cvn/Title (\376\377\0003\000.\0001\000.\0002\000\040\000S\000e\000c\000o\000n\000d\000\040\000s\000u\000b\000s\000e\000c\000t\000i\000o\000n\000\040\000i\000n\000\040\000t\000h\000e\000\040\000f\000i\000r\000s\000t\000\040\000s\000e\000c\000t\000i\000o\000n)
/OUT pdfmark end
5 298 a 5 298 a
123 298 a 123 298 a
SDict begin [/Count 0/Dest (subsection.3.1.3) cvn/Title (\376\377\0003\000.\0001\000.\0003\000\040\000T\000h\000i\000r\000d\000\040\000s\000u\000b\000s\000e\000c\000t\000i\000o\000n\000\040\000i\000n\000\040\000t\000h\000e\000\040\000f\000i\000r\000s\000t\000\040\000s\000e\000c\000t\000i\000o\000n)
/OUT pdfmark end
5 298 a 5 298
a
123
298 a 123 298 a
SDict begin [/Count 0/Dest (section.3.2) cvn/Title (\376\377\0003\000.\0002\000\040\000S\000e\000c\000o\000n\000d\000\040\000s\000e\000c\000t\000i\000o\000n\000\040\000o\000f\000\040\000t\000h\000e\000\040\000t\000h\000i\000r\000d\000\040\000c\000h\000a\000p\000t\000e\000r)
/OUT pdfmark end
5 298 a 5 298 a
123 298 a 123 298 a
SDict begin [/Count 0/Dest (section.3.3) cvn/Title (\376\377\0003\000.\0003\000\040\000T\000h\000e\000\040\000l\000a\000y\000o\000u\000t\000\040\000o\000f\000\040\000f\000o\000r\000m\000a\000l\000\040\000t\000a\000b\000l\000e\000s)
/OUT pdfmark end
5 298 a 5 298 a
123 298 a 123 298
a
SDict begin [/Count 0/Dest (chapter*.20) cvn/Title (\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000e\000s)
/OUT pdfmark end
5 298 a 5 298 a
123 298 a 123 298 a
SDict begin [/Count 0/Dest (Appendix.a.A) cvn/Title (\376\377\000A\000p\000p\000e\000n\000d\000i\000x\000\040\000A\000\040\000H\000o\000w\000\040\000t\000o\000\040\000i\000n\000s\000t\000a\000l\000l\000\040\000L\000a\000T\000e\000X)
/OUT pdfmark end
5 298
a 5 298 a
123 298 a 123 298 a
SDict begin [/Count 0/Dest (Appendix.a.B) cvn/Title (\376\377\000A\000p\000p\000e\000n\000d\000i\000x\000\040\000B\000\040\000I\000n\000s\000t\000a\000l\000l\000i\000n\000g\000\040\000t\000h\000e\000\040\000C\000U\000E\000D\000\040\000c\000l\000a\000s\000s\000\040\000f\000i\000l\000e)
/OUT pdfmark end
5 298 a 5 298 a
123 298 a 123
298 a
SDict begin [/Count 0/Dest (section*.37) cvn/Title (\376\377\000I\000n\000d\000e\000x)
/OUT pdfmark end
5 298 a 5 298 a
123 298 a 123 298 a
SDict begin [/PageMode /UseOutlines/Page 1/View [/FitV] /DOCVIEW pdfmark
end
5 298 a 5 298
a
123 298 a 123 298 a
SDict begin [ {Catalog}<</PageLayout/TwoPageRight>> /PUT pdfmark end
5 298 a 5 298 a
123 298
a 123 298 a
SDict begin H.S end
5 298 a 5 298 a
123 298 a 123 298 a
SDict begin 17.39995 H.A end
5 298 a 5 298 a
123 298 a 123 298 a
SDict begin [/View [/XYZ H.V]/Dest (Doc-Start) cvn /DEST pdfmark end
5 298
a 5 298 a
123
298 a 123 298 a
SDict begin [ {Catalog} <</PageLabels<</Nums[0<</P(\376\377\000i)>>1<</S/r
/St 2>>18<</S/D>>]>>>> /PUT pdfmark end
5 298 a Black Black 636 440 a Fz(Writing)52
b(y)-5 b(our)51 b(PhD)h(thesis)g(in)1474 689 y(L)1538
646 y Fy(A)1610 689 y Fz(T)1714 737 y(E)1825 689 y(X2e)1048
971 y Fx(Using)35 b(the)g(CUED)f(template)1367 2736 y
123 298 a Black Black 754 440 a Fz(Writing)52
b(y)-5 b(our)51 b(PhD)h(thesis)g(in)1592 689 y(L)1656
646 y Fy(A)1728 689 y Fz(T)1832 737 y(E)1943 689 y(X2e)1166
971 y Fx(Using)35 b(the)g(CUED)f(template)1485 2736 y
@beginspecial 0 @llx -1 @lly 59 @urx 68 @ury 1089 @rwi
@setspecial
%%BeginDocument: Figs/University_Crest.eps
@ -6462,12 +6464,12 @@ end restore
%%EOF
%%EndDocument
@endspecial 1332 3449 a Fy(Krishna)g(K)n(umar)1167 3742
y Fw(Department)c(of)g(Engineering)1226 3956 y(Uni)m(v)n(ersity)g(of)f
(Cambridge)706 4636 y(This)h(dissertation)f(is)g(submitted)h(for)f(the)
h(de)n(gree)g(of)1304 4850 y Fv(Doctor)g(of)g(Philosophy)p
Black Black 152 5410 a Fw(King')-7 b(s)29 b(Colle)n(ge)p
Black Black 2103 w(December)i(2014)p Black Black eop
@endspecial 1450 3449 a Fy(Krishna)g(K)n(umar)1285 3742
y Fw(Department)d(of)e(Engineering)1344 3956 y(Uni)m(v)n(ersity)h(of)f
(Cambridge)824 4636 y(This)h(dissertation)f(is)h(submitted)f(for)g(the)
h(de)n(gree)g(of)1422 4850 y Fv(Doctor)g(of)g(Philosophy)p
Black Black 270 5534 a Fw(King')-7 b(s)29 b(Colle)n(ge)p
Black Black 1820 w(December)h(2014)p Black Black eop
end end
%%Page: 2 2
TeXDict begin HPSdict begin 2 1 bop 0 0 a