All preamble \usepackage in class file

This commit is contained in:
Krishna 2013-11-15 14:15:34 +00:00
parent ac22ffa8db
commit 18f1000dd7
3 changed files with 31 additions and 38 deletions

View File

@ -75,6 +75,9 @@
\fi
\usepackage{url}
\def\url@leostyle{%
\@ifundefined{selectfont}{\def\UrlFont{\sf}}{\def\UrlFont{\small\ttfamily}}}
\urlstyle{leo}
% Graphics and Figures
\usepackage[usenames, dvipsnames]{color}
@ -112,6 +115,20 @@
\usepackage{amssymb}
\usepackage{siunitx}
%To copy ligatures and Fonts
\usepackage{textcomp}
\usepackage[ansinew]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{libertine}
\input{glyphtounicode}
\pdfglyphtounicode{f_f}{FB00}
\pdfglyphtounicode{f_f_i}{FB03}
\pdfglyphtounicode{f_f_l}{FB04}
\pdfglyphtounicode{f_i}{FB01}
\pdfgentounicode=1
%******************************************************* %
% Setting PDF Meta-Data
\ifpdf
@ -125,18 +142,16 @@
}
\fi
%***************** To copy ligatures and Fonts ********************* %
\usepackage{textcomp}
\usepackage[ansinew]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{libertine}
\input{glyphtounicode}
\pdfglyphtounicode{f_f}{FB00}
\pdfglyphtounicode{f_f_i}{FB03}
\pdfglyphtounicode{f_f_l}{FB04}
\pdfglyphtounicode{f_i}{FB01}
\pdfgentounicode=1
%******************************************************* %
% Clear Header Style on the Last Empty Odd pages
%\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else%
\hbox{}%
\thispagestyle{empty}% % Empty header styles
\newpage%
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
%\makeatother
% Nomenclature

Binary file not shown.

View File

@ -2,27 +2,7 @@
%Enable Print or Online version for appropriate referencing styles and links, and page layout support for both oneside and twoside layout especially for binding (comment line below to use Online version)
%\PrintVersion
% Preamble
% Define a new 'leo' style for the url package that will use a smaller font.
\makeatletter
\def\url@leostyle{%
\@ifundefined{selectfont}{\def\UrlFont{\sf}}{\def\UrlFont{\small\ttfamily}}}
\makeatother
\urlstyle{leo}
% Clear Header Style on the Last Empty Odd pages
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else%
\hbox{}%
\thispagestyle{empty}% % Empty header styles
\newpage%
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
\PrintVersion
% ***************************** Title ******************************************** %
% PhD Thesis Title, Author, Degree, etc
@ -35,17 +15,15 @@
\degree{Doctor of Philosophy}
\college{King's College}
\degreedate{Yet to be decided}
\subject{GeoMechanics}
\keywords{{Material Point Method} {Lattice Boltzmann} {Multi-scale} {Multiphase} {Granular Flows}}
\subject{GeoMechanics} %To fill PDF metadata
\keywords{{Material Point Method} {Lattice Boltzmann} {Multi-scale} {Multiphase} {Granular Flows}} %To fill PDF metadata
%Set spacing
\onehalfspace
%start
\begin{document}
%**************************Front Matter********************************************* %
\begin{document}
\frontmatter