DVI/PS support
This commit is contained in:
parent
88ded30cea
commit
2dd78423e4
@ -4,6 +4,13 @@
|
||||
|
||||
\chapter{Background} %Title of the First Chapter
|
||||
|
||||
\ifpdf
|
||||
\graphicspath{{Chapter1/Figs/Raster/}{Chapter1/Figs/PDF/}{Chapter1/Figs/}}
|
||||
\else
|
||||
\graphicspath{{Chapter1/Figs/Vector/}{Chapter1/Figs/}}
|
||||
\fi
|
||||
|
||||
|
||||
%********************************** %First Section **************************************
|
||||
\section{What is Loren Ipsum? Title with Math \texorpdfstring{$\sigma$}{[sigma]}} %Section - 1.1
|
||||
|
||||
|
BIN
Chapter2/Figs/Raster/minion.png
Normal file
BIN
Chapter2/Figs/Raster/minion.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 166 KiB |
1096
Chapter2/Figs/Vector/minion.eps
Executable file
1096
Chapter2/Figs/Vector/minion.eps
Executable file
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,16 @@
|
||||
%*****************************************************************************************
|
||||
%*********************************** Second Chapter **************************************
|
||||
%*****************************************************************************************
|
||||
|
||||
\chapter{My Second Chapter}
|
||||
|
||||
\ifpdf
|
||||
\graphicspath{{Chapter2/Figs/Raster/}{Chapter2/Figs/PDF/}{Chapter2/Figs/}}
|
||||
\else
|
||||
\graphicspath{{Chapter2/Figs/Vector/}{Chapter2/Figs/}}
|
||||
\fi
|
||||
|
||||
|
||||
\section[Short title]{Reasonably Long Section Title}
|
||||
|
||||
The SI Units for dynamic viscosity is \si{\newton\second\per\metre\squared}. I'm going to randomly include a picture~\cref{fig:minion}.
|
||||
@ -9,7 +21,7 @@ If you have trouble viewing this document contact Krishna \href{mailto:kks32@cam
|
||||
|
||||
\begin{figure}[htbp!]
|
||||
\centering
|
||||
\includegraphics[width=0.5\textwidth]{Chapter2/Figs/minion.jpg}
|
||||
\includegraphics[width=0.7\textwidth]{minion}
|
||||
\caption[Minion]{This is just a long figure caption for the minion in Despicable Me from Pixar}
|
||||
\label{fig:minion}
|
||||
\end{figure}
|
||||
|
@ -208,12 +208,14 @@
|
||||
% Convert eps figures to pdf
|
||||
\RequirePackage{epstopdf}
|
||||
\ifpdf
|
||||
\RequirePackage[pdftex]{graphicx}
|
||||
\DeclareGraphicsExtensions{.png, .jpg, .pdf}
|
||||
\pdfcompresslevel=9
|
||||
\RequirePackage[pdftex]{graphicx}
|
||||
\DeclareGraphicsExtensions{.png, .jpg, .pdf}
|
||||
\pdfcompresslevel=9
|
||||
\graphicspath{{Figs/Raster/}{Figs/}}
|
||||
\else
|
||||
\RequirePackage{graphicx}
|
||||
\DeclareGraphicsExtensions{.eps, .ps}
|
||||
\RequirePackage{graphicx}
|
||||
\DeclareGraphicsExtensions{.eps, .ps}
|
||||
\graphicspath{{Figs/Vector/}{Figs/}}
|
||||
\fi
|
||||
|
||||
|
||||
|
BIN
thesis.pdf
BIN
thesis.pdf
Binary file not shown.
@ -67,7 +67,7 @@
|
||||
|
||||
%% University and Crest
|
||||
\university{University of Cambridge}
|
||||
\crest{\includegraphics[width=0.25\textwidth]{Figs/University_Crest}}
|
||||
\crest{\includegraphics[width=0.25\textwidth]{University_Crest}}
|
||||
|
||||
%% You can redefine the submission text:
|
||||
%\renewcommand{\submissiontext}{change the default text here if needed}
|
||||
|
Loading…
Reference in New Issue
Block a user