Commit 6ca78d3b authored by Crawford, Sam's avatar Crawford, Sam
Browse files

Adding CUI block to cover page. Restricting author block size on cover page.

parent 361aecd0
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -39,7 +39,8 @@

% Specify authors below.
% Note: multiple authors are separated with the \and command. 
\author{First Author \and Second Author \and Third Author}
% Per ORNL guidance, please keep the number of authors below six.
\author{First Author \and Second Author \and Third Author \and Fourth Author}

% Specify title.
% Note: if using an explicit line break in the title, you must use the \protect
@@ -87,7 +88,9 @@
% Add a CUI notice to the header and footer. Use % to toggle on or off. Note: CUI supercedes restrict. If both are enabled, only CUI will print.
% Update with appropriate category for your document.

% \cui{CUI//CATEGORY/SUBCATEGORY//DISSEM}
 \cui{CUI//CATEGORY/SUBCATEGORY//DISSEM} % Replace with appropriate markings.
 \cuiDA{DESIGNATING AUTHORITY} % Define the CUI designating authority. Can be organization or individual.
 \cuiPh{(XXX)~XXX-XXXX} % Define phone number for designated authority.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

+2 −0
Original line number Diff line number Diff line
@@ -15,6 +15,8 @@

\RequirePackage{geometry}
\geometry{margin=1in,footskip=.75in}
\addtolength{\headheight}{1.6pt}
\addtolength{\topmargin}{-1.6pt}
% \overfullrule=2pt

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+24 −3
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\RequirePackage{wallpaper} % background on cover page
\RequirePackage{adjustbox}
\RequirePackage{fancyhdr} % headers and footers
\RequirePackage{emptypage} % hide footers on blank pages
\RequirePackage[pdfusetitle]{hyperref} % url and links in PDF
@@ -77,6 +78,18 @@
\@cuidefinedfalse
\newcommand{\cui}[1]{\def\@cui{#1}\@cuidefinedtrue}

\newif\if@cuiDAdefined
\@cuiDAdefinedfalse
\def\@cuiDA{CUI DA UNDEFINED%
\PackageWarning{ornltm}{No CUI designated authority has been defined.}}
\newcommand{\cuiDA}[1]{\def\@cuiDA{#1}\@cuiDAdefinedtrue}

\newif\if@cuiPhdefined
\@cuiPhdefinedfalse
\def\@cuiPh{CUI DA UNDEFINED%
\PackageWarning{ornltm}{No CUI designated authority has been defined.}}
\newcommand{\cuiPh}[1]{\def\@cuiPh{#1}\@cuiPhdefinedtrue}

% Creating \printcui command to simplify CUI implementation
\newcommand{\printcui}{
\begin{center}
@@ -213,11 +226,12 @@
\def\and{\\}% Newline between authors
\large\sffamily%
\setlength\tabcolsep{0pt}%
\maxsizebox*{!}{1.49in}{%
\begin{tabular}[t]{l}%
\@author%
\end{tabular}

\vspace{2\baselineskip}
}
\vspace{1\baselineskip}

\large\textbsf{\@date}
\end{minipage}%
@@ -264,6 +278,13 @@
\if@restrictdefined{%
}\else%
\if@cuidefined{%
\begin{framed}
\begin{center}
\textbsf{%
Controlled by \@cuiDA \\
\@cuiPh}%
\end{center}
\end{framed}
}\else%
\if@reportdraft\relax\else{%
\begin{framed}