Updated PageViewMode and Meta-data

This commit is contained in:
Krishna 2013-11-15 13:11:41 +00:00
parent 60539e0b78
commit ac22ffa8db
3 changed files with 23 additions and 17 deletions

View File

@ -62,13 +62,13 @@
\newcommand{\PrintVersion}{}
\ifx\PrintVersion\undefined
% For PDF Online version
\usepackage[pdftex, plainpages=false, pdfpagelabels, pdfpagelayout=useoutlines, bookmarks, bookmarksopen=true, bookmarksnumbered=true, breaklinks=true, linktocpage, pagebackref=false, colorlinks=true, linkcolor=blue, urlcolor=blue, citecolor=blue, anchorcolor=green, hyperindex=false, hyperfigures]{hyperref}
\usepackage[pdftex, plainpages=false, pdfpagelabels, pdfstartview=FitH, unicode=true, pdftoolbar=true, pdfmenubar=true, pdfpagelayout=useoutlines, bookmarks, bookmarksopen=true, bookmarksnumbered=true, breaklinks=true, linktocpage, pagebackref=false, colorlinks=true, linkcolor=blue, urlcolor=blue, citecolor=blue, anchorcolor=green, hyperindex=false, hyperfigures]{hyperref}
\if@twoside \usepackage[hmarginratio=1:1]{geometry} %Two sided margin
\else \usepackage[hmarginratio=1:1]{geometry} % Single side margin
\fi
\else
% For Print version
\usepackage[pdftex, plainpages=false, pdfpagelabels, pdfpagelayout=useoutlines, bookmarks, bookmarksopen=true, bookmarksnumbered=true, breaklinks=true, linktocpage, pagebackref=false, colorlinks=true, linkcolor=black, urlcolor=black, citecolor=black, anchorcolor=black, hyperindex=false, hyperfigures]{hyperref}
\usepackage[pdftex, plainpages=false, pdfpagelabels, pdfstartview=FitH, unicode=true, pdftoolbar=true, pdfmenubar=true, pdfpagelayout=useoutlines, bookmarks, bookmarksopen=true, bookmarksnumbered=true, breaklinks=true, linktocpage, pagebackref=false, colorlinks=true, linkcolor=black, urlcolor=black, citecolor=black, anchorcolor=black, hyperindex=false, hyperfigures]{hyperref}
\if@twoside \usepackage[hmarginratio=3:2]{geometry} %Two sided margin
\else \usepackage[hmarginratio=3:2]{geometry} % Single side margin
\fi
@ -113,6 +113,18 @@
\usepackage{siunitx}
% Setting PDF Meta-Data
\ifpdf
\AtBeginDocument{
\hypersetup{
pdftitle = {\@title},
pdfauthor = {\@author},
pdfsubject={\@subject},
pdfkeywords={\@keywords}
}
}
\fi
%***************** To copy ligatures and Fonts ********************* %
\usepackage{textcomp}
\usepackage[ansinew]{inputenc}
@ -191,6 +203,11 @@
\def\university#1{\gdef\@university{#1}}
% Defining the crest
\def\crest#1{\gdef\@crest{#1}}
% Defining the Subject
\def\subject#1{\gdef\@subject{#1}}
% Defining the Keywords
\def\keywords#1{\gdef\@keywords{#1}}
% These macros define an environment for front matter that is always

Binary file not shown.

View File

@ -5,21 +5,6 @@
%\PrintVersion
% PDF Metadata
\ifpdf
\pdfinfo { /Title (Multiscale Modelling of Granular Flows)
/Creator (TeX)
/Producer (pdfTeX)
/Author (Krishna Kumar, kks32@cam.ac.uk)
/CreationDate (D:20131113000000)
/ModDate (D:20131113121606)
/Subject (GeoMechanics)
/Keywords (Material Point Method, Lattice Boltzmann, Multiscale, Multiphase, Granular Flows)}
\pdfcatalog { /PageMode (/UseOutlines)
/OpenAction (fitbh) }
\fi
% Preamble
% Define a new 'leo' style for the url package that will use a smaller font.
\makeatletter
@ -38,6 +23,7 @@
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
% ***************************** Title ******************************************** %
% PhD Thesis Title, Author, Degree, etc
\title{Multiscale Modelling of Granular Flows}
@ -49,6 +35,9 @@
\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}}
%Set spacing
\onehalfspace