diff options
author | Karl Berry <karl@freefriends.org> | 2016-08-22 22:31:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-08-22 22:31:45 +0000 |
commit | 47f08f1016ad104b753c41d9afd2eaf318ce364b (patch) | |
tree | f92a3d91410e624b3e409de83d927a18fe7df34f /Master/texmf-dist | |
parent | a64da01776ead0811571d57fb45bb5fed420ed8b (diff) |
grant (22aug16)
git-svn-id: svn://tug.org/texlive/trunk@41905 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/grant/LICENSE | 21 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/grant/README.md | 62 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/grant/VERSION | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/grant/grant.pdf | bin | 0 -> 115574 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/grant/grant.dtx | 816 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/grant/grant.ins | 56 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/grant/grant-arl.cls | 47 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/grant/grant-darpa.cls | 47 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/grant/grant-doe.cls | 47 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/grant/grant-nih.cls | 47 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/grant/grant-nrl.cls | 47 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/grant/grant-nsf.cls | 47 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/grant/grant-onr.cls | 47 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/grant/grant.cls | 456 |
14 files changed, 1741 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/grant/LICENSE b/Master/texmf-dist/doc/latex/grant/LICENSE new file mode 100644 index 00000000000..1e5a0997655 --- /dev/null +++ b/Master/texmf-dist/doc/latex/grant/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Karr Lab + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Master/texmf-dist/doc/latex/grant/README.md b/Master/texmf-dist/doc/latex/grant/README.md new file mode 100644 index 00000000000..514326d9491 --- /dev/null +++ b/Master/texmf-dist/doc/latex/grant/README.md @@ -0,0 +1,62 @@ +[![CTAN package](https://img.shields.io/badge/ctan-latest-orange.svg)](https://www.ctan.org/pkg/grant) +[![Documentation](https://readthedocs.org/projects/gdoc-down/badge/?version=latest)](https://github.com/KarrLab/latex-grant) +[![License](https://img.shields.io/github/license/KarrLab/latex-grant.svg)](LICENSE) + +# latex-grant + +LaTeX classes for formatting scientific documents, including grant proposals. +* `grants`: Base class for formatting grant proposals +* `grant-arl`: Army Research Laboratory +* `grant-darpa`: Defense Advanced Research Projects Agency +* `grant-doe`: Department of Energy +* `grant-nih`: National Institutes of Health +* `grant-nrl`: Naval Research Laboratory +* `grant-nsf`: National Science Foundation +* `grant-onr`: Office of Naval Research + +## Installation + +### Tex Live/MikTeX +The package is available through TeX Live and MikTeX as `grant`. + +### Manual install + +1. Compile the LaTeX classes + + ``` + cd /path/to/repo + cd grant + latex grant.ins + mkdir -p /path/to/repo/tex/latex/grant/ + mv *.cls /path/to/repo/tex/latex/grant/ + ``` +2. Add `/path/to/repo` to your list of LaTeX root directories + +## Example usage +``` +\documentclass{grant-nsf} + +\addbibresource{Bibliography.bib} + +\begin{document} + +\chapter{Project-Summary} +... + +\chapter{Project-Description} +... + +\chapter{Bibliography \& References Cited} +\printbibliography[heading=none] + +\end{document} +``` + +## License +The example model is released under the [MIT license](LICENSE). + +## Development team +`latex-grant` was developed by [Jonathan Karr](http://www.karrlab.org) at the Icahn School of Medicine at Mount Sinai in New York, USA. + +## Questions and comments +Please contact the [Jonathan Karr](http://www.karrlab.org) with any questions or comments. diff --git a/Master/texmf-dist/doc/latex/grant/VERSION b/Master/texmf-dist/doc/latex/grant/VERSION new file mode 100644 index 00000000000..6812f8122ef --- /dev/null +++ b/Master/texmf-dist/doc/latex/grant/VERSION @@ -0,0 +1 @@ +0.0.3
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/grant/grant.pdf b/Master/texmf-dist/doc/latex/grant/grant.pdf Binary files differnew file mode 100644 index 00000000000..73387da30b2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/grant/grant.pdf diff --git a/Master/texmf-dist/source/latex/grant/grant.dtx b/Master/texmf-dist/source/latex/grant/grant.dtx new file mode 100644 index 00000000000..6c8a96d5f4a --- /dev/null +++ b/Master/texmf-dist/source/latex/grant/grant.dtx @@ -0,0 +1,816 @@ +% \iffalse meta-comment +% +% Copyright (C) 2016 Jonathan Karr <karr@mssm.edu> +% ----------------------------------------------------------- +% +% This file may be distributed and/or modified under the conditions of +% the MIT License. The latest version of this license is in: +% +% https://github.com/KarrLab/latex-grant/blob/master/LICENSE +% +% \fi +% + +% \iffalse +%<*driver> +\ProvidesFile{grant.dtx} +%</driver> +%<package>\NeedsTeXFormat{LaTeX2e}[2003/12/01] +%<package>\ProvidesPackage{grant} +%<*package> + [2016/08/22 v0.0.3 Grant package for formatting federal grant applications] +%</package> +% +% +%<*driver> +\documentclass{ltxdoc} +\usepackage{enumitem} +\usepackage{verbatim} +\setdescription{noitemsep, topsep=0pt, parsep=0pt, partopsep=0pt} +\OnlyDescription +\begin{document} + \DocInput{grant.dtx} +\end{document} +%</driver> +% \fi + +% \CheckSum{524} +% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} + + +% \changes{v0.0.2}{2016/08/17}{Initial version} +% +% \GetFileInfo{grant.dtx} +% +% \DoNotIndex{\newcommand,\newenvironment} + + +% \title{The \textsf{grant} package \thanks{This document corresponds to \textsf{grant}~\fileversion, dated \filedate.}} +% \author{Jonathan Karr \\ \texttt{karr@mssm.edu}} +% +% \maketitle +% +% \section{Introduction} +% +% This package provides LaTeX classes to format grant applications for the following federal agencies: +% \begin{description}[labelindent=0.25in] +% \item[\texttt{grant-arl}]: Army Research Laboratory +% \item[\texttt{grant-darpa}]: Defense Advanced Research Projects Agency +% \item[\texttt{grant-doe}]: Department of Energy +% \item[\texttt{grant-nih}]: National Institutes of Health +% \item[\texttt{grant-nrl}]: Naval Research Laboratory +% \item[\texttt{grant-nsf}]: National Science Foundation +% \item[\texttt{grant-onr}]: Office of Naval Research +% \end{description} +% +% \section{Usage} +% The example below illustrates how to use the \texttt{nsf} class. Substitute \texttt{nsf} for any of the above class names to format applications for other federal agencies. +% +% \begin{verbatim} +% \documentclass{nsf} +% +% \addbibresource{Bibliography.bib} +% +% \begin{document} +% +% \chapter{Project-Summary} +% ... +% +% \chapter{Project-Description} +% ... +% +% \chapter{Bibliography \& References Cited} +% \printbibliography[heading=none] +% +% \end{document}\end{verbatim} + + +% \StopEventually{} +% +% \section{Implementation} +% \begin{macrocode} +%<*grant> +% \end{macrocode} + + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{grant}[2016/01/12 grant class] + +%%%%%%%%%%%%%%%%%%%%%% +%% options +%%%%%%%%%%%%%%%%%%%%%% + +\usepackage{etoolbox} + +\newcommand{\fntsiz}{11pt} +\DeclareOption{10pt}{\renewcommand{\fntsiz}{10pt}} +\DeclareOption{11pt}{\renewcommand{\fntsiz}{11pt}} +\DeclareOption{12pt}{\renewcommand{\fntsiz}{12pt}} + +\newbool{isdraft} +\boolfalse{isdraft} +\DeclareOption{isdraft} + {\booltrue{isdraft}} +\DeclareOption{isnotdraft} + {\boolfalse{isdraft}} + +\newbool{issectioncompact} +\boolfalse{issectioncompact} +\DeclareOption{issectioncompact} + {\booltrue{issectioncompact}} +\DeclareOption{isnotsectioncompact} + {\boolfalse{issectioncompact}} + +\newbool{isbibcompact} +\boolfalse{isbibcompact} +\DeclareOption{isbibcompact} + {\booltrue{isbibcompact}} +\DeclareOption{isnotbibcompact} + {\boolfalse{isbibcompact}} + +\ExecuteOptions{isdraft, isnotdraft, issectioncompact, isnotsectioncompact, isbibcompact, isnotbibcompact} +\ProcessOptions + +%%%%%%%%%%%%%%%%%%%%%% +%% load book class +%%%%%%%%%%%%%%%%%%%%%% +\LoadClass[\fntsiz,oneside]{book} + +%%%%%%%%%%%%%%%%%%%%%% +%% formatting +%%%%%%%%%%%%%%%%%%%%%% + +%font +\usepackage[english]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{uarial} +\renewcommand{\familydefault}{\sfdefault} + +%underline +\usepackage[normalem]{ulem} +\usepackage{soul} + +%spacing +\usepackage{setspace} +\singlespacing + +%margins +\usepackage[paperwidth=8.5in, paperheight=11in, margin=1in, footskip=20pt]{geometry} + +%paragraph spacing +\setlength{\parindent}{0in} +\setlength{\parskip}{5pt} + +%section style +\setcounter{secnumdepth}{5} +\usepackage[compact,explicit]{titlesec} + +\titleclass{\part}{top} + +\titleformat{\part}[block]{\centering\LARGE\bfseries}{}{0pt}{\LARGE\MakeUppercase{#1}}[] +\titleformat{\chapter}[block]{\large\bfseries}{}{0pt}{\large\MakeUppercase{#1}}[] +\titleformat{\section}[block]{\bfseries}{\uline{\thesection.~}}{0ex}{\uline{#1}}[] +\titleformat{\subsection}[runin]{\bfseries}{\thesubsection.~}{0ex}{#1}[] +\titleformat{\subsubsection}[runin]{}{\uline{\thesubsubsection.~}}{0ex}{\uline{#1}}[.] +\titleformat{\paragraph}[runin]{\itshape}{\theparagraph.~}{0ex}{#1}[.] +\titleformat{\subparagraph}[runin]{}{}{0ex}{\uline{#1}}[:] + +\titlespacing*{\part}{0pt}{-3.5ex}{*-1} +\titlespacing*{\chapter}{0pt}{-3.5ex}{*-0.5} +\titlespacing*{\section}{0pt}{*0.0}{*-1} +\titlespacing*{\subsection}{0pt}{*0.0}{*0.5} +\titlespacing*{\subsubsection}{0pt}{*0.0}{*0.5} +\titlespacing*{\paragraph}{0pt}{*0}{*0.5} +\titlespacing*{\subparagraph}{0pt}{*0}{*0.5} + +\renewcommand*\thesection{\arabic{section}} +\renewcommand*\thesubsection{\Alph{subsection}} +\renewcommand*\thesubsubsection{\roman{subsubsection}} +\renewcommand*\theparagraph{\arabic{paragraph}} + +\makeatletter +\newcommand{\chapternotitle}[1]{% + \begingroup + \let\@makechapterhead\@gobble % make \@makechapterhead do nothing + \chapter{#1} + \endgroup +} +\makeatother + +\newcommand{\partnonum}[2][part]{% +\phantomsection% +\addcontentsline{toc}{#1}{#2}% +\part*{#2}% +} + +\newcommand{\chapternonum}[2][chapter]{% +\phantomsection% +\addcontentsline{toc}{#1}{#2}% +\chapter*{#2}% +} + +\newcommand{\sectionnonum}[2][section]{% +\phantomsection% +\addcontentsline{toc}{#1}{#2}% +\section*{#2}% +} +\newcommand{\subsectionnonum}[2][subsection]{% +\phantomsection% +\addcontentsline{toc}{#1}{#2}% +\subsection*{#2}% +} +\newcommand{\subsubsectionnonum}[2][subsubsection]{% +\phantomsection% +\addcontentsline{toc}{#1}{#2}% +\subsubsection*{#2}% +} + +\ifbool{issectioncompact}{ + \titleformat{\section}[runin]{\bfseries}{\uline{\thesection.~}}{0ex}{\uline{#1}}[.] + \titlespacing*{\section}{0pt}{*0.0}{*0.5} +}{} + +%page numbering +\usepackage[auto]{chappg} + +%header/footer +\usepackage{fancyhdr} +\pagestyle{fancy} +\assignpagestyle{\chapter}{fancy} +\renewcommand{\chaptermark}[1]{\markboth{#1}{}} +\renewcommand{\headrulewidth}{0pt} +\renewcommand{\footrulewidth}{0pt} +\fancyhf{} +\ifbool{isdraft}{ + \lfoot{\small\leftmark} + \rfoot{\small\thepage} +}{} + +%lists +\usepackage{paralist} +\usepackage{enumitem} +\setlist[itemize]{topsep=0pt, partopsep=0ex, parsep=0ex, itemsep=0ex, leftmargin=1em} +\setlist[enumerate]{topsep=0pt, partopsep=0ex, parsep=0ex, itemsep=0ex, leftmargin=1.3em} + +%hyphenation +\usepackage{hyphenat} + +%bibliography +%\usepackage[super,compress, numbers]{natbib} +\usepackage[backend=bibtex8,style=nature,citestyle=numeric-comp,sorting=none,maxbibnames=30,minbibnames=30,autocite=superscript,firstinits=true,terseinits=true]{biblatex} +\let\cite=\autocite +\renewbibmacro*{name:last-first}[4]{% + \ifuseprefix + {% + \usebibmacro{name:delim}{#3#1}% + \usebibmacro{name:hook}{#3#1}% + \ifblank{#3}{} + {% + \ifcapital + {\mkbibnameprefix{\MakeCapital{#3}}\isdot} + {\mkbibnameprefix{#3}\isdot}% + \ifpunctmark{'}{}{\addhighpenspace}% + }% + \mkbibnamelast{#1}\isdot + \ifblank{#2} + {}{\addlowpenspace\mkbibnamefirst{#2}}% + \ifblank{#4}{}{\addlowpenspace\mkbibnameaffix{#4}\isdot}% + } + {% + \usebibmacro{name:delim}{#1}% + \usebibmacro{name:hook}{#1}% + \mkbibnamelast{#1}\isdot + \ifblank{#2#3}{}{\addcomma}% + \ifblank{#2}{}{\addlowpenspace\mkbibnamefirst{#2}\isdot}% + \ifblank{#3}{}{\addlowpenspace\mkbibnameprefix{#3}\isdot}% + \ifblank{#4}{}{\addlowpenspace\mkbibnameaffix{#4}\isdot}% + }% +} +\setlength{\bibitemsep}{0pt} +\setlength{\biblabelsep}{5pt} + +\ifbool{isbibcompact}{ + \defbibenvironment{bibliography} + {\inparaenum[ (1)]} + {\endinparaenum} + {\item} + + \renewcommand{\bibfont}{\footnotesize} + + \ExecuteBibliographyOptions{maxbibnames=1,minbibnames=1} + \DeclareFieldFormat[article]{title}{} + \DeclareFieldFormat[article]{pages}{} + \DeclareFieldFormat[article]{volume}{} + \DeclareFieldFormat[article]{number}{} + \DeclareFieldFormat[online]{url}{} + \DeclareFieldFormat[online]{urldate}{} + + \renewbibmacro*{issue+date}{% + \iffieldundef{year} + {} + {% + \iffieldundef{issue} + {\printtext[]{\usebibmacro{date}}} + {% + \printtext[parens]{% + \printfield{issue}% + \setunit*{\addspace}% + \usebibmacro{date}% + }% + }% + }% + \newunit + } + + \renewbibmacro*{name:last-first}[4]{% + \ifuseprefix + {% + \usebibmacro{name:delim}{#3#1}% + \usebibmacro{name:hook}{#3#1}% + \ifblank{#3}{} + {% + \ifcapital + {\mkbibnameprefix{\MakeCapital{#3}}\isdot} + {\mkbibnameprefix{#3}\isdot}% + \ifpunctmark{'}{}{\addhighpenspace}% + }% + \mkbibnamelast{#1}\isdot + \ifblank{#2} + {}{% + %\addlowpenspace\mkbibnamefirst{#2} + }% + \ifblank{#4}{}{\addlowpenspace\mkbibnameaffix{#4}\isdot}% + } + {% + \usebibmacro{name:delim}{#1}% + \usebibmacro{name:hook}{#1}% + \mkbibnamelast{#1}\isdot + \ifblank{#2#3}{}{\addcomma}% + %\ifblank{#2}{}{\addlowpenspace\mkbibnamefirst{#2}\isdot}% + \ifblank{#3}{}{\addlowpenspace\mkbibnameprefix{#3}\isdot}% + \ifblank{#4}{}{\addlowpenspace\mkbibnameaffix{#4}\isdot}% + }% + } +}{} + +%images +\usepackage{graphicx} +\DeclareGraphicsExtensions{% + .pdf,.PDF,% + .png,.PNG,% + .jpg,.jpeg} + +%captions +\usepackage[font=footnotesize,labelfont=bf,singlelinecheck=false,labelsep=period, skip=2pt]{caption} + +%urls +\ifbool{isdraft}{ + \usepackage[breaklinks=true, bookmarksdepth=3]{hyperref} +}{ + \usepackage[breaklinks=true, bookmarksdepth=0, bookmarks=false]{hyperref} + \let\oldcite\cite + \renewcommand{\cite}[1]{% + \begin{NoHyper}\oldcite{#1}\end{NoHyper}% + } +} + +%tables +\usepackage{tabularx} +\usepackage{longtable} +\usepackage{ltxtable} + +%table, figure numbering +\renewcommand{\figurename}{Fig.} +\renewcommand{\tablename}{Tab.} +\addto\captionsenglish{\renewcommand{\figurename}{Fig.}} +\addto\captionsenglish{\renewcommand{\tablename}{Tab.}} +\renewcommand*\thefigure{\arabic{figure}} +\renewcommand*\thetable{\arabic{table}} + +%FloatBarrier +\usepackage{placeins} + +%insert pdf pages +\usepackage{pdfpages} + +%line numbers +\usepackage{lineno} + +\setlength{\textfloatsep}{5.0pt plus 0.5pt minus 1pt} + +\usepackage{tabularx} +\usepackage{booktabs} +\usepackage{wrapfig} + +\usepackage{amsmath} +\usepackage{csquotes} + +%comments +\usepackage[author={}, color=yellow]{pdfcomment} + +%citations +\newcommand{\dontcite}[1]{} + +%multiple columns +\usepackage{multicol} + +%%%%%%%%%%%%%%%%%%%% +%% Cover page +%%%%%%%%%%%%%%%%%%%% +\newcommand{\FundingAgency}{} +\newcommand{\FundingId}{} +\newcommand{\FundingTitle}{} +\newcommand{\FundingUrl}{} +\newcommand{\FundingDeadline}{} + +\newcommand{\ProposalTitle}{} +\newcommand{\ProposalDurationInYears}{} +\newcommand{\ProposalCostInMillions}{} + +\newcommand{\PiName}{} +\newcommand{\PiTitle}{} +\newcommand{\PiDepartment}{} +\newcommand{\PiInstitution}{} +\newcommand{\PiAddress}{} +\newcommand{\PiUrl}{} +\newcommand{\PiEmail}{} +\newcommand{\PiPhone}{} +\newcommand{\PiFax}{} + +\newcommand{\OtherKeyPersonnel}{} + +\newcommand{\LeadOrganizationName}{} +\newcommand{\LeadOrganizationAddress}{} +\newcommand{\LeadOrganizationDUNS}{} +\newcommand{\LeadOrganizationTIN}{} +\newcommand{\LeadOrganizationCAGE}{} + +\newcommand{\AdminName}{} +\newcommand{\AdminTitle}{} +\newcommand{\AdminAddress}{} +\newcommand{\AdminInstitution}{} +\newcommand{\AdminPhone}{} +\newcommand{\AdminFax}{} +\newcommand{\AdminEmail}{} + +\newcommand{\PoName}{} +\newcommand{\PoAddress}{} +\newcommand{\PoEmail}{} +\newcommand{\PoPhone}{} + +\newcommand{\makecoverpage}{ + {\LARGE\bfseries + + \ProposalTitle + + } + \vskip1ex + \uline{Funding opportunity} + \\\FundingAgency + \\{\FundingTitle} (\href{\FundingUrl}{\FundingId}) + \\\FundingDeadline + + \uline{Applicant} + \\\PiName + \\\PiTitle + \\\PiDepartment + \\\PiInstitution + \\\PiAddress + \\\href{http://\PiUrl}{\PiUrl} + \\\href{mailto:\PiEmail}{\PiEmail} + \\\PiPhone + + \uline{Program officer} + \\\PoName + \\\PoAddress + \\\href{mailto:\PoEmail}{\PoEmail} + \\\PoPhone +} + +\newcommand{\makeabstractcoverpage}{ + \begin{center}\LARGE\textbf{ + ABSTRACT\\[0.5ex] + \FundingId: \FundingTitle\\[0.5ex] + \ProposalTitle + }\end{center} + + \textbf{Technical point of contact: \PiName}\\ + \PiTitle\\ + \PiDepartment\\ + \PiInstitution\\ + \PiAddress\\ + Tel: \PiPhone, Fax: \PiFax, Email: \href{mailto:\PiEmail}{\PiEmail}, Web: \href{http://www.\PiUrl}{\PiUrl} + + \textbf{Administrative point of contact: \AdminName}\\ + \AdminTitle\\ + \AdminAddress\\ + \AdminInstitution\\ + Tel: \AdminPhone, Fax: \AdminFax, Email: \href{mailto:\AdminEmail}{\AdminEmail} + + \textbf{Lead organization: \LeadOrganizationName}\\ + \LeadOrganizationAddress\\ + DUNS number: \LeadOrganizationDUNS\\ + Taxpayer identification number: \LeadOrganizationTIN\\ + CAGE code: \LeadOrganizationCAGE + + \textbf{Other key personnel and primary subcontractors}\\ + \OtherKeyPersonnel + + \textbf{Duration: {\ProposalDurationInYears} years} + + \textbf{Estimated cost: \${\ProposalCostInMillions} million in total costs} + + \clearpage +} + + +% \begin{macrocode} +%</grant> +% \end{macrocode} + + +% \begin{macrocode} +%<*grant-arl> +% \end{macrocode} + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{grant-arl}[2016/01/19 ARL class] + +\newcommand{\draftstatus}{isnotdraft} +\DeclareOption{isdraft}{\renewcommand{\draftstatus}{isdraft}} +\DeclareOption{isnotdraft}{\renewcommand{\draftstatus}{isnotdraft}} + +\newcommand{\sectioncompactstatus}{isnotsectioncompact} +\DeclareOption{issectioncompact}{\renewcommand{\sectioncompactstatus}{issectioncompact}} +\DeclareOption{isnotsectioncompact}{\renewcommand{\sectioncompactstatus}{isnotsectioncompact}} + +\newcommand{\bibcompactstatus}{isnotbibcompact} +\DeclareOption{isbibcompact}{\renewcommand{\bibcompactstatus}{isbibcompact}} +\DeclareOption{isnotbibcompact}{\renewcommand{\bibcompactstatus}{isnotbibcompact}} + +\ExecuteOptions{isdraft, isnotdraft, issectioncompact, isnotsectioncompact, isbibcompact, isnotbibcompact} +\ProcessOptions + +\LoadClass[12pt, \draftstatus, \sectioncompactstatus, \bibcompactstatus]{grant} + +%%%%%%%%%%%%%%%%%%%%%% +%% formatting +%%%%%%%%%%%%%%%%%%%%%% + +%geometry +\geometry{margin=1in} + +%font +\usepackage{times} +\renewcommand{\familydefault}{\rmdefault} + +%paragraph skip +\setlength{\parskip}{4pt} + +% \begin{macrocode} +%</grant-arl> +% \end{macrocode} + + +% \begin{macrocode} +%<*grant-darpa> +% \end{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{grant-darpa}[2016/01/12 DARPA class] + +\newcommand{\draftstatus}{isnotdraft} +\DeclareOption{isdraft}{\renewcommand{\draftstatus}{isdraft}} +\DeclareOption{isnotdraft}{\renewcommand{\draftstatus}{isnotdraft}} + +\newcommand{\sectioncompactstatus}{isnotsectioncompact} +\DeclareOption{issectioncompact}{\renewcommand{\sectioncompactstatus}{issectioncompact}} +\DeclareOption{isnotsectioncompact}{\renewcommand{\sectioncompactstatus}{isnotsectioncompact}} + +\newcommand{\bibcompactstatus}{isnotbibcompact} +\DeclareOption{isbibcompact}{\renewcommand{\bibcompactstatus}{isbibcompact}} +\DeclareOption{isnotbibcompact}{\renewcommand{\bibcompactstatus}{isnotbibcompact}} + +\ExecuteOptions{isdraft, isnotdraft, issectioncompact, isnotsectioncompact, isbibcompact, isnotbibcompact} +\ProcessOptions + +\LoadClass[12pt, \draftstatus, \sectioncompactstatus, \bibcompactstatus]{grant} + +%%%%%%%%%%%%%%%%%%%%%% +%% formatting +%%%%%%%%%%%%%%%%%%%%%% + +%geometry +\geometry{margin=1in} + +%font +\usepackage{times} +\renewcommand{\familydefault}{\rmdefault} + +%paragraph skip +\setlength{\parskip}{4pt} +% \begin{macrocode} +%</grant-darpa> +% \end{macrocode} + + +% \begin{macrocode} +%<*grant-doe> +% \end{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{grant-doe}[2016/01/12 DOE class] + +\newcommand{\draftstatus}{isnotdraft} +\DeclareOption{isdraft}{\renewcommand{\draftstatus}{isdraft}} +\DeclareOption{isnotdraft}{\renewcommand{\draftstatus}{isnotdraft}} + +\newcommand{\sectioncompactstatus}{isnotsectioncompact} +\DeclareOption{issectioncompact}{\renewcommand{\sectioncompactstatus}{issectioncompact}} +\DeclareOption{isnotsectioncompact}{\renewcommand{\sectioncompactstatus}{isnotsectioncompact}} + +\newcommand{\bibcompactstatus}{isnotbibcompact} +\DeclareOption{isbibcompact}{\renewcommand{\bibcompactstatus}{isbibcompact}} +\DeclareOption{isnotbibcompact}{\renewcommand{\bibcompactstatus}{isnotbibcompact}} + +\ExecuteOptions{isdraft, isnotdraft, issectioncompact, isnotsectioncompact, isbibcompact, isnotbibcompact} +\ProcessOptions + +\LoadClass[\draftstatus, \sectioncompactstatus, \bibcompactstatus]{grant} + +%%%%%%%%%%%%%%%%%%%%%% +%% formatting +%%%%%%%%%%%%%%%%%%%%%% + +%geometry +\geometry{margin=1in} +% \begin{macrocode} +%</grant-doe> +% \end{macrocode} + + +% \begin{macrocode} +%<*grant-nih> +% \end{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{grant-nih}[2016/01/12 NIH class] + +\newcommand{\draftstatus}{isnotdraft} +\DeclareOption{isdraft}{\renewcommand{\draftstatus}{isdraft}} +\DeclareOption{isnotdraft}{\renewcommand{\draftstatus}{isnotdraft}} + +\newcommand{\sectioncompactstatus}{isnotsectioncompact} +\DeclareOption{issectioncompact}{\renewcommand{\sectioncompactstatus}{issectioncompact}} +\DeclareOption{isnotsectioncompact}{\renewcommand{\sectioncompactstatus}{isnotsectioncompact}} + +\newcommand{\bibcompactstatus}{isnotbibcompact} +\DeclareOption{isbibcompact}{\renewcommand{\bibcompactstatus}{isbibcompact}} +\DeclareOption{isnotbibcompact}{\renewcommand{\bibcompactstatus}{isnotbibcompact}} + +\ExecuteOptions{isdraft, isnotdraft, issectioncompact, isnotsectioncompact, isbibcompact, isnotbibcompact} +\ProcessOptions + +\LoadClass[\draftstatus, \sectioncompactstatus, \bibcompactstatus]{grant} + +%%%%%%%%%%%%%%%%%%%%%% +%% formatting +%%%%%%%%%%%%%%%%%%%%%% + +%geometry +\geometry{margin=0.5in} +\setlength{\parskip}{4pt} +% \begin{macrocode} +%</grant-nih> +% \end{macrocode} + + +% \begin{macrocode} +%<*grant-nrl> +% \end{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{grant-nrl}[2016/01/19 NRL class] + +\newcommand{\draftstatus}{isnotdraft} +\DeclareOption{isdraft}{\renewcommand{\draftstatus}{isdraft}} +\DeclareOption{isnotdraft}{\renewcommand{\draftstatus}{isnotdraft}} + +\newcommand{\sectioncompactstatus}{isnotsectioncompact} +\DeclareOption{issectioncompact}{\renewcommand{\sectioncompactstatus}{issectioncompact}} +\DeclareOption{isnotsectioncompact}{\renewcommand{\sectioncompactstatus}{isnotsectioncompact}} + +\newcommand{\bibcompactstatus}{isnotbibcompact} +\DeclareOption{isbibcompact}{\renewcommand{\bibcompactstatus}{isbibcompact}} +\DeclareOption{isnotbibcompact}{\renewcommand{\bibcompactstatus}{isnotbibcompact}} + +\ExecuteOptions{isdraft, isnotdraft, issectioncompact, isnotsectioncompact, isbibcompact, isnotbibcompact} +\ProcessOptions + +\LoadClass[12pt, \draftstatus, \sectioncompactstatus, \bibcompactstatus]{grant} + +%%%%%%%%%%%%%%%%%%%%%% +%% formatting +%%%%%%%%%%%%%%%%%%%%%% + +%geometry +\geometry{margin=1in} + +%font +\usepackage{times} +\renewcommand{\familydefault}{\rmdefault} + +%paragraph skip +\setlength{\parskip}{4pt} +% \begin{macrocode} +%</grant-nrl> +% \end{macrocode} + + +% \begin{macrocode} +%<*grant-nsf> +% \end{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{grant-nsf}[2016/01/12 NSF class] + +\newcommand{\draftstatus}{isnotdraft} +\DeclareOption{isdraft}{\renewcommand{\draftstatus}{isdraft}} +\DeclareOption{isnotdraft}{\renewcommand{\draftstatus}{isnotdraft}} + +\newcommand{\sectioncompactstatus}{isnotsectioncompact} +\DeclareOption{issectioncompact}{\renewcommand{\sectioncompactstatus}{issectioncompact}} +\DeclareOption{isnotsectioncompact}{\renewcommand{\sectioncompactstatus}{isnotsectioncompact}} + +\newcommand{\bibcompactstatus}{isnotbibcompact} +\DeclareOption{isbibcompact}{\renewcommand{\bibcompactstatus}{isbibcompact}} +\DeclareOption{isnotbibcompact}{\renewcommand{\bibcompactstatus}{isnotbibcompact}} + +\ExecuteOptions{isdraft, isnotdraft, issectioncompact, isnotsectioncompact, isbibcompact, isnotbibcompact} +\ProcessOptions + +\LoadClass[10pt, \draftstatus, \sectioncompactstatus, \bibcompactstatus]{grant} + +%%%%%%%%%%%%%%%%%%%%%% +%% formatting +%%%%%%%%%%%%%%%%%%%%%% + +%geometry +\geometry{margin=1in} +% \begin{macrocode} +%</grant-nsf> +% \end{macrocode} + + +% \begin{macrocode} +%<*grant-onr> +% \end{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{grant-onr}[2016/01/19 ONR class] + +\newcommand{\draftstatus}{isnotdraft} +\DeclareOption{isdraft}{\renewcommand{\draftstatus}{isdraft}} +\DeclareOption{isnotdraft}{\renewcommand{\draftstatus}{isnotdraft}} + +\newcommand{\sectioncompactstatus}{isnotsectioncompact} +\DeclareOption{issectioncompact}{\renewcommand{\sectioncompactstatus}{issectioncompact}} +\DeclareOption{isnotsectioncompact}{\renewcommand{\sectioncompactstatus}{isnotsectioncompact}} + +\newcommand{\bibcompactstatus}{isnotbibcompact} +\DeclareOption{isbibcompact}{\renewcommand{\bibcompactstatus}{isbibcompact}} +\DeclareOption{isnotbibcompact}{\renewcommand{\bibcompactstatus}{isnotbibcompact}} + +\ExecuteOptions{isdraft, isnotdraft, issectioncompact, isnotsectioncompact, isbibcompact, isnotbibcompact} +\ProcessOptions + +\LoadClass[12pt, \draftstatus, \sectioncompactstatus, \bibcompactstatus]{grant} + +%%%%%%%%%%%%%%%%%%%%%% +%% formatting +%%%%%%%%%%%%%%%%%%%%%% + +%geometry +\geometry{margin=1in} + +%font +\usepackage{times} +\renewcommand{\familydefault}{\rmdefault} + +%paragraph skip +\setlength{\parskip}{4pt} +% \begin{macrocode} +%</grant-onr> +% \end{macrocode} +% +% \Finale
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/grant/grant.ins b/Master/texmf-dist/source/latex/grant/grant.ins new file mode 100644 index 00000000000..74f5035994a --- /dev/null +++ b/Master/texmf-dist/source/latex/grant/grant.ins @@ -0,0 +1,56 @@ +%% +%% Copyright (C) 2016 Jonathan Karr <karr@mssm.edu> +%% +%% This file may be distributed and/or modified under the conditions of +%% the MIT License. The latest version of this license is in: +%% +%% https://github.com/KarrLab/latex-grant/blob/master/LICENSE +%% + +\input docstrip.tex +\keepsilent + +\usedir{tex/latex/grant} + +\preamble + +This is a generated file. + +Copyright (C) 2016 Jonathan Karr <karr@mssm.edu> + +This file may be distributed and/or modified under the conditions of +the MIT License. The latest version of this license is in: + + https://github.com/KarrLab/latex-grant/blob/master/LICENSE + +\endpreamble + +\generate{\file{grant.cls}{\from{grant.dtx}{grant}}} +\generate{\file{grant-arl.cls}{\from{grant.dtx}{arl}}} +\generate{\file{grant-darpa.cls}{\from{grant.dtx}{darpa}}} +\generate{\file{grant-doe.cls}{\from{grant.dtx}{doe}}} +\generate{\file{grant-nih.cls}{\from{grant.dtx}{nih}}} +\generate{\file{grant-nrl.cls}{\from{grant.dtx}{nrl}}} +\generate{\file{grant-nsf.cls}{\from{grant.dtx}{nsf}}} +\generate{\file{grant-onr.cls}{\from{grant.dtx}{onr}}} + +\obeyspaces +\Msg{*************************************************************} +\Msg{* *} +\Msg{* To finish the installation you have to move the following *} +\Msg{* files into a directory searched by TeX: *} +\Msg{* *} +\Msg{* grant.cls *} +\Msg{* grant-arl.cls *} +\Msg{* grant-darpa.cls *} +\Msg{* grant-doe.cls *} +\Msg{* grant-nih.cls *} +\Msg{* grant-nrl.cls *} +\Msg{* grant-nsf.cls *} +\Msg{* grant-onr.cls *} +\Msg{* *} +\Msg{* To produce the documentation run `latex grant.dtx` *} +\Msg{* *} +\Msg{*************************************************************} + +\endbatchfile
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/grant/grant-arl.cls b/Master/texmf-dist/tex/latex/grant/grant-arl.cls new file mode 100644 index 00000000000..b460ee775aa --- /dev/null +++ b/Master/texmf-dist/tex/latex/grant/grant-arl.cls @@ -0,0 +1,47 @@ +%% +%% This is file `grant-arl.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% grant.dtx (with options: `arl') +%% +%% This is a generated file. +%% +%% Copyright (C) 2016 Jonathan Karr <karr@mssm.edu> +%% +%% This file may be distributed and/or modified under the conditions of +%% the MIT License. The latest version of this license is in: +%% +%% https://github.com/KarrLab/latex-grant/blob/master/LICENSE +%% + + +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} + + + + + + + + + + +\endinput +%% +%% End of file `grant-arl.cls'. diff --git a/Master/texmf-dist/tex/latex/grant/grant-darpa.cls b/Master/texmf-dist/tex/latex/grant/grant-darpa.cls new file mode 100644 index 00000000000..3816c0df544 --- /dev/null +++ b/Master/texmf-dist/tex/latex/grant/grant-darpa.cls @@ -0,0 +1,47 @@ +%% +%% This is file `grant-darpa.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% grant.dtx (with options: `darpa') +%% +%% This is a generated file. +%% +%% Copyright (C) 2016 Jonathan Karr <karr@mssm.edu> +%% +%% This file may be distributed and/or modified under the conditions of +%% the MIT License. The latest version of this license is in: +%% +%% https://github.com/KarrLab/latex-grant/blob/master/LICENSE +%% + + +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} + + + + + + + + + + +\endinput +%% +%% End of file `grant-darpa.cls'. diff --git a/Master/texmf-dist/tex/latex/grant/grant-doe.cls b/Master/texmf-dist/tex/latex/grant/grant-doe.cls new file mode 100644 index 00000000000..e02eafae990 --- /dev/null +++ b/Master/texmf-dist/tex/latex/grant/grant-doe.cls @@ -0,0 +1,47 @@ +%% +%% This is file `grant-doe.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% grant.dtx (with options: `doe') +%% +%% This is a generated file. +%% +%% Copyright (C) 2016 Jonathan Karr <karr@mssm.edu> +%% +%% This file may be distributed and/or modified under the conditions of +%% the MIT License. The latest version of this license is in: +%% +%% https://github.com/KarrLab/latex-grant/blob/master/LICENSE +%% + + +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} + + + + + + + + + + +\endinput +%% +%% End of file `grant-doe.cls'. diff --git a/Master/texmf-dist/tex/latex/grant/grant-nih.cls b/Master/texmf-dist/tex/latex/grant/grant-nih.cls new file mode 100644 index 00000000000..5d9f5f38049 --- /dev/null +++ b/Master/texmf-dist/tex/latex/grant/grant-nih.cls @@ -0,0 +1,47 @@ +%% +%% This is file `grant-nih.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% grant.dtx (with options: `nih') +%% +%% This is a generated file. +%% +%% Copyright (C) 2016 Jonathan Karr <karr@mssm.edu> +%% +%% This file may be distributed and/or modified under the conditions of +%% the MIT License. The latest version of this license is in: +%% +%% https://github.com/KarrLab/latex-grant/blob/master/LICENSE +%% + + +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} + + + + + + + + + + +\endinput +%% +%% End of file `grant-nih.cls'. diff --git a/Master/texmf-dist/tex/latex/grant/grant-nrl.cls b/Master/texmf-dist/tex/latex/grant/grant-nrl.cls new file mode 100644 index 00000000000..f874634648f --- /dev/null +++ b/Master/texmf-dist/tex/latex/grant/grant-nrl.cls @@ -0,0 +1,47 @@ +%% +%% This is file `grant-nrl.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% grant.dtx (with options: `nrl') +%% +%% This is a generated file. +%% +%% Copyright (C) 2016 Jonathan Karr <karr@mssm.edu> +%% +%% This file may be distributed and/or modified under the conditions of +%% the MIT License. The latest version of this license is in: +%% +%% https://github.com/KarrLab/latex-grant/blob/master/LICENSE +%% + + +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} + + + + + + + + + + +\endinput +%% +%% End of file `grant-nrl.cls'. diff --git a/Master/texmf-dist/tex/latex/grant/grant-nsf.cls b/Master/texmf-dist/tex/latex/grant/grant-nsf.cls new file mode 100644 index 00000000000..d89dda72c25 --- /dev/null +++ b/Master/texmf-dist/tex/latex/grant/grant-nsf.cls @@ -0,0 +1,47 @@ +%% +%% This is file `grant-nsf.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% grant.dtx (with options: `nsf') +%% +%% This is a generated file. +%% +%% Copyright (C) 2016 Jonathan Karr <karr@mssm.edu> +%% +%% This file may be distributed and/or modified under the conditions of +%% the MIT License. The latest version of this license is in: +%% +%% https://github.com/KarrLab/latex-grant/blob/master/LICENSE +%% + + +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} + + + + + + + + + + +\endinput +%% +%% End of file `grant-nsf.cls'. diff --git a/Master/texmf-dist/tex/latex/grant/grant-onr.cls b/Master/texmf-dist/tex/latex/grant/grant-onr.cls new file mode 100644 index 00000000000..5bbe8c427f6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/grant/grant-onr.cls @@ -0,0 +1,47 @@ +%% +%% This is file `grant-onr.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% grant.dtx (with options: `onr') +%% +%% This is a generated file. +%% +%% Copyright (C) 2016 Jonathan Karr <karr@mssm.edu> +%% +%% This file may be distributed and/or modified under the conditions of +%% the MIT License. The latest version of this license is in: +%% +%% https://github.com/KarrLab/latex-grant/blob/master/LICENSE +%% + + +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} + + + + + + + + + + +\endinput +%% +%% End of file `grant-onr.cls'. diff --git a/Master/texmf-dist/tex/latex/grant/grant.cls b/Master/texmf-dist/tex/latex/grant/grant.cls new file mode 100644 index 00000000000..7daa0b01a16 --- /dev/null +++ b/Master/texmf-dist/tex/latex/grant/grant.cls @@ -0,0 +1,456 @@ +%% +%% This is file `grant.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% grant.dtx (with options: `grant') +%% +%% This is a generated file. +%% +%% Copyright (C) 2016 Jonathan Karr <karr@mssm.edu> +%% +%% This file may be distributed and/or modified under the conditions of +%% the MIT License. The latest version of this license is in: +%% +%% https://github.com/KarrLab/latex-grant/blob/master/LICENSE +%% + + +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} + + + + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{grant}[2016/01/12 grant class] + +%%%%%%%%%%%%%%%%%%%%%% +%% options +%%%%%%%%%%%%%%%%%%%%%% + +\usepackage{etoolbox} + +\newcommand{\fntsiz}{11pt} +\DeclareOption{10pt}{\renewcommand{\fntsiz}{10pt}} +\DeclareOption{11pt}{\renewcommand{\fntsiz}{11pt}} +\DeclareOption{12pt}{\renewcommand{\fntsiz}{12pt}} + +\newbool{isdraft} +\boolfalse{isdraft} +\DeclareOption{isdraft} + {\booltrue{isdraft}} +\DeclareOption{isnotdraft} + {\boolfalse{isdraft}} + +\newbool{issectioncompact} +\boolfalse{issectioncompact} +\DeclareOption{issectioncompact} + {\booltrue{issectioncompact}} +\DeclareOption{isnotsectioncompact} + {\boolfalse{issectioncompact}} + +\newbool{isbibcompact} +\boolfalse{isbibcompact} +\DeclareOption{isbibcompact} + {\booltrue{isbibcompact}} +\DeclareOption{isnotbibcompact} + {\boolfalse{isbibcompact}} + +\ExecuteOptions{isdraft, isnotdraft, issectioncompact, isnotsectioncompact, isbibcompact, isnotbibcompact} +\ProcessOptions + +%%%%%%%%%%%%%%%%%%%%%% +%% load book class +%%%%%%%%%%%%%%%%%%%%%% +\LoadClass[\fntsiz,oneside]{book} + +%%%%%%%%%%%%%%%%%%%%%% +%% formatting +%%%%%%%%%%%%%%%%%%%%%% + +\usepackage[english]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{uarial} +\renewcommand{\familydefault}{\sfdefault} + +\usepackage[normalem]{ulem} +\usepackage{soul} + +\usepackage{setspace} +\singlespacing + +\usepackage[paperwidth=8.5in, paperheight=11in, margin=1in, footskip=20pt]{geometry} + +\setlength{\parindent}{0in} +\setlength{\parskip}{5pt} + +\setcounter{secnumdepth}{5} +\usepackage[compact,explicit]{titlesec} + +\titleclass{\part}{top} + +\titleformat{\part}[block]{\centering\LARGE\bfseries}{}{0pt}{\LARGE\MakeUppercase{#1}}[] +\titleformat{\chapter}[block]{\large\bfseries}{}{0pt}{\large\MakeUppercase{#1}}[] +\titleformat{\section}[block]{\bfseries}{\uline{\thesection.~}}{0ex}{\uline{#1}}[] +\titleformat{\subsection}[runin]{\bfseries}{\thesubsection.~}{0ex}{#1}[] +\titleformat{\subsubsection}[runin]{}{\uline{\thesubsubsection.~}}{0ex}{\uline{#1}}[.] +\titleformat{\paragraph}[runin]{\itshape}{\theparagraph.~}{0ex}{#1}[.] +\titleformat{\subparagraph}[runin]{}{}{0ex}{\uline{#1}}[:] + +\titlespacing*{\part}{0pt}{-3.5ex}{*-1} +\titlespacing*{\chapter}{0pt}{-3.5ex}{*-0.5} +\titlespacing*{\section}{0pt}{*0.0}{*-1} +\titlespacing*{\subsection}{0pt}{*0.0}{*0.5} +\titlespacing*{\subsubsection}{0pt}{*0.0}{*0.5} +\titlespacing*{\paragraph}{0pt}{*0}{*0.5} +\titlespacing*{\subparagraph}{0pt}{*0}{*0.5} + +\renewcommand*\thesection{\arabic{section}} +\renewcommand*\thesubsection{\Alph{subsection}} +\renewcommand*\thesubsubsection{\roman{subsubsection}} +\renewcommand*\theparagraph{\arabic{paragraph}} + +\makeatletter +\newcommand{\chapternotitle}[1]{% + \begingroup + \let\@makechapterhead\@gobble % make \@makechapterhead do nothing + \chapter{#1} + \endgroup +} +\makeatother + +\newcommand{\partnonum}[2][part]{% +\phantomsection% +\addcontentsline{toc}{#1}{#2}% +\part*{#2}% +} + +\newcommand{\chapternonum}[2][chapter]{% +\phantomsection% +\addcontentsline{toc}{#1}{#2}% +\chapter*{#2}% +} + +\newcommand{\sectionnonum}[2][section]{% +\phantomsection% +\addcontentsline{toc}{#1}{#2}% +\section*{#2}% +} +\newcommand{\subsectionnonum}[2][subsection]{% +\phantomsection% +\addcontentsline{toc}{#1}{#2}% +\subsection*{#2}% +} +\newcommand{\subsubsectionnonum}[2][subsubsection]{% +\phantomsection% +\addcontentsline{toc}{#1}{#2}% +\subsubsection*{#2}% +} + +\ifbool{issectioncompact}{ + \titleformat{\section}[runin]{\bfseries}{\uline{\thesection.~}}{0ex}{\uline{#1}}[.] + \titlespacing*{\section}{0pt}{*0.0}{*0.5} +}{} + +\usepackage[auto]{chappg} + +\usepackage{fancyhdr} +\pagestyle{fancy} +\assignpagestyle{\chapter}{fancy} +\renewcommand{\chaptermark}[1]{\markboth{#1}{}} +\renewcommand{\headrulewidth}{0pt} +\renewcommand{\footrulewidth}{0pt} +\fancyhf{} +\ifbool{isdraft}{ + \lfoot{\small\leftmark} + \rfoot{\small\thepage} +}{} + +\usepackage{paralist} +\usepackage{enumitem} +\setlist[itemize]{topsep=0pt, partopsep=0ex, parsep=0ex, itemsep=0ex, leftmargin=1em} +\setlist[enumerate]{topsep=0pt, partopsep=0ex, parsep=0ex, itemsep=0ex, leftmargin=1.3em} + +\usepackage{hyphenat} + +\usepackage[backend=bibtex8,style=nature,citestyle=numeric-comp,sorting=none,maxbibnames=30,minbibnames=30,autocite=superscript,firstinits=true,terseinits=true]{biblatex} +\let\cite=\autocite +\renewbibmacro*{name:last-first}[4]{% + \ifuseprefix + {% + \usebibmacro{name:delim}{#3#1}% + \usebibmacro{name:hook}{#3#1}% + \ifblank{#3}{} + {% + \ifcapital + {\mkbibnameprefix{\MakeCapital{#3}}\isdot} + {\mkbibnameprefix{#3}\isdot}% + \ifpunctmark{'}{}{\addhighpenspace}% + }% + \mkbibnamelast{#1}\isdot + \ifblank{#2} + {}{\addlowpenspace\mkbibnamefirst{#2}}% + \ifblank{#4}{}{\addlowpenspace\mkbibnameaffix{#4}\isdot}% + } + {% + \usebibmacro{name:delim}{#1}% + \usebibmacro{name:hook}{#1}% + \mkbibnamelast{#1}\isdot + \ifblank{#2#3}{}{\addcomma}% + \ifblank{#2}{}{\addlowpenspace\mkbibnamefirst{#2}\isdot}% + \ifblank{#3}{}{\addlowpenspace\mkbibnameprefix{#3}\isdot}% + \ifblank{#4}{}{\addlowpenspace\mkbibnameaffix{#4}\isdot}% + }% +} +\setlength{\bibitemsep}{0pt} +\setlength{\biblabelsep}{5pt} + +\ifbool{isbibcompact}{ + \defbibenvironment{bibliography} + {\inparaenum[ (1)]} + {\endinparaenum} + {\item} + + \renewcommand{\bibfont}{\footnotesize} + + \ExecuteBibliographyOptions{maxbibnames=1,minbibnames=1} + \DeclareFieldFormat[article]{title}{} + \DeclareFieldFormat[article]{pages}{} + \DeclareFieldFormat[article]{volume}{} + \DeclareFieldFormat[article]{number}{} + \DeclareFieldFormat[online]{url}{} + \DeclareFieldFormat[online]{urldate}{} + + \renewbibmacro*{issue+date}{% + \iffieldundef{year} + {} + {% + \iffieldundef{issue} + {\printtext[]{\usebibmacro{date}}} + {% + \printtext[parens]{% + \printfield{issue}% + \setunit*{\addspace}% + \usebibmacro{date}% + }% + }% + }% + \newunit + } + + \renewbibmacro*{name:last-first}[4]{% + \ifuseprefix + {% + \usebibmacro{name:delim}{#3#1}% + \usebibmacro{name:hook}{#3#1}% + \ifblank{#3}{} + {% + \ifcapital + {\mkbibnameprefix{\MakeCapital{#3}}\isdot} + {\mkbibnameprefix{#3}\isdot}% + \ifpunctmark{'}{}{\addhighpenspace}% + }% + \mkbibnamelast{#1}\isdot + \ifblank{#2} + {}{% + %\addlowpenspace\mkbibnamefirst{#2} + }% + \ifblank{#4}{}{\addlowpenspace\mkbibnameaffix{#4}\isdot}% + } + {% + \usebibmacro{name:delim}{#1}% + \usebibmacro{name:hook}{#1}% + \mkbibnamelast{#1}\isdot + \ifblank{#2#3}{}{\addcomma}% + %\ifblank{#2}{}{\addlowpenspace\mkbibnamefirst{#2}\isdot}% + \ifblank{#3}{}{\addlowpenspace\mkbibnameprefix{#3}\isdot}% + \ifblank{#4}{}{\addlowpenspace\mkbibnameaffix{#4}\isdot}% + }% + } +}{} + +\usepackage{graphicx} +\DeclareGraphicsExtensions{% + .pdf,.PDF,% + .png,.PNG,% + .jpg,.jpeg} + +\usepackage[font=footnotesize,labelfont=bf,singlelinecheck=false,labelsep=period, skip=2pt]{caption} + +\ifbool{isdraft}{ + \usepackage[breaklinks=true, bookmarksdepth=3]{hyperref} +}{ + \usepackage[breaklinks=true, bookmarksdepth=0, bookmarks=false]{hyperref} + \let\oldcite\cite + \renewcommand{\cite}[1]{% + \begin{NoHyper}\oldcite{#1}\end{NoHyper}% + } +} + +\usepackage{tabularx} +\usepackage{longtable} +\usepackage{ltxtable} + +\renewcommand{\figurename}{Fig.} +\renewcommand{\tablename}{Tab.} +\addto\captionsenglish{\renewcommand{\figurename}{Fig.}} +\addto\captionsenglish{\renewcommand{\tablename}{Tab.}} +\renewcommand*\thefigure{\arabic{figure}} +\renewcommand*\thetable{\arabic{table}} + +\usepackage{placeins} + +\usepackage{pdfpages} + +\usepackage{lineno} + +\setlength{\textfloatsep}{5.0pt plus 0.5pt minus 1pt} + +\usepackage{tabularx} +\usepackage{booktabs} +\usepackage{wrapfig} + +\usepackage{amsmath} +\usepackage{csquotes} + +\usepackage[author={}, color=yellow]{pdfcomment} + +\newcommand{\dontcite}[1]{} + +\usepackage{multicol} + +%%%%%%%%%%%%%%%%%%%% +%% Cover page +%%%%%%%%%%%%%%%%%%%% +\newcommand{\FundingAgency}{} +\newcommand{\FundingId}{} +\newcommand{\FundingTitle}{} +\newcommand{\FundingUrl}{} +\newcommand{\FundingDeadline}{} + +\newcommand{\ProposalTitle}{} +\newcommand{\ProposalDurationInYears}{} +\newcommand{\ProposalCostInMillions}{} + +\newcommand{\PiName}{} +\newcommand{\PiTitle}{} +\newcommand{\PiDepartment}{} +\newcommand{\PiInstitution}{} +\newcommand{\PiAddress}{} +\newcommand{\PiUrl}{} +\newcommand{\PiEmail}{} +\newcommand{\PiPhone}{} +\newcommand{\PiFax}{} + +\newcommand{\OtherKeyPersonnel}{} + +\newcommand{\LeadOrganizationName}{} +\newcommand{\LeadOrganizationAddress}{} +\newcommand{\LeadOrganizationDUNS}{} +\newcommand{\LeadOrganizationTIN}{} +\newcommand{\LeadOrganizationCAGE}{} + +\newcommand{\AdminName}{} +\newcommand{\AdminTitle}{} +\newcommand{\AdminAddress}{} +\newcommand{\AdminInstitution}{} +\newcommand{\AdminPhone}{} +\newcommand{\AdminFax}{} +\newcommand{\AdminEmail}{} + +\newcommand{\PoName}{} +\newcommand{\PoAddress}{} +\newcommand{\PoEmail}{} +\newcommand{\PoPhone}{} + +\newcommand{\makecoverpage}{ + {\LARGE\bfseries + + \ProposalTitle + + } + \vskip1ex + \uline{Funding opportunity} + \\\FundingAgency + \\{\FundingTitle} (\href{\FundingUrl}{\FundingId}) + \\\FundingDeadline + + \uline{Applicant} + \\\PiName + \\\PiTitle + \\\PiDepartment + \\\PiInstitution + \\\PiAddress + \\\href{http://\PiUrl}{\PiUrl} + \\\href{mailto:\PiEmail}{\PiEmail} + \\\PiPhone + + \uline{Program officer} + \\\PoName + \\\PoAddress + \\\href{mailto:\PoEmail}{\PoEmail} + \\\PoPhone +} + +\newcommand{\makeabstractcoverpage}{ + \begin{center}\LARGE\textbf{ + ABSTRACT\\[0.5ex] + \FundingId: \FundingTitle\\[0.5ex] + \ProposalTitle + }\end{center} + + \textbf{Technical point of contact: \PiName}\\ + \PiTitle\\ + \PiDepartment\\ + \PiInstitution\\ + \PiAddress\\ + Tel: \PiPhone, Fax: \PiFax, Email: \href{mailto:\PiEmail}{\PiEmail}, Web: \href{http://www.\PiUrl}{\PiUrl} + + \textbf{Administrative point of contact: \AdminName}\\ + \AdminTitle\\ + \AdminAddress\\ + \AdminInstitution\\ + Tel: \AdminPhone, Fax: \AdminFax, Email: \href{mailto:\AdminEmail}{\AdminEmail} + + \textbf{Lead organization: \LeadOrganizationName}\\ + \LeadOrganizationAddress\\ + DUNS number: \LeadOrganizationDUNS\\ + Taxpayer identification number: \LeadOrganizationTIN\\ + CAGE code: \LeadOrganizationCAGE + + \textbf{Other key personnel and primary subcontractors}\\ + \OtherKeyPersonnel + + \textbf{Duration: {\ProposalDurationInYears} years} + + \textbf{Estimated cost: \${\ProposalCostInMillions} million in total costs} + + \clearpage +} + + + + + + + + +\endinput +%% +%% End of file `grant.cls'. |