\documentclass[% 11pt,%fontsize oneside, %twoside, % %openright % chapters start on right pages %draft, % visual warnings of overfull h-box's ]{report} \usepackage{amsmath, amsthm, amssymb} \usepackage{setspace} \usepackage{syntonly} % for syntax checking without compiling \usepackage[dvips]{graphicx, color, psfrag} %\usepackage{fullpage} %\usepackage{thumbpdf} %only good with pdflatex % Keep this package last \usepackage[dvips,% %backref,% puts backwards references in the bibliography bookmarksopen=false, pdfpagemode=none % don't start with the navigation pane open in Acrobat ]{hyperref} \newcommand{\Extra}[1]{#1} \newcommand{\thespacing}{onehalfspace} %\syntaxonly % Intro elem char matrix TL words tables folding bibliography %\includeonly{words, tables} \renewcommand{\Extra}[1]{} \newcommand{\C}{\ensuremath{\mathbb{C}}} \newcommand{\R}{\ensuremath{\mathbb{R}}} \newcommand{\Q}{\ensuremath{\mathbb{Q}}} \newcommand{\Z}{\ensuremath{\mathbb{Z}}} \newcommand{\dx}{\mathrm{d}x} \newcommand{\dv}{\mathrm{d}v} \newcommand{\dmu}{\mathrm{d}\mu} \newcommand{\starproduct}{\circledast} \renewcommand{\bar}[1]{\overline{#1}} \DeclareMathOperator{\Res}{Res} \DeclareMathOperator{\Chi}{\chi} \renewcommand{\Re}{\operatorname{Re}} % can't use declaremathoperator \renewcommand{\Im}{\operatorname{Im}} % because they're already defined \newcommand{\abs}[1]{\lvert#1\rvert} \newcommand{\avg}[1]{\left\langle#1\right\rangle} \DeclareMathOperator{\cycles}{\kappa} \DeclareMathOperator{\tr}{tr} \DeclareMathOperator*{\DUnion}{\dot{\bigcup}} %Note DeclareMathOperator* does \Sum style superscripts and subscripts \newcommand{\AutUD}{\ensuremath{\mathord{\updownarrow}}{}} \newcommand{\AutLR}{\ensuremath{\mathord{\leftrightarrow}}{}} \newcommand{\AutC}{\ensuremath{\mathord{\circlearrowright}}{}} \newcommand{\TLn}[1][n]{\ensuremath{\mathfrak{T}\mspace{-1.0mu}\mathfrak{L}_{#1}(q)}} \newcommand{\HN}{\ensuremath{\mathcal{H}_N}} \newcommand{\Hm}[1][H]{\mathbf{#1}} \newcommand{\ribbon}{\mathcal{R}} \newcommand{\e}{\mathsf{e}} \newcommand{\f}{\mathsf{f}} \newcommand{\NL}{\#_{\operatorname{loop}}} \renewcommand{\th}{\nobreakdash-th} %note: this costs us the thorn character \newcommand{\st}{\nobreakdash-st} % \necommand{\note}[1]{} %\setcounter{tocdepth}{5} %comment this out to hide notes from the TOC \newcommand{\FlagNote}{\protect\addcontentsline{toc}{subsubsection}{\textcolor{red}{Note}}} \newcommand{\FlagDraft}{\protect\addcontentsline{toc}{subsubsection}{\textcolor{blue}{Draft}}} \newcommand{\note}[1]{\textcolor{red}{#1} \FlagNote} \newcommand{\draft}[1]{\textcolor{blue}{#1} \FlagDraft} \newcommand{\comment}[1]{} %note this will interfere if we use the verbatim package \newtheorem{thm}{Theorem}[section] \newtheorem*{thm*}{Theorem} \newtheorem{clm}[thm]{Claim} \newtheorem{lem}[thm]{Lemma} \newtheorem*{lem*}{Lemma} \newtheorem{cor}[thm]{Corollary} \newtheorem{prop}[thm]{Proposition} % Note: we specifically want definitions set apart from the rest of the text %\theoremstyle{definition} %this would make the theorem type ordinary text \newtheorem{Def}[thm]{Definition} \newtheorem{Ex}[thm]{Example} \newcommand{\captionsize}{\footnotesize} % Different font in captions \newcommand{\captionfonts}{\captionsize} \makeatletter % Allow the use of @ in command names \long\def\@makecaption#1#2{% \vskip\abovecaptionskip \sbox\@tempboxa{{\captionfonts #1: #2}}% \ifdim \wd\@tempboxa >\hsize {\captionfonts #1: #2\par} \else \hbox to\hsize{\hfil\box\@tempboxa\hfil}% \fi \vskip\belowcaptionskip} \makeatother % Cancel the effect of \makeatletter % usage \Figure[options]{Filename}{Caption} \newcommand{\Figure}[3][width=0.9\textwidth]{ \begin{figure}[!hbt] \centering{\includegraphics[#1]{#2}} \caption#3 \label{fig:#2} \end{figure}} \newcommand{\refchap}[1]{\hyperref[chap:#1]{Chapter~\ref*{chap:#1}}} \newcommand{\refsec}[1]{\hyperref[sec:#1]{Section~\ref*{sec:#1}}} \newcommand{\reffig}[1]{\autoref{fig:#1}} \newcommand{\refapp}[1]{\autoref{app:#1}} \newcommand{\refdef}[1]{\hyperref[def:#1]{Definition~\ref*{def:#1}}} \newcommand{\refeqn}[1]{\eqref{eqn:#1}} \newcommand{\refthm}[1]{\hyperref[thm:#1]{Theorem~\ref*{thm:#1}}} \newcommand{\refprop}[1]{\hyperref[prop:#1]{Proposition~\ref*{prop:#1}}} \newcommand{\reflem}[1]{\hyperref[lem:#1]{Lemma~\ref*{lem:#1}}} \newcommand{\refcor}[1]{\hyperref[cor:#1]{Corollary~\ref*{cor:#1}}} \newcommand{\refEx}[1]{\hyperref[Ex:#1]{Example~\ref*{Ex:#1}}} \newcommand{\reftab}[1]{\hyperref[tab:#1]{Table~\ref*{tab:#1}}} \newcommand{\TL}{Temperley-Lieb} \title{Approaches to the Enumerative Theory of Meanders} \author{Michael La$\,$Croix} \begin{document} \bibliographystyle{amsplain} \Extra{ \maketitle \renewcommand{\thepage}{\roman{page}} % \chapter*{Abstract} Goes here if you want one \tableofcontents \listoffigures }%end Extra \newpage %\pagebreak stretches the page to fill it \renewcommand{\thepage}{\arabic{page}} \setcounter{page}{1} \comment{now that we're done with the table of contents, we can put an extra space between paragraphs} \begin{\thespacing} \setlength{\parskip}{1ex plus 0.5ex minus 0.2ex} \small \normalsize \begin{psfrags} \newcommand{\Frag}[1]{\psfrag{Label#1}[]{\captionsize(#1)}} \Frag{a} \Frag{b} \Frag{c} \Frag{d} \Frag{e} \include{Intro} \include{elem} \include{char} \include{matrix} \include{TL} \include{words} %Start the appendices \appendix \include{tables} %\include{folding} \end{psfrags} \end{\thespacing} \include{bibliography} \end{document}