Latin Modern (default)

This commit is contained in:
Krishna Kumar 2013-11-19 01:34:28 +00:00
parent 83cb26387c
commit f744eb8a51
6 changed files with 13 additions and 15 deletions

View File

@ -1,7 +1,7 @@
\chapter{My Second Chapter}
\section[Short title]{Reasonably Long Section Title}
Email ID of Krishna Kumar \href{mailto:kks32@cam.ac.uk}{kks32@cam.ac.uk}. The SI Units for dynamic viscosity is \si{\newton\second\per\metre\squared}. I'm going to randomly include a picture~\cref{fig:minion}
Contact Krishna Kumar, Email ID: \href{mailto:kks32@cam.ac.uk}{kks32@cam.ac.uk}. The SI Units for dynamic viscosity is \si{\newton\second\per\metre\squared}. I'm going to randomly include a picture~\cref{fig:minion}
\begin{figure}[htbp!]

View File

@ -34,6 +34,8 @@
\DeclareOption{index}{\CU@indextrue}
% ************************** Font Option *************************
%\newif\ifCU@setfont\CU@setfontfalse
\newif\ifCU@times\CU@timesfalse % Times with Math Support
\DeclareOption{times}{\CU@timestrue}
@ -182,11 +184,11 @@
\RequirePackage[ansinew]{inputenc}
\RequirePackage[T1]{fontenc}
% Times
% Font Selection
\ifCU@times
\RequirePackage{mathptmx} % times roman, including math (where possible)
\else
\RequirePackage{mathpazo} % palatino, including math (where possible)
\RequirePackage{lmodern} % LatinModern as Default with math (where possible)
\fi
\input{glyphtounicode}
@ -394,9 +396,7 @@
% ******************************** Declaration **********************************
% The declaration environment puts a large, bold, centered
% "Declaration" label at the top of the page. The acknowledgements
% themselves appear in a quote environment, i.e. tabbed in at both sides, and
% on its own page.
% "Declaration" label at the top of the page.
\newenvironment{declaration}{
\cleardoublepage
@ -409,9 +409,7 @@
% ******************************* Acknowlegments *********************************
% The acknowledgements environment puts a large, bold, centered
% "Acknowledgements" label at the top of the page. The acknowledgements
% themselves appear in a quote environment, i.e. tabbed in at both sides, and
% on its own page.
% "Acknowledgements" label at the top of the page.
\newenvironment{acknowledgements}{
\cleardoublepage
@ -423,8 +421,7 @@
% ******************************** Abstract ***********************************
% The abstract environment puts a large, bold, centered "Abstract" label at
% the top of the page. The abstract itself appears in a quote environment,
% i.e. tabbed in at both sides, and on its own page.
% the top of the page.
\newenvironment{abstract} {
\cleardoublepage

View File

@ -46,7 +46,6 @@
% \usepackage{libertine} % Linux Libertine Font - no Math support
% *****************************************************************************
% *************************** Bibliography and References ********************
\usepackage{cleveref} %Referencing without need to explicitly state fig /table

View File

@ -62,11 +62,11 @@ It also supports some custom options:
### Choosing the Fonts:
`PhDThesisPSnPDF` currently supports two fonts `Times` and `Palatino (default)`.
`PhDThesisPSnPDF` currently supports two fonts `Times` and `Latin Modern (default)`.
* `times`: Specifying times option in the document class will use `mathptpx` or `Times` font with Math Support.
* `default (empty)`: When no font is specified, `Palatino` is used as default font with Math Support.
* `default (empty)`: When no font is specified, `Latin Modern` is used as the default font with Math Support.
## Custom Settings
@ -145,3 +145,5 @@ You can run the following command:
* Support custom margins
* Headheight should be fixed according to the fontsize used!
* User should be able to set required font in preamble

Binary file not shown.

View File

@ -1,4 +1,4 @@
\documentclass[a4paper,times,12pt,twoside,printmode,index]{Classes/PhDThesisPSnPDF}
\documentclass[a4paper,12pt,twoside,printmode,index]{Classes/PhDThesisPSnPDF}
% ********************************* Preamble **********************************
% Preamble: Contains packages and user-defined commands and settings