% NSF general template, allowing individual PDF compiling and submission.
%
% Author: pengh2@erau.edu
%
% Last Updated: 10/10/2024 Used to prepare for NSF ERI.
% Major changes:
% - use `subfile` package to allow individual compiling and using the
% same preamble set in the main file.
% - use `bibtex` to allow for separate citation and bibliography in two
% separated PDFs.
% - numbered all the individual files.
% - hold all source files in a flattened directory structure.
%
% -----------------------------------------------------------------
% This is an NSF template based on the following Overleaf template:
%
% 1. https://www.overleaf.com/latex/templates/nsf-proposal/pkffxpbcjnqr
% A latex package to prepare a proposal for the National Science Foundation (NSF).
% M.R. Hadizadeh
% E-mail: mhadizadeh@gmail.com
% August 2021
%
% 2. The above (1) seems based on https://www.overleaf.com/latex/templates/nsf-proposal-template/xchskvnnkrnm
% AuthorAmr Abed
% Last Updated: 2016
% -----------------------------------------------------------------
%
% Load the class file. Most of the layout and settings are controlled in `nsf.cls`. Change it to whatever you want.
\documentclass{nsf}
% All the preambles of this main tex file will also be used for individual tex files.
% Check the documentation to learn how to use it: https://ctan.org/pkg/subfiles
% Roughly speaking, it allows main file's preambles reused by individual files,
% while also allows each file has its own preambles. More importantly, each file
% can be compiled separately.
\usepackage{subfiles}
% set a commom title that can be used by individual files
\newcommand{\proposalTitle}{NSF general template, allowing individual PDF compiling and submission.}
% figure example
\newcommand{\erau}{\vfill\begin{center}\includegraphics[width=0.5\linewidth]{erau_logo}\end{center}}
\begin{document}
% Chapter II: Proposal Preparation Instructions
% https://new.nsf.gov/policies/pappg/24-1/ch-2-proposal-preparation
% Missing files can be added easily; or are directly generated from NSF system; or from third-party websites.
% Each of the following individual files can be opened, edited, and compiled separately.
% Compiling this file will generate a whole PDF including everything.
% Check `03_references_cited` as it is kind of tricky.
% Project Summary
\subfile{01_project_summary}
% Project Description
\subfile{02_project_description}
% References Cited
\subfile{03_references_cited}
% Biographical Sketch(es)
% budget Justification
% Current and Pending Support
% Synergistic Activities
\subfile{07_synergistic}
% Facilities, Equipment and Other Resources
\subfile{08_resources}
% Special Information and Supplementary Documentation
\subfile{09_data} % Data Management Plan (Required)
% Mentoring Plan
\subfile{10_mentoring} % Postdoc/Undergraduate Researcher Mentoring Plan (if applicable)
\end{document}