I'm using TeXnicCenter to edit my document. I have the code as follows.
Code: Select all
\documentclass[12pt,lot,lof]{uthesis}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\
%%%% Author, title page, and Committee info
\title{Preventive methodology}
\author{S} % your name
\adviser{Dr. } % replace with the full name of your adviser
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\
%%%% Tweak float placements
% From: http://mintaka.sdsu.edu/GF/bibliog/latex/floats.html "Controlling LaTeX Floats"
% and based on: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=floats
% LaTeX defaults listed at: http://people.cs.uu.nl/piet/floats/node1.html
\renewcommand{\topfraction}{0.85} % max fraction of floats at top
\renewcommand{\bottomfraction}{0.6} % max fraction of floats at bottom
\setcounter{topnumber}{2}
\setcounter{bottomnumber}{2}
\setcounter{totalnumber}{4} % 2 may work better
\setcounter{dbltopnumber}{2} % for 2-column pages
\renewcommand{\dbltopfraction}{0.66} % fit big float above 2-col. text
\renewcommand{\textfraction}{0.15} % allow minimal text w. figs
\renewcommand{\floatpagefraction}{0.66} % require fuller float pages
\renewcommand{\dblfloatpagefraction}{0.66} % require fuller float pages
% The documentclass already sets parameters to make a high penalty for widows and orphans.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\
%%%%
\usepackage{graphicx}
\usepackage{verbatim}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{booktabs}
%set parameters for longtable:
% default caption width is 4in for longtable, but wider for normal tables
\setlength{\LTcapwidth}{\textwidth}
% url package understands urls (with proper line-breaks) without hyperlinking them
\usepackage{url}
\usepackage{float}
\usepackage{textcomp}
\usepackage{MnSymbol}
\usepackage{mathtools}
\usepackage{listings}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\
%%%% Front-matter
\abstract{
Put your abstract here.
}
\acknowledgements{
Here are all the people you would like to thank.
}
\dedication{
Here are people to dedicate to.
}
\begin{document}
\makefrontmatter