summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/grant/grant-nih.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/grant/grant-nih.cls')
-rw-r--r--Master/texmf-dist/tex/latex/grant/grant-nih.cls35
1 files changed, 33 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/grant/grant-nih.cls b/Master/texmf-dist/tex/latex/grant/grant-nih.cls
index 5d9f5f38049..a09ab832640 100644
--- a/Master/texmf-dist/tex/latex/grant/grant-nih.cls
+++ b/Master/texmf-dist/tex/latex/grant/grant-nih.cls
@@ -4,11 +4,11 @@
%%
%% The original source files were:
%%
-%% grant.dtx (with options: `nih')
+%% grant.dtx (with options: `grant-nih')
%%
%% This is a generated file.
%%
-%% Copyright (C) 2016 Jonathan Karr <karr@mssm.edu>
+%% Copyright (C) 2016-2019 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:
@@ -40,6 +40,37 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{grant-nih}[2019/02/26 NIH class]
+
+\newcommand{\draftstatus}{isnotdraft}
+\DeclareOption{isdraft}{\renewcommand{\draftstatus}{isdraft}}
+\DeclareOption{isnotdraft}{\renewcommand{\draftstatus}{isnotdraft}}
+
+\newcommand{\whitepaperstatus}{isnotwhitepaper}
+\DeclareOption{iswhitepaper}{\renewcommand{\whitepaperstatus}{iswhitepaper}}
+\DeclareOption{isnotwhitepaper}{\renewcommand{\whitepaperstatus}{isnotwhitepaper}}
+
+\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, iswhitepaper, isnotwhitepaper, issectioncompact, isnotsectioncompact, isbibcompact, isnotbibcompact}
+\ProcessOptions
+
+\LoadClass[\draftstatus, \whitepaperstatus, \sectioncompactstatus, \bibcompactstatus]{grant}
+
+%%%%%%%%%%%%%%%%%%%%%%
+%% formatting
+%%%%%%%%%%%%%%%%%%%%%%
+
+\geometry{margin=0.5in}
+\setlength{\parskip}{4pt}
+
\endinput