% NSF proposal 2021 text     
\documentclass[12pt,letterpaper]{article}
\usepackage[letterpaper,margin=1.0in]{geometry}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{graphicx,amsmath,bm,float,floatflt,multirow,epstopdf}
\usepackage{wrapfig}
\usepackage[utf8]{inputenc}
\usepackage{cite}
\usepackage{url}
\usepackage[toc]{appendix}
\usepackage{bibunits}

\usepackage{etoolbox}

\pagestyle{plain}
\bibliographystyle{aip}
\defaultbibliographystyle{aip}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\newenvironment{packed_enum}{
\begin{enumerate}
  \setlength{\itemsep}{1pt}
  \setlength{\parskip}{0pt}
  \setlength{\parsep}{0pt}
}{\end{enumerate}}

\newenvironment{packed_item}{
\begin{itemize}
  \setlength{\itemsep}{0pt}
  \setlength{\parskip}{0pt}
  \setlength{\parsep}{0pt}
}{\end{itemize}}

\begin{document}
\setlength{\intextsep}{0pt}
\addtolength{\textfloatsep}{-1pt}
\addtolength{\abovecaptionskip}{-5pt}
\addtolength{\belowcaptionskip}{-5pt}
\hyphenation{brems-strah-lung Pe-rei-ra}


%%%%%%%%%%%%%%%%%%%%%%%%
%%%Title page and TOC%%%
%%%%%%%%%%%%%%%%%%%%%%%%
\input titlePage.tex            %%Spellchecked
\pagenumbering{roman}
\tableofcontents
\cleardoublepage
\pagenumbering{arabic}

%%%%%%%%%%%%%%%
%%%Main body%%%
%%%%%%%%%%%%%%%
%\begin{bibunit}
\newpage
\input abstract.tex             %Pass 1 complete, Spellchecked
\vspace{-10pt}
\input projectIntro.tex         %Pass 1 complete, Spellchecked
\vspace{-10pt}
%\input projectOverview.tex      %Pass 1 complete, Spellchecked
\section{Research to be undertaken under proposed award}
\label{sec:overview}
Prior to any analysis performed to uncover hadronic states within physical data, 
that data must be aquired using 
specially designed, built and operated detector systems.
%Thus, it is natural to begin the discussion of the proposed research by
I provide a brief overviews of those detector systems used in measuring the 
data that are to be further analyzed.
\vspace{-10pt}

\input CLAS12.tex               %Pass 1 complete, Spellchecked
\vspace{-10pt}
\input GlueX.tex                %Pass 1 complete, Spellchecked
\vspace{-10pt}
\input baryon.tex
\vspace{-10pt}
\input meson.tex
\vspace{-10pt}
\input pastKKpi.tex
\vspace{-10pt}
%\section{Past accomplishments and works in progress}
%\label{sec:metricsPastAndPresent}

\input researchPlan.tex         %Pass 1 complete, Spellchecked
\vspace{-10pt}
\input otherWork.tex            %Pass 1 complete, Spellchecked
%\input roles.tex                %Pass 1 complete, Spellchecked 
\input humanResources.tex       %Pass 1 complete, Spellchecked 
\vspace{-10pt}
\input requestedResources.tex   %Pass 1 complete, Spellchecked 
\vspace{-10pt}
\input institutionalSupport.tex %Pass 1 complete, Spellchecked 
\vspace{-10pt}
\input metricsForward.tex

\clearpage

%%%%%%%%%%%%%%%%
%%%Appendices%%%
%%%%%%%%%%%%%%%%
\setcounter{section}{-1}
\def\thesection{\Alph{section}}
\section{Appendices}
\section{Bibliography and references cited}  
\bibliography{bibtexrefs2021}
\input dataManagementPlan.tex                %Need to check. Probably good to go, Spellchecked 
\input listOfCollaborators.tex               %Pass 1 complete, Spellchecked 
\input publications.tex                      %Need to check. , Spellchecked 
\clearpage
\section{Biographical sketches}
\input MikeBioSketch.tex                     %Pass 1 complete, Spellchecked 
\clearpage
\input studentTracking.tex                   %Pass 1 complete, Spellchecked 
\input currentAndPending.tex                 %Pass 1 complete, Spellchecked 
\input facilities.tex                        %Pass 1 complete, Spellchecked 
\newpage
\input abstract.tex             %Pass 1 complete, Spellchecked
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\end{document}
