\documentclass{dane_proposal_format}
\usepackage{booktabs}        % For professional tables
\usepackage{tabularx}        % For flexible table columns
\usepackage{multirow}        % For multi-row cells
\usepackage{array}           % Enhanced table formatting
\usepackage[table]{xcolor}   % For colored tables (optional)
\usepackage{pgfgantt}
\usepackage{pdfpages}        % For including PDF files
% Strikethrough without soul/ulem (manual rule-based)

% === SPLIT'S EDITING COMMENTS ===
% Set to 1 for edit mode (wider margins, visible comments)
% Set to 0 for final mode (normal margins, comments hidden)
\newcommand{\editmode}{1}

\ifnum\editmode=1
  % Edit mode: load todonotes, adjust margins
  \usepackage[colorinlistoftodos,prependcaption,textsize=small]{todonotes}
  \setlength{\hoffset}{-0.5in}        % Shift everything left
  \setlength{\oddsidemargin}{0in}     % Left margin
  \setlength{\textwidth}{5in}         % Text column width
  \setlength{\marginparwidth}{5cm}    % Wide margin for notes (2x original)
  \setlength{\marginparsep}{0.3cm}    % Gap between text and notes
  
  % Color-coded comment commands
  % Green: General observations, "nice work", vibes
  \newcommand{\splitnote}[1]{\todo[color=green!40]{#1}}
  % Yellow: "Hey, check this out maybe?" - suggestions
  \newcommand{\splitsuggest}[1]{\todo[color=yellow!60]{#1}}
  % Orange: "This needs some polish" - should fix
  \newcommand{\splitpolish}[1]{\todo[color=orange!50]{#1}}
  % Red: "Fix this. Not acceptable." - must fix
  \newcommand{\splitfix}[1]{\todo[color=red!40]{#1}}
  % Inline versions
  \newcommand{\splitinline}[1]{\todo[inline,color=green!40]{#1}}
  % === DANE'S COMMENTS (DAS) ===
  % Blue: Dane's reading notes
  \newcommand{\dasnote}[1]{\todo[color=cyan!40]{DAS - #1}}
  \newcommand{\dasinline}[1]{\todo[inline,color=cyan!40]{DAS - #1}}
  % === EDIT MARKUP ===
  % Strikethrough old text, red for new text, blue for brand new prose
  \newcommand{\oldt}[1]{\textcolor{gray}{#1}}
  \newcommand{\newt}[1]{\textcolor{red}{#1}}
  \newcommand{\addedprose}[1]{\textcolor{blue}{#1}}
\else
  % Final mode: no comments, normal margins
  \newcommand{\splitnote}[1]{}
  \newcommand{\splitsuggest}[1]{}
  \newcommand{\splitpolish}[1]{}
  \newcommand{\splitfix}[1]{}
  \newcommand{\splitinline}[1]{}
  \newcommand{\dasnote}[1]{}
  \newcommand{\dasinline}[1]{}
  \newcommand{\oldt}[1]{#1}
  \newcommand{\newt}[1]{}
  \newcommand{\addedprose}[1]{#1}
\fi
% ================================

\begin{document}

\pagenumbering{roman}
\maketitle
\input{1-goals-and-outcomes/research-statement.tex}
\newpage
\tableofcontents
\newpage
\pagenumbering{arabic}

\input{1-goals-and-outcomes/goals}
% \newpage

\input{2-state-of-the-art/state-of-art}
% \newpage

\input{3-research-approach/approach}
% \newpage

\input{4-metrics-of-success/metrics}
% \newpage

\input{5-risks-and-contingencies/risks}
% \newpage

\input{6-broader-impacts/impacts}
% \newpage

\input{8-schedule/schedule}
\newpage
\bibliographystyle{ieeetr}
\bibliography{references}

% White Paper (optional)
% \input{whitepaper/v1}

\end{document}
