summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/grant/grant-nsf.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/grant/grant-nsf.cls')
-rw-r--r--Master/texmf-dist/tex/latex/grant/grant-nsf.cls34
1 files changed, 32 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/grant/grant-nsf.cls b/Master/texmf-dist/tex/latex/grant/grant-nsf.cls
index d89dda72c25..9d891fce29f 100644
--- a/Master/texmf-dist/tex/latex/grant/grant-nsf.cls
+++ b/Master/texmf-dist/tex/latex/grant/grant-nsf.cls
@@ -4,11 +4,11 @@
%%
%% The original source files were:
%%
-%% grant.dtx (with options: `nsf')
+%% grant.dtx (with options: `grant-nsf')
%%
%% 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:
@@ -42,6 +42,36 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{grant-nsf}[2019/02/26 NSF 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[10pt, \draftstatus, \whitepaperstatus, \sectioncompactstatus, \bibcompactstatus]{grant}
+
+%%%%%%%%%%%%%%%%%%%%%%
+%% formatting
+%%%%%%%%%%%%%%%%%%%%%%
+
+\geometry{margin=1in}
+
\endinput
%%
%% End of file `grant-nsf.cls'.