diff options
author | Karl Berry <karl@freefriends.org> | 2016-07-07 21:42:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-07-07 21:42:30 +0000 |
commit | b61d8f5659da3efee7a202e8aece733d38b071e3 (patch) | |
tree | 8d7c00c128dacde1784665cd6fea7cfd0f31ce17 | |
parent | 0b0d95d3d5c04e591911d2f6f80961eedfc79188 (diff) |
sf298 (7jul16)
git-svn-id: svn://tug.org/texlive/trunk@41653 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/sf298/Makefile (renamed from Master/texmf-dist/source/latex/sf298/Makefile) | 190 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/sf298/README.txt | 55 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/sf298/sample298.pdf | bin | 106900 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/sf298/sample298.tex | 13 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/sf298/sf298.pdf | bin | 241912 -> 417492 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/sf298/sf298.dtx | 478 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/sf298/sf298.ins | 196 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/sf298/sf298.sty | 156 |
8 files changed, 792 insertions, 296 deletions
diff --git a/Master/texmf-dist/source/latex/sf298/Makefile b/Master/texmf-dist/doc/latex/sf298/Makefile index 1c738ecc5e3..63857045c78 100644 --- a/Master/texmf-dist/source/latex/sf298/Makefile +++ b/Master/texmf-dist/doc/latex/sf298/Makefile @@ -1,95 +1,95 @@ -PACKAGE = sf298
-########################################################################
-## LaTeX2e Makefile
-##
-## Update the following defines for your local configuration,
-##
-CONTRIB = /usr/share/texmf/tex/latex/misc
-##
-CP = cp
-DVIPS = dvips -t letter
-GZIP = gzip
-LATEX = latex
-MAKEINDEX = makeindex
-PDFLATEX = pdflatex
-PS2PDF = ps2pdf
-RM = rm
-TAR = tar
-########################################################################
-## make [all] Generates the style (.sty) file, the doc and
-## test files (.ps) and cleans up the directory.
-## make [un]install Install or uninstall the style (.sty) file from
-## the CONTRIB area.
-## make [very]clean Clean out various auxillary files. "veryclean"
-## cleans out more stuff.
-########################################################################
-## make dvi Generate the *.dvi version of the documentation.
-## make [full]ps Generate the documentation. The "fullps" version
-## adds the change log and the cross-references.
-## make idx Generate the change log and the cross-references
-## (for fullps -- requires MAKEINDEX).
-## make sty Generate the style (.sty) file.
-## make pdf Generate the *.pdf version of the documentation.
-########################################################################
-## make test Runs test program(s).
-## make distribtion Builds a distribution (.tar.gz) file.
-########################################################################
-
-all: pdf test clean
-
-install: sty
- $(CP) $(PACKAGE).sty $(CONTRIB)
-uninstall: ; -$(RM) -f $(CONTRIB)/$(PACKAGE).sty
-clean: ; -$(RM) -f *.dvi *.log *.aux *.lof *.lot *.lom *.toc
- -$(RM) -f *.idx *.ind *.glo *.gls *.ilg *.out *~
-veryclean: clean
- -$(RM) -f *.sty *.cls *.ps *.pdf *.gz *pk ltxdoc.cfg
-
-dvi: $(PACKAGE).dvi
-fullps: dvi idx ps
-idx: $(PACKAGE).ind $(PACKAGE).gls
- $(LATEX) $(PACKAGE).dtx
- $(LATEX) $(PACKAGE).dtx
-ps: $(PACKAGE).ps
-sty: $(PACKAGE).sty
-pdf: fullps
- $(PS2PDF) $(PACKAGE).ps > $(PACKAGE).pdf
-
-test: $(PACKAGE).sty
- $(LATEX) sample298.tex
- $(LATEX) sample298.tex
- $(DVIPS) -o sample298.ps sample298.dvi
-
-distribution: ; mkdir $(PACKAGE)
- $(CP) -p Makefile $(PACKAGE).pdf $(PACKAGE)
- $(CP) -p $(PACKAGE).dtx $(PACKAGE).ins $(PACKAGE)
- $(TAR) -cvf $(PACKAGE).tar ./$(PACKAGE)
- $(RM) -rf $(PACKAGE)
- $(GZIP) -9 $(PACKAGE).tar
-
-
-$(PACKAGE).aux: $(PACKAGE).dtx $(PACKAGE).sty
- $(LATEX) $(PACKAGE).dtx
- $(LATEX) $(PACKAGE).dtx
-
-$(PACKAGE).dvi: $(PACKAGE).dtx $(PACKAGE).sty $(PACKAGE).aux
- $(LATEX) $(PACKAGE).dtx
- $(LATEX) $(PACKAGE).dtx
-
-$(PACKAGE).glo: $(PACKAGE).dtx $(PACKAGE).sty
- $(LATEX) $(PACKAGE).dtx
-
-$(PACKAGE).gls: $(PACKAGE).glo
- -$(MAKEINDEX) -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo
-
-$(PACKAGE).idx: $(PACKAGE).dtx $(PACKAGE).sty
- $(LATEX) $(PACKAGE).dtx
-
-$(PACKAGE).ind: $(PACKAGE).idx
- -$(MAKEINDEX) -s gind.ist $(PACKAGE).idx
-
-$(PACKAGE).ps: $(PACKAGE).dvi
- $(DVIPS) -o $(PACKAGE).ps $(PACKAGE).dvi
-
-$(PACKAGE).sty: $(PACKAGE).dtx $(PACKAGE).ins
- $(LATEX) $(PACKAGE).ins
+PACKAGE = sf298 +######################################################################## +## LaTeX2e Makefile +## +## Update the following defines for your local configuration, +## +CONTRIB = /usr/share/texmf/tex/latex/misc +## +CP = cp +DVIPS = dvips -t letter +GZIP = gzip +LATEX = latex +MAKEINDEX = makeindex +PDFLATEX = pdflatex +PS2PDF = ps2pdf +RM = rm +TAR = tar +######################################################################## +## make [all] Generates the style (.sty) file, the doc and +## test files (.ps) and cleans up the directory. +## make [un]install Install or uninstall the style (.sty) file from +## the CONTRIB area. +## make [very]clean Clean out various auxillary files. "veryclean" +## cleans out more stuff. +######################################################################## +## make dvi Generate the *.dvi version of the documentation. +## make [full]ps Generate the documentation. The "fullps" version +## adds the change log and the cross-references. +## make idx Generate the change log and the cross-references +## (for fullps -- requires MAKEINDEX). +## make sty Generate the style (.sty) file. +## make pdf Generate the *.pdf version of the documentation. +######################################################################## +## make test Runs test program(s). +## make distribtion Builds a distribution (.tar.gz) file. +######################################################################## + +all: pdf test clean + +install: sty + $(CP) $(PACKAGE).sty $(CONTRIB) +uninstall: ; -$(RM) -f $(CONTRIB)/$(PACKAGE).sty +clean: ; -$(RM) -f *.dvi *.log *.aux *.lof *.lot *.lom *.toc + -$(RM) -f *.idx *.ind *.glo *.gls *.ilg *.out *~ +veryclean: clean + -$(RM) -f *.sty *.cls *.ps *.pdf *.gz *pk ltxdoc.cfg + +dvi: $(PACKAGE).dvi +fullps: dvi idx ps +idx: $(PACKAGE).ind $(PACKAGE).gls + $(LATEX) $(PACKAGE).dtx + $(LATEX) $(PACKAGE).dtx +ps: $(PACKAGE).ps +sty: $(PACKAGE).sty +pdf: fullps + $(PS2PDF) $(PACKAGE).ps > $(PACKAGE).pdf + +test: $(PACKAGE).sty + $(LATEX) sample298.tex + $(LATEX) sample298.tex + $(DVIPS) -o sample298.ps sample298.dvi + +distribution: ; mkdir $(PACKAGE) + $(CP) -p Makefile $(PACKAGE).pdf $(PACKAGE) + $(CP) -p $(PACKAGE).dtx $(PACKAGE).ins $(PACKAGE) + $(TAR) -cvf $(PACKAGE).tar ./$(PACKAGE) + $(RM) -rf $(PACKAGE) + $(GZIP) -9 $(PACKAGE).tar + + +$(PACKAGE).aux: $(PACKAGE).dtx $(PACKAGE).sty + $(LATEX) $(PACKAGE).dtx + $(LATEX) $(PACKAGE).dtx + +$(PACKAGE).dvi: $(PACKAGE).dtx $(PACKAGE).sty $(PACKAGE).aux + $(LATEX) $(PACKAGE).dtx + $(LATEX) $(PACKAGE).dtx + +$(PACKAGE).glo: $(PACKAGE).dtx $(PACKAGE).sty + $(LATEX) $(PACKAGE).dtx + +$(PACKAGE).gls: $(PACKAGE).glo + -$(MAKEINDEX) -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo + +$(PACKAGE).idx: $(PACKAGE).dtx $(PACKAGE).sty + $(LATEX) $(PACKAGE).dtx + +$(PACKAGE).ind: $(PACKAGE).idx + -$(MAKEINDEX) -s gind.ist $(PACKAGE).idx + +$(PACKAGE).ps: $(PACKAGE).dvi + $(DVIPS) -o $(PACKAGE).ps $(PACKAGE).dvi + +$(PACKAGE).sty: $(PACKAGE).dtx $(PACKAGE).ins + $(LATEX) $(PACKAGE).ins diff --git a/Master/texmf-dist/doc/latex/sf298/README.txt b/Master/texmf-dist/doc/latex/sf298/README.txt new file mode 100644 index 00000000000..fe10e1ae373 --- /dev/null +++ b/Master/texmf-dist/doc/latex/sf298/README.txt @@ -0,0 +1,55 @@ +sf298 package +------------- + +Authors +------- +Steven Douglas Cochran +SVC HS Information Technology, M200 Scaife Hall +3550 Terrace Street +Pittsburgh, PA 15261, USA +email: sdc18@pitt.edu +(Original Author, versions 1.1 & 1.2) + +and + +Peter Andrew Rochford +Acorn Science & Innovation, Inc. +1616 Anderson Road, Suite 213 +McLean, VA 22102, USA +email: prochford@acornsi.com +(Author, version 1.3) + +Purpose +------- +The sf298 package provides for creating a filled-in copy of the standard form +298 (Rev. 8/98), ``Report Documentation Page''. This form is used in announcing +and cataloging reports submitted as deliverables on contracts with the U.S. +Government. It is important that the information on the sf298 page be +consistent with the rest of the report, particularly the cover and title page. +Instructions for filling in each block of the form are given in the documentation +file (sf298.pdf) distributed with the package. The macro \MakeRptDocPage causes +the page to be printed. If the "twoside" option is specified in the +documentclass, then it is printed as a separate page with a blank back. The +macro \GeneralInstructions causes the page of general instructions that +accompanies the form to be printed. This is typically inserted after the +sf298 form. + +License +------- +Copyright (C) 2000,2004 Steven Douglas Cochran. + +The copyright remains with the above author. + +The sf298 package may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either version 1.2 +of this license or (at your option) any later version. The latest +version of this license is in: + http://www.latex-project.org/lppl.txt +and version 1.2 or later is part of all distributions of LaTeX +version 1999/12/01 or later. + +The sf298 package is distributed in the hope that it will be +useful, but `as is', WITHOUT WARRANTY OF ANY KIND, either expressed +or implied, including, but not limited to, the implied warranties of +MERCHANTABILITY and FITNESS FOR A PARTICULAR PURPOSE. See the LaTeX +Project Public License for more details. diff --git a/Master/texmf-dist/doc/latex/sf298/sample298.pdf b/Master/texmf-dist/doc/latex/sf298/sample298.pdf Binary files differdeleted file mode 100644 index 8cc5760025d..00000000000 --- a/Master/texmf-dist/doc/latex/sf298/sample298.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/sf298/sample298.tex b/Master/texmf-dist/doc/latex/sf298/sample298.tex index 6643b4c8092..65b77c0af03 100644 --- a/Master/texmf-dist/doc/latex/sf298/sample298.tex +++ b/Master/texmf-dist/doc/latex/sf298/sample298.tex @@ -28,6 +28,13 @@ %% \documentclass[twoside]{article} \usepackage{sf298} + + \setlength{\parindent}{5ex} + \setlength{\paperwidth}{8.5in} + \setlength{\textwidth}{6.5in} + \setlength{\oddsidemargin}{0in} + \setlength{\evensidemargin}{0in} + \makeatletter \renewcommand{\@maketitle}{% \newpage @@ -51,10 +58,6 @@ \newcommand{\showabstract}{% \noindent \sf@Abstract} -\newcommand{\ReportDescription}{% - \global\let\thanks\@gobble - \MakeRptDocPage - \global\let\thanks\relax} \makeatother \date{June 1996} \ReportDate{10--06--1996} @@ -119,6 +122,8 @@ \ReportDescription +\GeneralInstructions{small} + \tableofcontents \cleardoublepage \pagenumbering{arabic} diff --git a/Master/texmf-dist/doc/latex/sf298/sf298.pdf b/Master/texmf-dist/doc/latex/sf298/sf298.pdf Binary files differindex c012c494dff..5349d350816 100644 --- a/Master/texmf-dist/doc/latex/sf298/sf298.pdf +++ b/Master/texmf-dist/doc/latex/sf298/sf298.pdf diff --git a/Master/texmf-dist/source/latex/sf298/sf298.dtx b/Master/texmf-dist/source/latex/sf298/sf298.dtx index 71a6939d26b..17779ae44cc 100644 --- a/Master/texmf-dist/source/latex/sf298/sf298.dtx +++ b/Master/texmf-dist/source/latex/sf298/sf298.dtx @@ -6,6 +6,8 @@ % % Copyright (C) 2000,2004 Steven Douglas Cochran. % +% The copyright remains with the above author. +% % The sf298 package may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.2 % of this license or (at your option) any later version. The latest @@ -14,7 +16,7 @@ % and version 1.2 or later is part of all distributions of LaTeX % version 1999/12/01 or later. % -% The subfig package is distributed in the hope that it will be +% The sf298 package is distributed in the hope that it will be % useful, but `as is', WITHOUT WARRANTY OF ANY KIND, either expressed % or implied, including, but not limited to, the implied warranties of % MERCHANTABILITY and FITNESS FOR A PARTICULAR PURPOSE. See the LaTeX @@ -22,25 +24,38 @@ % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % @LaTeX-style-file{ +% Author = "Peter A. Rochford", +% Version = "1.3", +% Date = "2016/7/7", +% Time = "11:38:00", +% Filename = "sf298.sty", +% Address = "Acorn Science & Innovation, Inc. +% 1616 Anderson Road, Suite 213 +% McLean, VA 22102, USA", +% Telephone = "+1 703-995-9872", +% Email = "prochford@acornsi.com", +% Abstract = "Extension of the LaTeX package to optionally provide the page of +% General Instructions. Also fixed known bug when using \usepackage{totpages}.'' +% % Author = "Steven Douglas Cochran", % Version = "1.2", % Date = "2004/12/22", % Time = "10:33:25", % Filename = "sf298.sty", -% Address = "Digital Mapping Laboratory, School of Computer Science -% Carnegie-Mellon University, 5000 Forbes Avenue -% Pittsburgh, PA 15213-3891, USA", -% Telephone = "+1 412.268.5654", -% FAX = "+1 412.268.5576", -% Email = "cochran@ieee.org", +% Address = "SVC HS Information Technology, M200 Scaife Hall +% 3550 Terrace Street +% Pittsburgh, PA 15261, USA", +% Telephone = "+1 412.624.9282", +% FAX = "+1 412.648.8865", +% Email = "sdc18@pitt.edu", % CodeTable = "ISO/ASCII", % Keywords = "LaTeX, standard forms, sf298, report documentation", % Supported = "yes", % Abstract = "LaTeX package for generating a completed standard -% form 298 (Rev.\ 8--98) as prescribed by ANSI +% form 298 (Rev.\ 8/98) as prescribed by ANSI % Std.\ Z39.18 for report documentation, for instance, % as part of a document delivered on a U.S. Government -% contract. +% contract.'' % } % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % @@ -50,10 +65,14 @@ %<*driver> \ProvidesFile{sf298.dtx} \documentclass[letterpaper]{ltxdoc} +\usepackage{totpages} % needed to provide total number of pages in SF298 +\def\CurrentOption{} % fix bug in totpages \usepackage[noconfig]{sf298} \usepackage{afterpage} \advance\textheight2\baselineskip \setlength\hfuzz{26pt} + +\usepackage[textwidth=\textwidth,textheight=\textheight]{geometry} % needed to change textwidth for \GeneralInstructions %</driver> % %<*ltxdoc> @@ -100,29 +119,28 @@ % \DoNotIndex{\topmargin,\tt,\typeout,\unitlength,\usepackage,\value} % \DoNotIndex{\vbox,\vfil,\voffset,\vskip,\vss,\wd,\xspaceskip,\year} % -% \newcommand{\eg}{{\it e.g.\/}} % \newcommand{\ie}{{\it i.e.\/}} % % \def\filename{sf298.dtx} -% \def\fileversion{1.2} -% \def\filedate{2004/12/22} -% \def\docdate {2004/12/22} +% \def\fileversion{1.3} +% \def\filedate{2016/7/7} +% \def\docdate {2016/7/7} % \makeatletter % \def\drawform{\sf@drawform} % \def\@oddfoot{% % \rm -% \hfil +% \hfill % \@ifundefined{r@fig:form}% % {thepage}% % {\@tempcnta\pageref{fig:form} % \ifnum \c@page=\@tempcnta \else % \thepage % \fi}% -% \hfil} +% \hfill} % \let\@evenfoot\@oddfoot % \makeatother % -% \CheckSum{1197} +% \CheckSum{1457} % % \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 @@ -142,20 +160,30 @@ % % \title{The \Lpack{sf298} Package\footnote{This paper documents % the \Lpack{sf298} package v\fileversion, last revised \filedate.}} -% \author{Steven Douglas Cochran\\[5pt] -% Digital Mapping Laboratory, School of Computer Science \\ -% Carnegie-Mellon University, 5000 Forbes Avenue \\ -% Pittsburgh, PA 15213--3891, USA\\[5pt] -% \texttt{sdc+@cs.cmu.edu}} +% \author{ +% Steven Douglas Cochran\\[5pt] +% SVC HS Information Technology, M200 Scaife Hall \\ +% 3550 Terrace Street \\ +% Pittsburgh, PA 15261, USA\\[5pt] +% \texttt{sdc18@pitt.edu} +% \and\\[5pt] +% Peter Andrew Rochford\\[5pt] +% Acorn Science \& Innovation, Inc. \\ +% 1616 Anderson Road, Suite 213 \\ +% McLean, VA 22102, USA\\[5pt] +% \texttt{prochford@acornsi.com} +% } % \date{\docdate} % \maketitle % \vspace{-20pt} % \begin{abstract} % \noindent % This article documents the \LaTeX\ package for generating a completed -% standard form 298 (Rev.\ 8--98) as prescribed by ANSI Std.\ Z39.18 for +% standard form 298 (Rev.\ 8/98) as prescribed by ANSI Std.\ Z39.18 for % report documentation, for instance, as part of a document delivered on -% a U.S. Government contract. +% a U.S. Government contract. The latest revision includes the option of +% inserting the General Instructions page that typically appears after the +% form. % %\end{abstract} % @@ -185,7 +213,7 @@ % \end{figure} % % The \Lpack{sf298} package provides for creating a filled-in copy of -% the standard form 298 (Rev.\ 8--98), ``Report Documentation Page'' +% the standard form 298 (Rev.\ 8/98), ``Report Documentation Page'' % (shown in Figure~\ref{fig:form}). This form is used in announcing and % cataloging reports submitted as deliverables on contracts with the % U.S. Government. It is important that the information on the sf298 @@ -194,7 +222,9 @@ % are given below. The macro \cmd{\MakeRptDocPage} causes the page to be % printed. If the \Lopt{twoside} option is specified in the % documentclass, then it is printed as a separate page with a blank -% back. +% back. The macro \cmd{\GeneralInstructions} causes the page of general +% instructions that accompanies the form to be printed. This is typically inserted +% after the |sf298| form. % % If you are changing the base font families for your paper (\eg, you % load the \Lpack{times} package to use the PostScript fonts) and you @@ -213,7 +243,7 @@ % A sample report is given in section~\ref{sec:sample} that shows one % approach to using the \Lpack{sf298} package. % -% \section{The individual fields} +% \section{The Individual Fields} % \changes{v1.2}{22 Dec 2004}{Added note about the \Lopt{floatlongboxes} % option.} % @@ -263,15 +293,15 @@ % & \multicolumn{1}{c}{\d{1ex}{\bf Required}} % & \multicolumn{1}{l}{\bf Default} % & \multicolumn{1}{c}{\bf Max} -% & \multicolumn{1}{c}{{\bf Chars.}\d{-2.5pt}{\s{7}}} -% & \multicolumn{2}{c}{\d{-2pt}{{\bf Extra Space}\d{-2.5pt}{\s{9}}}} +% & \multicolumn{1}{c}{{\bf Chars.}\d{-2.5pt}{\s{6}}} +% & \multicolumn{2}{c}{\d{-2pt}{{\bf Extra Space}\d{-2.5pt}{\s{8}}}} % \\ \cline{7-8} % \multicolumn{1}{c}{\rule[-7pt]{0pt}{7pt}\bf Number} % & & & \multicolumn{1}{l}{{\bf Value}\d{-2.5pt}{\s{1}}} % & \multicolumn{1}{c}{\bf Lines} % & \multicolumn{1}{c}{\bf per Line} -% & \multicolumn{1}{c}{\d{2pt}{{\bf Skip}\d{-2.5pt}{\s{8}}}} -% & \multicolumn{1}{c}{\d{2pt}{{\bf Chars.}\d{-2.5pt}{\s{7}}}} +% & \multicolumn{1}{c}{\d{2pt}{{\bf Skip}\d{-2.5pt}{\s{7}}}} +% & \multicolumn{1}{c}{\d{2pt}{{\bf Chars.}\d{-2.5pt}{\s{6}}}} % \\ \hline\rule{0pt}{14pt} % 1\z{} & \cmd{\ReportDate} & Yes &\s{2}& \p1 & \p31 & \n & \n \\ % 2\z{} & \cmd{\ReportType} & Yes & \n & \p1 & \p46 & \n & \n \\ @@ -289,44 +319,42 @@ % 9\z{} & \cmd{\SponsoringAgency} & Yes & \n & \p5 & \p81 & \n & \n \\ % 10\z{} & \cmd{\Acronym} & \n & \n & \p2 & \p30 & \n & \n \\ % 11\z{} & \cmd{\SMReportNumber} & \n & \n & \p1 & \p39 & 23mm & \p23 \\ -% 12\z{} & \cmd{\DistributionStatement} \s{10} & \n &\s{3}& \p3 & 120 & 70mm & \p75 \\ -% 13\z{} & \cmd{\SupplementaryNotes} \s{10} & \n & \n & \p2 & 120 & 45mm & \p92 \\ -% 14\z{} & \cmd{\Abstract} \s{10} & Yes & \n & 10 & 120 & 22mm & 105 \\ -% 15\z{} & \cmd{\SubjectTerms} \s{10} & \n & \n & \p3 & 125 & 32mm & 103 \\ +% 12\z{} & \cmd{\DistributionStatement} \s{9} & \n &\s{3}& \p3 & 120 & 70mm & \p75 \\ +% 13\z{} & \cmd{\SupplementaryNotes} \s{9} & \n & \n & \p2 & 120 & 45mm & \p92 \\ +% 14\z{} & \cmd{\Abstract} \s{9} & Yes & \n & 10 & 120 & 22mm & 105 \\ +% 15\z{} & \cmd{\SubjectTerms} \s{9} & \n & \n & \p3 & 125 & 32mm & 103 \\ % 16\z{a} & \cmd{\ReportClassification} & Yes &\s{4}& \p1 & \p\p9 & \n & \n \\ % 16\z{b} & \cmd{\AbstractClassification} & Yes &\s{4}& \p1 & \p\p9 & \n & \n \\ % 16\z{c} & \cmd{\PageClassification} & Yes &\s{4}& \p1 & \p\p9 & \n & \n \\ % 17\z{} & \cmd{\AbstractLimitation} & \n &\s{5}& \p1 & \p12 & \n & \n \\ -% 18\z{} & \cmd{\NumberPages} & Yes &\s{6}& \p1 & \p\p8 & \n & \n \\ +% 18\z{} & \cmd{\NumberPages} & Yes & \n & \p1 & \p\p8 & \n & \n \\ % 19\z{a} & \cmd{\ResponsiblePerson} & \n & \n & \p1 & \p41 & \n & \n \\ \rule[-7pt]{0pt}{7pt} % 19\z{b} & \cmd{\RPTelephone} & \n & \n & \p1 & \p41 & \n & \n \\ \hline\hline % \multicolumn{8}{l}{\rule{0pt}{14pt}{\bf Notes:}} \\ % \multicolumn{8}{l}{\quad\S{1} All defaults may be overridden by specifying a % value. Custom defaults may be assigned using a} \\ % \multicolumn{8}{l}{\quad\phantom{\S{1}} configuration file (see -% section~\ref{sec:configfile})} \\ +% section~\ref{sec:configfile})}. \\ % \multicolumn{8}{l}{\quad\S{2} Defaults to the current date (in dd-mm-yyyy % format).} \\ % \multicolumn{8}{l}{\quad\S{3} Defaults to ``Approved for public release; -% distribution is unlimited''} \\ -% \multicolumn{8}{l}{\quad\S{4} Defaults to ``U'' (Unclassified)} \\ +% distribution is unlimited''}. \\ +% \multicolumn{8}{l}{\quad\S{4} Defaults to ``U'' (Unclassified)}. \\ % \multicolumn{8}{l}{\quad\S{5} Defaults to ``UU'' (Unclassified Unlimited).} \\ -% \multicolumn{8}{l}{\quad\S{6} If the \Lpack{totpages} package is present, then -% the total number of pages is calculated automatically,} \\ % \multicolumn{8}{l}{\quad\phantom{\S{1}} otherwise, there is no default (see % section~\ref{sec:configpage}).} \\ -% \multicolumn{8}{l}{\quad\S{7} The number of characters is approximate and for +% \multicolumn{8}{l}{\quad\S{6} The number of characters is approximate and for % the Computer Modern Roman font family only.} \\ -% \multicolumn{8}{l}{\quad\S{8} Amount to ident the extra first line, +% \multicolumn{8}{l}{\quad\S{7} Amount to indent the extra first line, % \eg, \cmd{\Title}\{\cmd{\hspace}\{37mm\} \dots text\dots\}.} \\ -% \multicolumn{8}{l}{\quad\S{9} More text may be placed in these blocks by +% \multicolumn{8}{l}{\quad\S{8} More text may be placed in these blocks by % adjusting the font family or size and/or changing} \\ -% \multicolumn{8}{l}{\quad\phantom{\S{9}} the interline gap (see +% \multicolumn{8}{l}{\quad\phantom{\S{8}} the interline gap (see % \cmd{\PerformingOrg} in sections~\ref{sec:configfile} and % \ref{sec:sample} for an example).} \\ -% \multicolumn{8}{l}{\quad\S{10} If the \Lopt{floatlongboxes} option is set -% when loading the pacakage, than this box may hold more or} \\ -% \multicolumn{8}{l}{\quad\phantom{\S{10}} less than indicated in this table, +% \multicolumn{8}{l}{\quad\S{9} If the \Lopt{floatlongboxes} option is set +% when loading the pacakage, then this box may hold more or} \\ +% \multicolumn{8}{l}{\quad\phantom{\S{9}} less than indicated in this table, % however the extra space sizes are still valid.} % \end{tabular}% % \hskip-5mm} @@ -337,7 +365,7 @@ % For those blocks that allow more than one line (see % Table~\ref{tab:attributes}), the text argument will automatically be % broken to fit the box and the paragraph is usually vertically centered -% and left justified. Use can use ``|\\|'' (newline) to override the +% and left justified. You can use ``|\\|'' (newline) to override the % default linebreaking, if desired (see section~\ref{sec:configfile} for % an example). % @@ -346,7 +374,7 @@ % \DescribeMacro{\ReportDate} % % \noindent -% Full publication date including day, and month if available. +% Full publication date including day and month, if available. % Must cite at least the year and be Year 2000 compliant, \eg % \par\null\noindent % \begin{tabular}{llll} @@ -671,11 +699,12 @@ % % \noindent % Enter the total number of pages (including including Roman numerals). -% This field is required. If the \Lpack{totpages} package\footnote{In -% addition to the \Lpack{totpages} package, you will need the -% \Lpack{everyshi} package ({\sc\scriptsize EVERY SHIpout}) that is used -% by the \Lpack{totpages} package.} is available at your site, then you -% may ignore this field and a value will be entered on the page after the +% This field is required. The current implementation of the \Lpack{sf298} +% package uses the \Lpack{totpages} package that is now commonly +% available with standard \LaTeX\ distributions or can be easily obtained +% from Internet accessible package distribution sites such as the +% The ComÂpreÂhenÂsive TeX Archive NetÂwork (CTAN) (https://www.ctan.org/). +% You may ignore this field and a value will be entered on the page after the % processing of the document with \LaTeX. As with labels and citations % referenced in the document, a message will be printed if \LaTeX\ must % be run again to propagate a correct label value to the sf298 form. If @@ -701,6 +730,33 @@ % \noindent % Enter the telephone number of the person responsible for the % submission of the document (including area code). +% +% \section{SF298 Form} +% \changes{v1.3}{23 Jun 2016}{Added section describing how to insert the Special +% Form 298 into the document.} +% +% The macro \cmd{\ReportDescription} will insert the standard form 298 on a +% separate page at the location where it appears. This will produce the Report +% Documentation page as appears earlier in this document. +% +% \section{General Instructions Page} +% \changes{v1.3}{20 Jun 2016}{Added section describing the option to +% add a General Instructions page.} +% +% Some government organizations require that a General Instructions +% page be included after the standard form 298. The macro +% \cmd{\GeneralInstructions\{\Lopt{typesize}\}} causes the page to be printed +% according to a generic type size, \eg \Lopt{footnotesize}. The \Lopt{typesize} +% argument was implemented to allow the end user control over the print size +% of the general instructions. +% +% The\cmd{\GeneralInstructions} command need simply be inserted into your +% \LaTeX\ document after the \cmd{\MakeRptDocPage} command. This will +% result in the following page appearing in the document. +% +% \newgeometry{textheight=1.1\textheight} +% \GeneralInstructions{small} +% \restoregeometry % % \section{Configuration} % \enlargethispage{24pt} @@ -731,10 +787,10 @@ % \subsection{Configuration file} % \label{sec:configfile} % -% When the package is loaded, it searches the along the standard \TeX\ +% When the package is loaded, it searches along the standard \TeX\ % search path, as configured in the system and modified by % the {\tt TEXINPUTS} environment variable (or equivalent) for the -% for the file \Lfile{sf298.cfg}. It loads the first such file that +% file \Lfile{sf298.cfg}. It loads the first such file that % it finds and this file may be used to change defaults or make other % changes to the \Lpack{sf298} package, \eg % \par\null\noindent @@ -763,17 +819,16 @@ % \subsection{``Number of Pages'' field} % \label{sec:configpage} % -% If the \Lpack{totpages} package is available, then the {\bf Number of -% Pages} field will be automatically filled-in by calculating the +% The {\bf Number of Pages} field will be automatically filled-in by calculating the % difference between the page count of the |sf298| page and the last -% page. If this package is not present, and if the field +% page. If the \Lpack{totpages} package is not present, and if the field % is not defined, a warning will be issued. % % If the {\bf Number of Pages} is incorrectly calculated, then the % correct value can be explicitly defined with the \cmd{\NumberPage} % macro or offset by a fixed value with the \cmd{\NumberPage*} macro. % The former may be needed if the sf298 form is not the first page of -% the document and an example of the latter is where there is an +% the document. An example of the latter is where there is an % appendix whose pages are inserted and are, therefore, not % automatically counted. % @@ -812,13 +867,20 @@ % report title, the performing organization title and address and the % report abstract. % -% First we have start the paper as an \Lpack{article} with twosided +% First we have to start the paper as an \Lpack{article} with twosided % pages and using the \Lpack{sf298} package. We also make the `@' a % letter so that we can update some internal names. % % \begin{macrocode} \documentclass[twoside]{article} \usepackage{sf298} + + \setlength{\parindent}{5ex} + \setlength{\paperwidth}{8.5in} + \setlength{\textwidth}{6.5in} + \setlength{\oddsidemargin}{0in} + \setlength{\evensidemargin}{0in} + \makeatletter % \end{macrocode} % @@ -879,24 +941,6 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{\ReportDescription} -% -% At the end of the \cmd{\titlepage} command, the \cmd{\thanks} macro is -% redefined to be \cmd{\relax}. If we want to define the title once and -% also want to be able to have a \cmd{\thanks} message associated with the -% title on the titlepage, and want to use that same title text on the -% report documentation page, then we need to redefine the \cmd{\thanks} -% macro to eat it's argument. This is done by setting \cmd{\thanks} to -% \cmd{\@gobble} while printing the report documentation page. -% -% \begin{macrocode} -\newcommand{\ReportDescription}{% - \global\let\thanks\@gobble - \MakeRptDocPage - \global\let\thanks\relax} -% \end{macrocode} -% \end{macro} -% % We are finished with our example integration, so we close off changing % the internals and make `@' an ``other'' once more. % @@ -969,10 +1013,10 @@ \RPTelephone{(412) 555--9999} % \end{macrocode} % -% Finally we begin a very simple report, First we print the titlepage -% and the abstract. Next the report documentation page is written. -% Following these two pages, the table of contents is output, followed by -% the very short report. +% Finally we begin a very simple report. First we print the titlepage +% and the abstract. Next the report documentation and general +% instructions pages are written. Following these two pages, the +% table of contents is output, followed by the very short report. % % \begin{macrocode} \begin{document} @@ -985,6 +1029,8 @@ \ReportDescription +\GeneralInstructions{small} + \tableofcontents \cleardoublepage \pagenumbering{arabic} @@ -1007,13 +1053,16 @@ More blah, blah and blah. % \StopEventually{% % \section{Acknowledgments} % -% I would like to thank Professor Bruce M. Boghosian at the Center for +% Dr. Cochran would like to thank Professor Bruce M. Boghosian at the Center for % Computational Science, Boston University (bruceb@bu.edu) for % discovering problems with the use of a PostScript background for the -% sf298 form which convinced me to write the entire package in \LaTeX. +% sf298 form which convinced him to original write the entire package in \LaTeX\ +% (versions 1.1 \& 1.2). Also, to Dr.\ Nino Pereira (pereira@speakeasy.net) for the +% suggestion to make some of the fields more flexible. % -% Also, to Dr.\ Nino Pereira (pereira@speakeasy.net) for the suggestion -% to make some of the fields more flexible. +% Dr. Rochford would like to thank Dr. Cochran for creating the orginal version of +% the package, to which he added the option of providing the page of General +% Instructions (version 1.3). % % \begin{thebibliography}{6}% % \bibitem{Mull99}% @@ -1047,8 +1096,9 @@ More blah, blah and blah. % % \begin{macrocode} \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.\/\ }} % \end{macrocode} % % \subsection{Load the \Lpack{totpages} package, if it exists.} @@ -1069,6 +1119,36 @@ More blah, blah and blah. % \end{macrocode} % \end{macro} % +% \subsection{Load the \Lpack{multicol} package.} +% +% \changes{v1.3}{20 Jun 2016}{Added the multicol package to support multi-column formatting +% for the General Instructions page.} +% +% Check to see if the \Lpack{multicol} package is present. If it is, then load the package to +% support multi-column formatting for the General Instructions page. If it is not present then +% report error and terminate. +% +% \begin{macrocode} +\IfFileExists{multicol.sty}{% + \usepackage{multicol}} + {\PackageError {sf298}{The multicol package was not found.} + {Install the multicol package on your system.}} +% \end{macrocode} +% +% \subsection{Load the \Lpack{fancyhdr} Package} +% +% Check to see if the \Lpack{fancyhdr} package is present. If it is, then load the package to +% define a custom footer. If it is not present then report error and terminate. This package +% is needed to define a custom footer where the form identifier appears on the General +% Instructions produced by \cmd{\GeneralInstructions}. +% +% \begin{macrocode} +\IfFileExists{fancyhdr.sty}{% + \usepackage{fancyhdr}} + {\PackageError {sf298}{The fancyhdr package was not found.} + {Install the fancyhdr package on your system.}} +% \end{macrocode} +% % \subsection{Create the user interface} % % \changes{v1.1}{22 Feb 2000}{Moved user interface commands and default @@ -1368,6 +1448,18 @@ More blah, blah and blah. % \end{macro} % \end{macro} % +% \begin{macro}{\fancypagestyle} +% The macro \cmd{\fancypagestyle\{sf298FormIDStyle\}} is defined so the +% form identifier for the General Instructions page can be placed at the bottom +% of the page, namely ``{\bfseries Standard Form 298 Back} (Rev.\ 8/98)''. +% \end{macro} +% +% \begin{macrocode} +\fancypagestyle{sf298FormIDStyle} +{\fancyhf{}\renewcommand{\headrulewidth}{0pt} +\fancyfoot[R]{\footnotesize {\bfseries Standard Form 298 Back} (Rev.\ 8/98)} } +% \end{macrocode} +% % \subsection{Options Processing: Check for a configuration file} % % \changes{v1.1}{29 Feb 2000}{Added option to turn on/off the @@ -1432,6 +1524,7 @@ More blah, blah and blah. % \end{macro} % % \subsection{Font definition} +% \changes{v1.3}{20 Jun 2016}{Changed fonts for form identifiers at bottom of page.} % % \begin{macro}{\sf@setfont} % \changes{v1.1}{15 Feb 2000}{Added titlefonts to support a \LaTeX-based @@ -1549,6 +1642,31 @@ More blah, blah and blah. % \end{macrocode} % \end{macro} % \end{macro} +% \begin{macro}{\sf@revfontbold} +% \begin{macro}{\sf@setrevfontbold} +% \begin{macro}{\sf@revfont} +% \begin{macro}{\sf@setrevfont} +% \changes{v1.3}{20 Jun 2016}{Added font declaration for form identifier (i.e. +% revision) that appears at the bottom of the forms.} +% +% The form identifiers are filled in with Sans Serif at 9-point size to match the +% appearance of the form as publicly distributed in Portable Data Format (PDF) +% by the United States Government. Separate fonts are specified for the bold +% and non-bold portions of the identifiers. +% +% \begin{macrocode} +\DeclareFixedFont{\sf@revfontbold}{OT1}{\sfdefault}{bx}{n}{9pt} +\newcommand{\sf@setrevfontbold}{\sf@setfont{\sf@revfontbold}{10pt}} +% \end{macrocode} +% +% \begin{macrocode} +\DeclareFixedFont{\sf@revfont}{OT1}{\sfdefault}{m}{n}{9pt} +\newcommand{\sf@setrevfont}{\sf@setfont{\sf@revfont}{10pt}} +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} % % \subsection{Error checking and reporting} % @@ -1623,6 +1741,25 @@ More blah, blah and blah. % to \cmd{\relax} in order to recover as much pool space as possible. % % \subsubsection{Form setup and cleanup} +% +% \begin{macro}{\ReportDescription} +% +% At the end of the \cmd{\titlepage} command, the \cmd{\thanks} macro is +% redefined to be \cmd{\relax}. If we want to define the title once and +% also want to be able to have a \cmd{\thanks} message associated with the +% title on the titlepage, and want to use that same title text on the +% report documentation page, then we need to redefine the \cmd{\thanks} +% macro to eat it's argument. This is done by setting \cmd{\thanks} to +% \cmd{\@gobble} while printing the report documentation page. +% +% \begin{macrocode} +\newcommand{\ReportDescription}{% + \global\let\thanks\@gobble + \MakeRptDocPage + \global\let\thanks\relax} +% \end{macrocode} +% \end{macro} +% % \begin{macro}{\MakeRptDocPage} % % The \cmd{\MakeRptDocPage} command creates the Report Documentation Page @@ -1635,8 +1772,8 @@ More blah, blah and blah. \newcommand\MakeRptDocPage{% % \end{macrocode} % -% If the \Lpack{twoside} option is specified in the documentclass, then -% it is printed as a separate page with a blank back. This page treated +% If the \Lpack{twoside} option is specified in the \cmd{\documentclass}, then +% it is printed as a separate page with a blank back. This page is treated % as page `{\it i}' (if the documentclass \Lpack{twoside} option is % specified, then the back treated as page `{\it ii}'. % @@ -1819,6 +1956,10 @@ More blah, blah and blah. \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 @@ -2001,10 +2142,10 @@ More blah, blah and blah. \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}}}} % \end{macrocode} % % \changes{v1.2}{22 Dec 2004}{If `floatlingboxes' is used, then the @@ -2012,7 +2153,7 @@ More blah, blah and blah. % the text so that they may act more dynamically.} % % Now, we add the user's entries to the form. For undefined entries, -% we just add null text, the required fields are checked above and +% we just add null text, the required fields are checked above and a % warning issued if any of them are empty. % % \begin{macrocode} @@ -2090,6 +2231,153 @@ More blah, blah and blah. % \end{macrocode} % \end{macro} % +% \begin{macro}{\GeneralInstructions} +% +% The \cmd{\GeneralInstructions} command creates the General Instructions Page, +% which uses a two column format. This is optionally included in some technical +% reports and should be used immediately after the \cmd{\ReportDescription} command +% so the General Instructions Page appears on the page immediately following the SF298 +% form. +% +% \begin{macrocode} +\newcommand\GeneralInstructions[1]{% + \global\let\thanks\@gobble + \MakeGenInsPage{#1} + \global\let\thanks\relax} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\MakeGenInsPage} +% +% The \cmd{\MakeGenInsPage} command creates a new page containing +% the General Instructions for the SF298 form in a two-column format. +% +% \begin{macrocode} +\newcommand\MakeGenInsPage[1]{% +% \end{macrocode} +% +% \begin{macrocode} + \newpage + \if@twoside\ifodd\c@page\else + \null + \thispagestyle{empty}% + \newpage + \fi\fi + \vspace{1ex} + + \thispagestyle{sf298FormIDStyle} % insert document code in footer +% \end{macrocode} +% +% \begin{macrocode} +\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 +} +% \end{macrocode} +% \end{macro} +% % \iffalse %</package> % \fi% diff --git a/Master/texmf-dist/source/latex/sf298/sf298.ins b/Master/texmf-dist/source/latex/sf298/sf298.ins index e2e12bc0272..4c80811437a 100644 --- a/Master/texmf-dist/source/latex/sf298/sf298.ins +++ b/Master/texmf-dist/source/latex/sf298/sf298.ins @@ -1,98 +1,100 @@ -%%
-%% This is file `sf298.ins', the installation file for the `sf298'
-%% package.
-%%
-%% Copyright © 2000,2004 Steven Douglas Cochran.
-%%
-%% The sf298 package may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.2
-%% of this license or (at your option) any later version. The latest
-%% version of this license is in:
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.2 or later is part of all distributions of LaTeX
-%% version 1999/12/01 or later.
-%%
-%% This package consists of the files Makefile, sf298.dtx, and
-%% sf298.ins.
-%%
-%% The subfig package is distributed in the hope that it will be
-%% useful, but `as is', WITHOUT WARRANTY OF ANY KIND, either expressed
-%% or implied, including, but not limited to, the implied warranties of
-%% MERCHANTABILITY and FITNESS FOR A PARTICULAR PURPOSE. See the LaTeX
-%% Project Public License for more details.
-
-\def\batchfile{sf298.ins}
-\input docstrip.tex
-
-\keepsilent
-\preamble
-
-Copyright (C) 2000,2005 Steven Douglas Cochran.
-
-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.
-
-Therefore you can NOT redistribute and/or modify THIS file. You can
-however redistribute the complete source package (Makefile, sf298.dtx
-and sf298.ins) and/or modify it under the terms of the LaTeX Project
-Public License, either version 1.2 of this license or (at your option)
-any later version. The latest version of this license is in:
-http://www.latex-project.org/lppl.txt and version 1.2 or later is part
-of all distributions of LaTeX version 1999/09/03 or later.
-
-The sf298 package is distributed in the hope that it will be useful,
-but `as is', WITHOUT WARRANTY OF ANY KIND, either expressed or
-implied, including, but not limited to, the implied warranties of
-MERCHANTABILITY and FITNESS FOR A PARTICULAR PURPOSE. See the LaTeX
-Project Public License for more details.
-
-\endpreamble
-\declarepreamble\samplepreamble
-
-Copyright (C) 2000,2005 Steven Douglas Cochran.
-
-This file is NOT the source for sample298, because almost all comments
-have been stripped from it. It is NOT the preferred form of sample298
-for making modifications to it.
-
-Therefore you can NOT redistribute and/or modify THIS file. You can
-however redistribute the complete source package (Makefile, sf298.dtx
-and sf298.ins) and/or modify it under the terms of the LaTeX Project
-Public License, either version 1.2 of this license or (at your option)
-any later version. The latest version of this license is in:
-http://www.latex-project.org/lppl.txt and version 1.2 or later is part
-of all distributions of LaTeX version 1999/09/03 or later.
-
-The sf298 package is distributed in the hope that it will be useful,
-but `as is', WITHOUT WARRANTY OF ANY KIND, either expressed or
-implied, including, but not limited to, the implied warranties of
-MERCHANTABILITY and FITNESS FOR A PARTICULAR PURPOSE. See the LaTeX
-Project Public License for more details.
-
-\endpreamble
-\keepsilent
-
-% programs and packages
-
-\generate{\file{sf298.sty}{\from{sf298.dtx}{package}}
- \usepreamble\samplepreamble
- \file{sample298.tex}{\from{sf298.dtx}{sample}}
- }
-
-\ifToplevel{
-\Msg{***********************************************************}
-\Msg{*}
-\Msg{* To finish the installation you have to move the following}
-\Msg{* files into a directory searched by TeX:}
-\Msg{*}
-\Msg{* \space\space sf298.sty}
-\Msg{*}
-\Msg{* To produce the documentation run the file `sf298.dtx'}
-\Msg{* through LaTeX.}
-\Msg{*}
-\Msg{* Happy TeXing}
-\Msg{*}
-\Msg{***********************************************************}
-}
+%% +%% This is file `sf298.ins', the installation file for the `sf298' +%% package. +%% +%% Copyright � 2000,2004 Steven Douglas Cochran. +%% +%% The sf298 package may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.2 +%% of this license or (at your option) any later version. The latest +%% version of this license is in: +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%%y +%% This package consists of the files Makefile, sf298.dtx, and +%% sf298.ins. +%% +%% The sf298 package is distributed in the hope that it will be +%% useful, but `as is', WITHOUT WARRANTY OF ANY KIND, either expressed +%% or implied, including, but not limited to, the implied warranties of +%% MERCHANTABILITY and FITNESS FOR A PARTICULAR PURPOSE. See the LaTeX +%% Project Public License for more details. + +\def\batchfile{sf298.ins} +\input docstrip.tex + +\keepsilent +\preamble + +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. + +Therefore you can NOT redistribute and/or modify THIS file. You can +however redistribute the complete source package (Makefile, sf298.dtx +and sf298.ins) and/or modify it under the terms of the LaTeX Project +Public License, either version 1.2 of this license or (at your option) +any later version. The latest version of this license is in: +http://www.latex-project.org/lppl.txt and version 1.2 or later is part +of all distributions of LaTeX version 1999/09/03 or later. + +The sf298 package is distributed in the hope that it will be useful, +but `as is', WITHOUT WARRANTY OF ANY KIND, either expressed or +implied, including, but not limited to, the implied warranties of +MERCHANTABILITY and FITNESS FOR A PARTICULAR PURPOSE. See the LaTeX +Project Public License for more details. + +\endpreamble +\declarepreamble\samplepreamble + +Copyright (C) 2000,2005 Steven Douglas Cochran. + +This file is NOT the source for sample298, because almost all comments +have been stripped from it. It is NOT the preferred form of sample298 +for making modifications to it. + +Therefore you can NOT redistribute and/or modify THIS file. You can +however redistribute the complete source package (Makefile, sf298.dtx +and sf298.ins) and/or modify it under the terms of the LaTeX Project +Public License, either version 1.2 of this license or (at your option) +any later version. The latest version of this license is in: +http://www.latex-project.org/lppl.txt and version 1.2 or later is part +of all distributions of LaTeX version 1999/09/03 or later. + +The sf298 package is distributed in the hope that it will be useful, +but `as is', WITHOUT WARRANTY OF ANY KIND, either expressed or +implied, including, but not limited to, the implied warranties of +MERCHANTABILITY and FITNESS FOR A PARTICULAR PURPOSE. See the LaTeX +Project Public License for more details. + +\endpreamble +\keepsilent + +% programs and packages + +\generate{\file{sf298.sty}{\from{sf298.dtx}{package}} + \usepreamble\samplepreamble + \file{sample298.tex}{\from{sf298.dtx}{sample}} + } + +\ifToplevel{ +\Msg{***********************************************************} +\Msg{*} +\Msg{* To finish the installation you have to move the following} +\Msg{* files into a directory searched by TeX:} +\Msg{*} +\Msg{* \space\space sf298.sty} +\Msg{*} +\Msg{* To produce the documentation run the file `sf298.dtx'} +\Msg{* through LaTeX.} +\Msg{*} +\Msg{* Happy TeXing} +\Msg{*} +\Msg{***********************************************************} +}
\ No newline at end of file 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'. |