%%% From template

\usepackage[intoc]{nomencl}

\textwidth=6in \oddsidemargin=0.5in \topmargin=-0.5in
\textheight=9in  % 9in must include page numbers
\textfloatsep = 0.4in \addtocontents{toc}{\vspace{0.4in} \hfill
Page\endgraf} \addtocontents{lof}{\vspace{0.2in} \hspace{0.13in} \
Figure\hfill Page\endgraf} \addtocontents{lot}{\vspace{0.2in}
\hspace{0.13in} \ Table\hfill Page\endgraf}

% We've already imported some of the most commonly used packages for inserting
% formulas, images, tables, and references.
% If you need more, you can find a list of Latex packages
% here: https://www.ctan.org/pkg/

%\usepackage{textcomp}
\usepackage{array}
\usepackage{listings}
\usepackage{setspace}
%\usepackage{mathptmx}
\usepackage[table, svgnames]{xcolor}
\usepackage{colortbl}
\usepackage{graphicx}
\usepackage{amssymb,amsmath}
\usepackage{subfig}
\usepackage{epsfig}
\usepackage{times}
\usepackage{float}
\usepackage{rotating}
\usepackage{makeidx}
\usepackage{url}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{tabularx}

\usepackage[subfigure,titles]{tocloft}
\usepackage{acronym}
\usepackage{datetime}

%%another algorithm package
\usepackage{algorithm}
\usepackage{algorithmic}

\makenomenclature

\graphicspath{{Figures/}}
\DeclareGraphicsExtensions{.pdf,.jpeg,.png,.PNG,.eps,.tiff}

\urlstyle{same}

\usepackage{makecell}
\usepackage[nottoc]{tocbibind}
\usepackage{titletoc}
\usepackage{sfchap}
\usepackage{sfsection}
\usepackage[authoryear]{natbib}
%\usepackage{apacite}
\usepackage{appendix}
%\usepackage{tocbibind}

%\usepackage[nottoc]{tocbibind}
\setcounter{secnumdepth}{7}
\setcounter{tocdepth}{7}

\usepackage{tikz}
\usetikzlibrary{shapes.geometric,arrows}
\tikzstyle{box} = [ rectangle, rounded corners, minimum width = 10em, %
                    minimum height = 3em,text centered, draw = black, %
                    fill = blue!20 ]
\tikzstyle{arrow} = [thick,->,>=stealth]

\usepackage{hyperref}
\hypersetup{
  pdftitle={thornado-Hydro, XCFC: A Discontinuous Galerkin Hydrodynamics Solver for General Relativistic Core-Collpase Supernova Simulations},
  pdfauthor={Samuel J. Dunham},
  pdfsubject={Ph.D. Dissertation},
  bookmarksnumbered, %Determined if chapter numbers are included in the bookmark list
  pdfstartview={FitH},
  pdfborder={0 0 0},
  plainpages=false
}
\usepackage[all]{hypcap}

% Prevent double spaced equations
\newenvironment{tightequation}{\singlespace\begin{equation}}{\end{equation}}

% Extra junk to pretty up the table of contents
\setlength{\cftsecnumwidth}{2.8em}
\setlength{\cftsubsecnumwidth}{3.7em}
\setlength{\cftsubsubsecnumwidth}{4.6em}
\setlength{\cftparanumwidth}{5.5em}
\setlength{\cftsubparanumwidth}{6.5em}
\setlength{\cfttabnumwidth}{3.5em}
\setlength{\cftfignumwidth}{3.5em}

% Prevents the splitting of long footnotes across multiple pages.
% Use with caution.
\interfootnotelinepenalty=10000

\usepackage[T1]{fontenc}
\usepackage{lmodern}
\newcommand\Fontvi{\fontsize{9}{9.2}\selectfont}

%% From Accretion Shock paper
%------------------------------------------------------------------------------%
% Packages

%\usepackage{amsmath}
\usepackage{aasmacros} % For journal symbols
\usepackage{duckuments} % For the ducks
\usepackage{soul} % To strike out multiple lines

%% From methods paper
% Define \bigtimes, taken from
% https://tex.stackexchange.com/questions/202527/writing-x-as-a-symbol-with-limits
\DeclareFontFamily{U}{mathx}{\hyphenchar\font45}
\DeclareFontShape{U}{mathx}{m}{n}{
      <5> <6> <7> <8> <9> <10>
      <10.95> <12> <14.4> <17.28> <20.74> <24.88>
      mathx10
      }{}
\DeclareSymbolFont{mathx}{U}{mathx}{m}{n}
\DeclareFontSubstitution{U}{mathx}{m}{n}
\DeclareMathSymbol{\bigtimes}{1}{mathx}{"91}
