After putting off some diagrams, which I finally got round to doing today, i noticed the quality is quite poor in comparison to other that I have done. I have had to convert .png to .eps files for the most recent images.
I was wandering if it would be worth using pdflatex to compile direct to .pdf?
Below is the code for my main file. I was wandering what else I would need to change in this file to compile directly to .pdf?
Code: Select all
\documentclass[a4paper,oneside,11pt,titlepage]{book}
\tolerance=1000
\hbadness=10000
\raggedbottom
\usepackage{epsfig}
\usepackage{sistyle}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{wrapfig}
\usepackage{graphicx}
\usepackage{graphics}
\usepackage{lscape,graphicx}
\usepackage{rotating}
%\usepackage{subfigure}
\usepackage{multirow}
\usepackage{makeidx}
%\usepackage{float}
\usepackage{palatino}
\usepackage{color}
\definecolor{orange}{rgb}{1,0.5,0}
\usepackage[dvips,colorlinks=true,linkcolor=blue,citecolor=green,breaklinks=true,pdffitwindow=true]{hyperref}
%\usepackage[sort&compress,numbers]{chapterbib}
\usepackage[left=4cm,right=2.5cm,bottom=2.5cm,top=2.5cm]{geometry}
\usepackage{hypernat}
%\usepackage{natbib}
\usepackage{chapterbib}
\usepackage[margin=10pt,font=small,labelfont=bf,nooneline]{caption}%, justification=centering, hang?
%\usepackage{subcaption}
%\DeclareCaptionSubType{sch}
\usepackage[justification=centering]{subfig}
\usepackage{float}
\usepackage[countmax]{subfloat}
%\newfloat{sch}{hbt}{sch}[chapter] %try [tbp]
%\floatname{sch}{Scheme}
\newfloat{sch}{htbp}{los}[chapter]
\restylefloat*{sch}
\floatstyle{plain}
\floatname{sch}{Scheme}
\captionsetup[sch]{position=bottom}
\newcommand{\listofsch}{\listof{sch}{List of Reaction Schemes}}
%%%%% to create a chemicalequation float
%\usepackage{float}
\newfloat{chemicalequation}{htbp}{cex}[chapter]
\floatname{chemicalequation}{}
%%%%%%
%%%%% create chemequation environment
\newcounter{chemequation}
\renewcommand*\thechemequation{(\arabic{chemequation})}
\newenvironment{chemequation}{%
\stepcounter{chemequation}%
\begin{equation}}%
{\tag*{\thechemequation}%
\end{equation}}
%%%%% create chemtag to iterate and ref chemequations in an align environment
\newcommand*\chemtag{%
\stepcounter{chemequation}%
\tag*{\thechemequation}}
%%%%%
\newcommand\chemicalcaption[1]{%
\refstepcounter{chemicalequation}
\addcontentsline{cex}{section}%
{\protect\numberline{\thechemicalequation}{\ignorespaces #1}}
}
\newsubfloat[position=bottom,listofformat=subparens]{sch}
%\usepackage{amsmath}
\usepackage{chemsym}
\usepackage{fancyhdr}
\renewcommand\bibname{References}
%\def\un#1{\,\text{#1}}
\makeatletter
\providecommand\barcirc{\mathpalette\@barred\circ}
\def\@barred#1#2{\ooalign{\hfil$#1-$\hfil\cr\hfil$#1#2$\hfil\cr}}
\newcommand\stst{^{\protect\barcirc}}
\makeatother
%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FRONT PAGE
\author{{\large{}}}
\title{\textbf{\\ {$\;$}\\{$\;$}\\{$\;$}\\{$\;$}\\\normalsize{\emph{Submitted in
Accordance with the Requirements for the Degree of \\Doctor of Philosophy}}\\
{$\;$}\\{$\;$}\\\large{\}\\{$\;$}\\{$\;$}
\\{$\;$}\date{\today}\\{$\;$}\\{$\;$}\\{$\;$}\\{$\;$}\\
\small{\emph{The candidate confirms that the work submitted is his own \\and
that appropriate credit has been given where reference has\\ been made to the
work of others}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeindex
\begin{document}
\pagenumbering{roman}
\maketitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%FANCY HEADER%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{fancy} % Sets fancy header and footer
\fancyfoot{} % Delete current footer settings
\renewcommand{\chaptermark}[1]{ % Lower Case Chapter marker style
\markboth{\chaptername\ \thechapter.\ #1}{}} %
\renewcommand{\sectionmark}[1]{ % Lower case Section marker style
\markright{\thesection.\ #1}} %
\fancyhead[R]{\bfseries\thepage} % Page number (boldface) in left
\fancyhead[L]{\bfseries\rightmark} % Section in the left on odd pages
\renewcommand{\headrulewidth}{0.5pt} % Width of head rule
\addtolength{\headheight}{2pt} % stop headheight from being too small
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%FRONT MATTER%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\linespread{1.7}
\selectfont %Allows linespread to change
\frontmatter
\sloppy
%\include{misc/quote}
%\addcontentsline{toc}{chapter}{Acknowledgements}
%\include{Misc/acknowledgements}
%\addcontentsline{toc}{chapter}{Abstract}
\include{Misc/Abstract}
%\addcontentsline{toc}{chapter}{Publications}
%\include{Misc/publications}
%\addcontentsline{toc}{chapter}{Contents}
\tableofcontents
\listoffigures
\listofsch%{sch}{List of Reaction Schemes}
\listoftables
%\include{misc/abbrev}
%\include{misc/symbols}
%%%%%%%%%%%%%%%%%%%%%%%CHAPTERS%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mainmatter
\include{introduction/introduction}
%\appendix
%%%%%%%%%%%%%%%%%%%%%%INDEX%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\include{references}
\backmatter
%\addcontentsline{toc}{chapter}{References}
%\bibliography{references}
%\bibliographystyle{jacs}
\linespread{1}
\selectfont
\twocolumn
\printindex
\end{document}
Code: Select all
\includegraphics[width=o.8\textwidth][file]
Is there anything else i need to be aware of and would it be worth it?
I am obviously not going to change my thesis as it stands but will make a copy and and have a play around with it, in the hope that it will work.
Any help appreciated.
Regards
danj