Fixes 118 font size processing

This commit is contained in:
Krishna Kumar 2017-03-19 10:01:49 +00:00
parent 7867b367fe
commit cb137ec2c0
3 changed files with 17 additions and 24 deletions

View File

@ -174,23 +174,17 @@
and recompile. Good luck with your writing!}
}
\ProcessOptions\relax%
% *************************** Pre-defined Options ******************************
% Font Size
\newcommand\PHD@ptsize{12pt} %Set Default Size as 12
\DeclareOption{10pt}{
\ClassWarning{PhDThesisPSnPDF}{The University of Cambridge PhD thesis guidelines
recommend using a minimum font size of 11pt (12pt is preferred) and 10pt for
footnotes.}
\renewcommand\PHD@ptsize{10pt}
\DeclareOption{11pt}{\PassOptionsToClass{10pt}{book}}%
}
\DeclareOption{11pt}{\renewcommand\PHD@ptsize{11pt}}%
\DeclareOption{12pt}{\renewcommand\PHD@ptsize{12pt}}%
\PassOptionsToClass{\PHD@ptsize}{book}%
\message{PhDThesisPSnPDF: Font size is set as \PHD@ptsize}
\DeclareOption{11pt}{\PassOptionsToClass{11pt}{book}}%
\DeclareOption{12pt}{\PassOptionsToClass{12pt}{book}}%
% Page Size
\newcommand\PHD@papersize{a4paper} % Set Default as a4paper
@ -245,20 +239,19 @@ supported!}
% Determine whether to run pdftex or dvips
\ProcessOptions\relax%
\LoadClass{book}%
\newif\ifsetDVI\setDVIfalse
\ifx\pdfoutput\undefined
% we are not running PDFLaTeX
\setDVItrue
\LoadClass[dvips,fleqn,openright]{book}%
\else % we are running PDFLaTeX
\ifnum \pdfoutput>0
%PDF-Output
\setDVIfalse
\LoadClass[pdftex,fleqn,openright]{book}%
\else
%DVI-output
\setDVItrue
\LoadClass[fleqn,openright]{book}%
\fi
\fi
@ -625,13 +618,13 @@ supported!}
\ifsetDVI
\special{papersize=\the\paperwidth,\the\paperheight}
\RequirePackage[unicode=true]{hyperref} % extra option dvips
\else
\RequirePackage[unicode=true]{hyperref}
\pdfpagewidth=\the\paperwidth
\pdfpageheight=\the\paperheight
\fi
\RequirePackage[unicode=true]{hyperref}
\if@print
% For Print version
\hypersetup{

Binary file not shown.

View File

@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.995 Copyright 2015 Radical Eye Software
%%Creator: dvips(k) 5.996 Copyright 2016 Radical Eye Software
%%Title: thesis.dvi
%%CreationDate: Thu Sep 8 07:54:05 2016
%%CreationDate: Sun Mar 19 10:01:21 2017
%%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 2016.09.08:0754
%DVIPSSource: TeX output 2017.03.19:1001
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
@ -4494,9 +4494,9 @@ rf /Fu 27[44 40[50 36[50 35 44 44 21[48 1[48 44 50 50
rf /Fv 134[53 4[33 47 47 1[60 60 2[33 2[33 60 1[33 2[53
18[73 11[86 68[{ TeXBase1Encoding ReEncodeFont }13 119.552
/NimbusRomNo9L-ReguItal rf /Fw 134[60 2[60 60 33 47 40
1[60 60 60 93 33 2[33 60 60 40 53 60 1[60 53 11[86 73
66 7[86 5[73 86 80 12[60 3[60 60 60 8[40 39[{
TeXBase1Encoding ReEncodeFont }31 119.552 /NimbusRomNo9L-Regu
1[60 60 60 93 33 2[33 60 60 40 53 60 53 60 53 11[86 73
6[106 1[86 5[73 86 80 11[60 4[60 60 60 8[40 39[{
TeXBase1Encoding ReEncodeFont }32 119.552 /NimbusRomNo9L-Regu
rf /Fx 133[64 72 72 104 1[80 48 56 64 1[80 72 80 120
40 80 1[40 80 72 48 64 80 64 80 72 8[104 143 1[104 96
80 104 2[112 1[135 96 112 1[56 112 1[88 96 104 104 1[104
@ -6458,8 +6458,8 @@ Black Black 1285 3404 a Fw(Department)d(of)e(Engineering)1344
Black Black 826 4265 a(This)h(dissertation)f(is)g(submitted)h(for)f
(the)h(de)n(gree)g(of)1422 4444 y Fv(Doctor)g(of)g(Philosophy)p
Black Black Black Black 123 5426 a Fw(King')-7 b(s)30
b(Colle)n(ge)p Black Black 2090 w(September)h(2016)p
Black Black Black eop end end
b(Colle)n(ge)p Black Black 2296 w(March)f(2017)p Black
Black Black eop end end
%%Page: 2 2
TeXDict begin HPSdict begin 2 1 bop 0 0 a
SDict begin /product where{pop product(Distiller)search{pop pop pop
@ -6543,8 +6543,8 @@ Fu(I)37 b(hereby)g(declare)h(that)e(e)o(xcept)g(where)i(speci\002c)f
n(wer)h(than)g(65,000)f(w)o(ords)g(including)f(appendices,)j
(bibliography)-6 b(,)31 b(footnotes,)123 2375 y(tables)25
b(and)g(equations)e(and)i(has)g(fe)n(wer)g(than)f(150)h(\002gures.)p
Black Black 3142 2627 a(Krishna)f(K)o(umar)3105 2772
y(September)h(2016)p Black Black eop end end
Black Black 3142 2627 a(Krishna)f(K)o(umar)3276 2772
y(March)h(2017)p Black Black eop end end
%%Page: 6 6
TeXDict begin HPSdict begin 6 5 bop 0 0 a
SDict begin /product where{pop product(Distiller)search{pop pop pop