summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/sf298
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-07-07 21:42:30 +0000
committerKarl Berry <karl@freefriends.org>2016-07-07 21:42:30 +0000
commitb61d8f5659da3efee7a202e8aece733d38b071e3 (patch)
tree8d7c00c128dacde1784665cd6fea7cfd0f31ce17 /Master/texmf-dist/tex/latex/sf298
parent0b0d95d3d5c04e591911d2f6f80961eedfc79188 (diff)
sf298 (7jul16)
git-svn-id: svn://tug.org/texlive/trunk@41653 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/sf298')
-rw-r--r--Master/texmf-dist/tex/latex/sf298/sf298.sty156
1 files changed, 151 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/sf298/sf298.sty b/Master/texmf-dist/tex/latex/sf298/sf298.sty
index 175a94a0e24..d6f6c767aed 100644
--- a/Master/texmf-dist/tex/latex/sf298/sf298.sty
+++ b/Master/texmf-dist/tex/latex/sf298/sf298.sty
@@ -8,6 +8,8 @@
%%
%% Copyright (C) 2000,2005 Steven Douglas Cochran.
%%
+%% The copyright remains with the above author.
+%%
%% This file is NOT the source for sf298, because almost all comments
%% have been stripped from it. It is NOT the preferred form of sf298 for
%% making modifications to it.
@@ -27,11 +29,20 @@
%% Project Public License for more details.
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{sf298}[2004/12/22 Standard Form 298]
-\typeout{Package: sf298 2004/12/22 v1.2)}
+\ProvidesPackage{sf298}[2016/07/07 Standard Form 298]
+\typeout{Package: sf298 2016/07/07 v1.3)}
+\providecommand{\eg}{{\it e.g.\/\ }}
\IfFileExists{totpages.sty}{%
\usepackage{totpages}
\newcounter{sf@page}}{}
+\IfFileExists{multicol.sty}{%
+ \usepackage{multicol}}
+ {\PackageError {sf298}{The multicol package was not found.}
+ {Install the multicol package on your system.}}
+\IfFileExists{fancyhdr.sty}{%
+ \usepackage{fancyhdr}}
+ {\PackageError {sf298}{The fancyhdr package was not found.}
+ {Install the fancyhdr package on your system.}}
\newcommand\ReportDate[1]{\renewcommand\sf@ReportDate{#1}}
\newcommand\sf@ReportDate{\number\day--\number\month--\number\year}
\newcommand\ReportType[1]{\renewcommand\sf@ReportType{#1}}
@@ -96,6 +107,9 @@
\newcommand\sf@NumberPages{\relax}
\newcommand\sf@SNumberPages[1]{\renewcommand\sf@ExtraPages{#1}}
\newcommand\sf@ExtraPages{0}
+\fancypagestyle{sf298FormIDStyle}
+{\fancyhf{}\renewcommand{\headrulewidth}{0pt}
+\fancyfoot[R]{\footnotesize {\bfseries Standard Form 298 Back} (Rev.\ 8/98)} }
\DeclareOption{config}{\def\sf@config{Y}}
\DeclareOption{noconfig}{\def\sf@config{N}}
\newif\ifsf@floatlongboxes
@@ -134,6 +148,10 @@
\newcommand{\sf@settitlefontF}{\sf@setfont{\sf@titlefontF}{9.5pt}}
\DeclareFixedFont{\sf@entryfont}{OT1}{\rmdefault}{m}{n}{\@xpt}
\newcommand{\sf@setentryfont}{\sf@setfont{\sf@entryfont}{11pt}}
+\DeclareFixedFont{\sf@revfontbold}{OT1}{\sfdefault}{bx}{n}{9pt}
+\newcommand{\sf@setrevfontbold}{\sf@setfont{\sf@revfontbold}{10pt}}
+\DeclareFixedFont{\sf@revfont}{OT1}{\sfdefault}{m}{n}{9pt}
+\newcommand{\sf@setrevfont}{\sf@setfont{\sf@revfont}{10pt}}
\newif\ifsf@undef
\sf@undeffalse
\newcommand{\sf@undefined}[1][\@empty]{%
@@ -156,6 +174,10 @@
\sf@undefined[#1]
\fi}
\AtEndDocument{\sf@undefined}
+\newcommand{\ReportDescription}{%
+ \global\let\thanks\@gobble
+ \MakeRptDocPage
+ \global\let\thanks\relax}
\newcommand\MakeRptDocPage{%
\newpage
\if@twoside\ifodd\c@page\else
@@ -287,6 +309,10 @@
\global\let\sf@settitlefontF\relax
\global\let\sf@entryfont\relax
\global\let\sf@setentryfont\relax
+ \global\let\sf@revfontbold\relax
+ \global\let\sf@setrevfontbold\relax
+ \global\let\sf@revfont\relax
+ \global\let\sf@setrevfont\relax
\global\let\sf@checkfield\relax
\global\let\sf@parbox\relax
\global\let\sf@drawform\relax
@@ -438,10 +464,10 @@
\put(324, 0){\makebox(215, 24)[tl]{%
\sf@settitlefontE\sf@strut 19b.\ TELEPHONE NUMBER
\sf@settitlefontF (include area code)}}
- \put(415,-17){\makebox(123, 17)[bl]{%
+ \put(405,-25){\makebox(123, 17)[bl]{%
\shortstack[l]{%
- {\sf@settitlefontE Standard Form 298 (Rev.\ 8--98)}\\[-2pt]%
- {\sf@settitlefontD Prescribed by ANSI Std.\ Z39.18}}}}
+ {{\sf@setrevfontbold Standard Form 298} \sf@setrevfont (Rev.\ 8/98)}\\[-2pt]%
+ {\sf@setrevfont Prescribed by ANSI Std.\ Z39.18}}}}
% Fill in form
\put( 4,614){\makebox(0,0)[bl]{\sf@ReportDate}}
\put(148,614){\makebox(0,0)[bl]{\sf@ReportType}}
@@ -513,6 +539,126 @@
\put(328, 33){\makebox(0,0)[l]{\sf@ResponsiblePerson}}
\put(328, 9){\makebox(0,0)[l]{\sf@RPTelephone}}
\end{picture}}
+\newcommand\GeneralInstructions[1]{%
+ \global\let\thanks\@gobble
+ \MakeGenInsPage{#1}
+ \global\let\thanks\relax}
+\newcommand\MakeGenInsPage[1]{%
+ \newpage
+ \if@twoside\ifodd\c@page\else
+ \null
+ \thispagestyle{empty}%
+ \newpage
+ \fi\fi
+ \vspace{1ex}
+
+ \thispagestyle{sf298FormIDStyle} % insert document code in footer
+\begin{#1} % set font size
+\noindent
+\fbox{\begin{minipage}{\textwidth}
+\vspace{3ex}
+\begin{center}
+\textbf{INSTRUCTIONS FOR COMPLETING SF 298}
+\end{center}
+
+\vspace{1ex}
+
+\setlength{\columnsep}{0.8cm}
+\setlength{\columnseprule}{0.2pt}
+\vspace{-4ex}
+
+\begin{multicols}{2}
+\noindent
+\textbf{1.~REPORT DATE.} Full publication date including day, month,
+and year, if available. Must cite at least the year and be Year 2000
+compliant, \eg 30-06-1998; xx-06-1998; xx-xx-1998.\hfill
+\\ \\ \noindent
+\textbf{2.~REPORT TYPE.} State the type of report, such as final,
+technical, interim, memorandum, master's thesis, progress, quarterly,
+research, special, group study, etc.\hfill
+\\ \\ \noindent
+\textbf{3.~DATE COVERED.} Indicate the time during which the work was
+performed and the report was written, \eg, Jun 1997 - Jun 1998;
+1-10 Jun 1996; May - Nov 1998; Nov 1998.\hfill
+\\ \\ \noindent
+\textbf{4.~TITLE.} Enter title and subtitle with volume number and part
+number, if applicable. On classified documents, enter the title
+classification in parentheses.\hfill
+\\ \\ \noindent
+\textbf{5a.~CONTRACT NUMBER.} Enter all contract numbers as they
+appear in the report, \eg F33315-86-C-5169.\hfill
+\\ \\ \noindent
+\textbf{5b.~GRANT NUMBER.} Enter all grant numbers as they appear in the
+report. \eg AFOSR-82-1234.\hfill
+\\ \\ \noindent
+\textbf{5c.~PROGRAM ELEMENT NUMBER.} Enter all program element numbers
+as they appear in the report, \eg 61101A.\hfill
+\\ \\ \noindent
+\textbf{5e.~TASK NUMBER.} Enter all task numbers as they appear in the
+report, \eg 05; RF0330201; T4112.\hfill
+\\ \\ \noindent
+\textbf{5f.~WORK UNIT NUMBER.} Enter all work unit numbers as they
+appear in the report, \eg 001; AFAPL30480105.\hfill
+\\ \\ \noindent
+\textbf{6.~AUTHOR(S).} Enter name(s) of person(s) responsible
+for writing the report, performing the research, or credited with the
+content of the report. The form of entry is the last name, first name,
+middle initial, and additional qualifiers separated by commas, \eg Smith,
+Richard, J, Jr.\hfill
+\\ \\ \noindent
+\textbf{7.~PERFORMING ORGANIZATION NAME(S) AND ADDRESS(ES).} Self-explanatory. \hfill
+\vfill
+\columnbreak
+
+\noindent
+\textbf{8.~PERFORMING ORGANIZATION REPORT NUMBER.} Enter all unique
+alphanumeric report numbers assigned by the performing organization,
+\eg BRL-1234; AFWL-TR-85-4017-Vol-21-PT-2.\hfill
+\\ \\ \noindent
+\textbf{9.~SPONSORING/MONITORING AGENCY NAME(S) AND ADDRESS(ES).} Enter
+the name and address of the organization(s) financially responsible for
+and monitoring the work.\hfill
+\\ \\ \noindent
+\textbf{10.~SPONSOR/MONITOR'S ACRONYM(S).} Enter, if available, \eg BRL,
+ARDEC, NADC.\hfill
+\\ \\ \noindent
+\textbf{11.~SPONSOR/MONITOR'S REPORT NUMBER(S).} Enter report number as
+assigned by the sponsoring/ monitoring agency, if available, \eg BRL-TR-829;
+-215.\hfill
+\\ \\ \noindent
+\textbf{12.~DISTRIBUTION/AVAILABILITY STATEMENT.} Use agency-mandated
+availability statements to indicate the public availability or distribution
+ limitations of the report. If additional limitations/ restrictions or
+ special markings are indicated, follow agency authorization procedures,
+ \eg RD/FRD, PROPIN, ITAR, etc. Include copyright information.\hfill
+\\ \\ \noindent
+\textbf{13.~SUPPLEMENTARY NOTES.} Enter information not included elsewhere
+such as: prepared in cooperation with; translation of; report supersedes;
+old edition number, etc.\hfill
+\\ \\ \noindent
+\textbf{14.~ABSTRACT.} A brief (approximately 200 words) factual summary
+of the most significant information.\hfill
+\\ \\ \noindent
+\textbf{15.~SUBJECT TERMS.} Key words or phrases identifying major concepts
+in the report.\hfill
+\\ \\ \noindent
+\textbf{16.~SECURITY CLASSIFICATION.} Enter security classification in
+accordance with security classification regulations, \eg U, C, S, etc. If
+this form contains classified information, stamp classification level on
+the top and bottom of this page.\hfill
+\\ \\ \noindent
+\textbf{17.~LIMITATION OF ABSTRACT.} This block must be completed to assign
+a distribution limitation to the abstract. Enter UU (Unclassified Unlimited)
+or SAR (Same as Report). An entry in this block is necessary if the abstract
+is to be limited. \hfill
+
+\end{multicols}
+\end{minipage}
+}
+\end{#1}
+
+\normalsize % return font to normal size
+}
\endinput
%%
%% End of file `sf298.sty'.