Commit 9fce38fe authored by Johnson, Seth R.'s avatar Johnson, Seth R.
Browse files

Update upstream template

parent 3bf3a66a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
Official-TM-Style_060816.pdf
*.pdf
+141 −32
Original line number Diff line number Diff line
\documentclass[11pt,letterpaper,twoside,english,final]{article}

\input{ornlmacro}
\newcommand{\textbsf}[1]{{\bfseries\sffamily #1}}

\bibliographystyle{plain}


\begin{document}

%\bibliographystyle{plain}
\begin{titlepage}
%%% XXX COVER

%NOTICE about prelim document
%delete NOTICE when document become final
\vspace{-1.75in}
\hspace{-1in}
\par
\footnotesize
\vspace{-.8in}
  \fbox{
  \begin{minipage}{0.55\textwidth}
   \raggedright
 \textsf{\textbf{NOTICE: This document contains information of a preliminary nature and is not intended for release.  It is subject to revision or correction and therefore does not represent a final report.}}
  \end{minipage}
  }

\URCornerWallPaper{1.0}{Graybar.png}
\ThisURCornerWallPaper{1.0}{Graybar.png}
\ClearWallPaper


\begin{flushright}{\textsf{\bfseries{\large{ORNL/TM-XXXX/XXX}}}}\\
\end{flushright}

\vspace{.15in}

\noindent
\begin{shaded}
\Huge{\textsf{\bfseries\color{white}{Oak Ridge National Laboratory \\
Official TM Cover
}}}
\end{shaded}

\begin{figure}[H]
\flushright
\includegraphics[width=4.88in, height=3.47in]{Officiallogo.png}
\end{figure}


\def\author#1{\large{\textsf{#1}}\\ }

\def\date#1{{\vspace{.25 in}

\large{\bfseries{\textsf{#1}}}\\ }}

\def\authordate#1{

\noindent
\vskip 6.8pt
\vtop to0pt{
\setlength{\parindent}{112mm}

#1\vss}}

\authordate{
\author{Author}
\author{Author}
\author{Author}
\date{Date}}

% delete NOTICE when document become final
\DraftBox                    % command for Draft. Not for public release.
%\NotPublic                % command for Not for public release [Sponsor Controlled Ltr Report].
%\ApprovedBox             % command for Approved for public release.
%\BusSenBox                 % command for Business Sensitive.
%\OUOBox                    % command for Official Use Only. To add item, open ORNLmacro.tex, make change, and save
%\ECIBox                      % command for Export Controlled Information
%\OUOECIBox               % command for OUO and ECI
%\OUOATBox                % command for Official Use Only and Applied Technology
%\OUOECIATBox           % command for Official Use Only, Export Controlled Information, and Applied Technology
%\UCNIBox                   % command for Unclassified Controlled Nuclear Information
%\CRADABox                % command for CRADA final.


\setlength{\parindent}{0pt}

\bigskip
\noindent

\thispagestyle{fancy}
\fancyfoot{}
\fancyfoot[L]{\includegraphics[width=3.72in]{textlogo.png}}
\renewcommand{\headrulewidth}{0pt}
\addtolength{\footskip}{0.3in}


\end{titlepage}

\newpage
@@ -17,8 +99,12 @@

 \newpage

\thispagestyle{empty}
%\thispagestyle{mypagestyleempty}    % Use for OUO in footer with no page numbers
%\thispagestyle{empty}                           % Hide when using other pagestyles (Not for public release, OUO, etc.)
\thispagestyle{mypagestylepublic}        % Use for "Not for public release." in footer with no page numbers
%\thispagestyle{mypagestyleOUOempty}    % Use for "OUO" in footer with no page numbers
%\thispagestyle{mypagestyleOUOExportempty}    % Use for "OUO/ECI" in footer with no page numbers


\vspace*{\fill}


@@ -37,7 +123,7 @@
          \\
          ~

          \hspace{0.5in}{\textsf{\textbf{\emph{ Website:}}}} \textsf{\url{ http://www.osti.gov/scitech/ }}
          \hspace{0.5in}{\textsf{\textbf{\emph{ Website:}}}} \textsf{\url{www.osti.gov/}}
          \\
          ~
          \\
@@ -57,9 +143,9 @@

          \hspace{0.5in} {\textsf{\textbf{\emph{Fax:}}}}   \textsf{703-605-6900 }

          \hspace{0.5in} {\textsf{\textbf{\emph{E-mail:}}}}   \textsf{\href{mailto:info@ntis.fedworld.gov}{info@ntis.fedworld.gov}}
          \hspace{0.5in} {\textsf{\textbf{\emph{E-mail:}}}}   \textsf{\href{mailto:info@ntis.gov}{info@ntis.gov}}

          \hspace{0.5in} {\textsf{\textbf{\emph{Website:}}}}   \textsf{\url{http://www.ntis.gov/help/ordermethods.aspx}}
          \hspace{0.5in} {\textsf{\textbf{\emph{Website:}}}}   \textsf{\url{http://classic.ntis.gov/}}
          \\
          ~
          \\
@@ -101,8 +187,9 @@
\newpage

\begin{titlepage}

%  \thispagestyle{mypagestyleempty} % % Use for OUO in footer with no page numbers
\thispagestyle{mypagestylepublic}        % Use for "Not for public release." in footer with no page numbers
%\thispagestyle{mypagestyleOUOempty}    % Use for "OUO" in footer with no page numbers
%\thispagestyle{mypagestyleOUOExportempty}    % Use for "OUO/ECI" in footer with no page numbers

\begin{flushright}{\textsf{\bfseries{\large{ORNL/TM-XXXX/XXX}}}}\\
\end{flushright}
@@ -146,7 +233,9 @@ under contract DE-AC05-00OR22725
\tableofcontents
\end{centering}

%\pagestyle{mypagestyle}              % Use for OUO in footer
\thispagestyle{mypagestylepublicpage}      % Use for "Not for public release." in footer with page numbers
%\thispagestyle{mypagestyleOUOpage}                  % Use for "OUO" in footer with page numbers
%\thispagestyle{mypagestyleOUOExportpage}    % Use for "OUO/ECI" in footer with page numbers

\pagenumbering{roman}

@@ -160,7 +249,13 @@ under contract DE-AC05-00OR22725
\listoffigures
\end{centering}

\addcontentsline{toc}{section}{List of FIgures}
\thispagestyle{mypagestylepublicpage}      % Use for "Not for public release." in footer with page numbers
%\thispagestyle{mypagestyleOUOpage}                  % Use for "OUO" in footer with page numbers
%\thispagestyle{mypagestyleOUOExportpage}    % Use for "OUO/ECI" in footer with page numbers

\addcontentsline{toc}{section}{LIST OF FIGURES}

\newpage

\clearemptydoublepage
\phantomsection
@@ -168,8 +263,18 @@ under contract DE-AC05-00OR22725
\listoftables
\end{centering}

\thispagestyle{mypagestylepublicpage}      % Use for "Not for public release." in footer with page numbers
%\thispagestyle{mypagestyleOUOpage}                  % Use for "OUO" in footer with page numbers
%\thispagestyle{mypagestyleOUOExportpage}    % Use for "OUO/ECI" in footer with page numbers

\addcontentsline{toc}{section}{LIST OF TABLES}

\newpage

\pagestyle{mypagestylepublicpage}      % Use for "Not for public release." in footer with page numbers
%\pagestyle{mypagestyleOUOpage}                  % Use for "OUO" in footer with page numbers
%\pagestyle{mypagestyleOUOExportpage}    % Use for "OUO/ECI" in footer with page numbers

\clearemptydoublepage
\phantomsection
\addcontentsline{toc}{section}{ACRONYMS}
@@ -186,6 +291,8 @@ TNR & Times New Roman \\
\end{table}


\newpage

\clearemptydoublepage
\phantomsection
\addcontentsline{toc}{section}{ADDITIONAL FRONT MATERIAL}
@@ -203,14 +310,9 @@ Material after the Contents, List of Figures, List of Tables, and the Acronym li

Each section of the front material begins on an odd-numbered page. The abstract, if very brief, may begin on page 1 inserted above the introduction section.

%\def\thefootnote{\fnsymbol{ctr}}
%\long\def\symbolfootnote[#1]#2{\begingroup
%\def\thefootnote{\fnsymbol{footnote}}\footnote[#1]{#2}\endgroup}

\renewcommand*{\thefootnote}{\fnsymbol{footnote}}

\footnote{test}
\footnote{test 2}
\def\thefootnote{\fnsymbol{ctr}}
\long\def\symbolfootnote[#1]#2{\begingroup
\def\thefootnote{\fnsymbol{footnote}}\footnote[#1]{#2}\endgroup}

\bigskip
\phantomsection
@@ -221,14 +323,14 @@ Each section of the front material begins on an odd-numbered page. The abstract,

Document margins are 1 in. all around.

%Text footnotes are 9 pt., TNR with no space between notes.\symbolfootnote[1]{Footnotes are 9pt., TNR with no space between notes. Footnotes are 9 pt., TNR with no space between notes.} Footnote indicators in text are superscript symbols and should appear in the following order: $\ast$, $\dagger$, $\ddagger$, $\S$, $\ast\ast$, $\dagger\dagger$, $\ddagger\ddagger$. Symbols {\underline {are not}} used as table footnote indicators (see page 4).

%\symbolfootnote[3]{test}
Text footnotes are 9 pt., TNR with no space between notes.\symbolfootnote[1]{Footnotes are 9pt., TNR with no space between notes. Footnotes are 9 pt., TNR with no space between notes.} Footnote indicators in text are superscript symbols and should appear in the following order: $\ast$, $\dagger$, $\ddagger$, $\S$, $\ast\ast$, $\dagger\dagger$, $\ddagger\ddagger$. Symbols {\underline {are not}} used as table footnote indicators (see page 4).

Footnotes may be used in addition to the author-date citation method, in which case, the footnotes provide additional information to the text, not bibliographic citations.

\newpage

\clearemptydoublepage
%\pagestyle{mypagestyle}                % Use for OUO in footer

\pagenumbering{arabic}

\setcounter{page}{1}
@@ -294,17 +396,16 @@ Insert figures after the text callout but as close to the call out as possible.

\begin{figure}[h]
\centering
\includegraphics[width=5.5in, height=2.5in]{fig1.png}
\includegraphics[width=5.5in, height=2.5in]{Fig1.jpg}
\vspace{-.1in}

\flushleft\caption[All figure captions are 10 pt, bold, Times New Roman.]{All figure captions are 10 pt, bold, Times New Roman. \textmd{If you have a two-line or more figure caption it is flush left. Only the first sentence of a figure caption is bolded.}}
\end{figure}

%Begin text here.

\begin{figure}[h]
\centering
\includegraphics[width=6.2in, height=2.75in, keepaspectratio=true]{fig1.png}
\includegraphics[width=6.2in, height=2.75in, keepaspectratio=true]{Fig1.jpg}
\vspace{-.1in}
\caption{One-line figure captions are centered.}
\end{figure}
@@ -381,7 +482,7 @@ DAYA2002j &x &x &- &x &x &x &2002 & Journal \\
\end{table}

\begin{sidewaystable}[p]
\caption{Table caption is bold, centered, and initial cap with no period at end of title}\label{tab:2}
\caption{Table caption is bold, centered, and initial cap with no period at end of title}\label{tab:1}
\small
\vspace{-6pt}
\begin{center}
@@ -440,7 +541,7 @@ Flanges used in ultra-high vacuum service are commonly closed with metallic gask
\section{FIRST-ORDER HEADING}
\end{center}

Flanges used in ultra-high vacuum service are commonly closed with metallic gaskets or seals. The geometry of the seal interface is critical for proper function. Experience has shown that flanges subjected to conventional welding techniques distort beyond a point that they can be sealed.
Flanges used in ultra-high vacuum service are commonly closed with metallic gaskets or seals. The geometry of the seal interface is critical for proper function. Experience has shown that flanges subjected to conventional welding techniques distort beyond a point that they can be sealed \cite{ABK2001}.
\vspace{12pt}

\begin{itemize}
@@ -517,14 +618,22 @@ Conley, T. B., M. I. Morris, I. W. Osborne-Lee, and G. A. Hulet. 1998. ``Mixed W
Davis, J. D. 1998. ``Mercury Mixed Waste Treatment.'' Paper presented at the Annual Meeting of the American Institute of Chemical Engineers, New Orleans, March 9.
\end{flushleft}

\bibliography{TMbib}

\bibliographystyle{plainnat}


\clearemptydoublepage

\newpage

\renewcommand{\thepage}{A-\arabic{page}}
\setcounter{page}{1}
%  \thispagestyle{mypagestyleempty}        % Use for OUO in footer with no page numbers
\thispagestyle{empty}

%\thispagestyle{mypagestylepublic}        % Use for "Not for public release." in footer with no page numbers
%\thispagestyle{mypagestyleOUOempty}    % Use for "OUO" in footer with no page numbers
%\thispagestyle{mypagestyleOUOExportempty}    % Use for "OUO/ECI" in footer with no page numbers
 \thispagestyle{empty}           % Hide when using other pagestyles (Not for public release, OUO, etc.)

\vspace*{4in}
\phantomsection
+0 −0

File mode changed from 100644 to 100755.

+94 −43
Original line number Diff line number Diff line
\setcounter{secnumdepth}{5} % Show all levels in TOC
\usepackage{titlesec} % Section title commands
\usepackage{parskip} % No indent for paragraphs; put vspace between them
\setcounter{secnumdepth}{5}
\usepackage{titlesec} 
\usepackage{parskip}
\usepackage[T1]{fontenc}   
\usepackage{blindtext} 
\usepackage{txfonts} 
\usepackage{graphicx} 
\usepackage{array} 
@@ -12,25 +13,33 @@
\usepackage{tocloft} 
\usepackage{fancyhdr} 
\usepackage[top=1in, bottom=1in, left=1in, right=1in] {geometry} 
\usepackage[pdftex,hidelinks]{hyperref}
\usepackage[hidelinks]{hyperref} 
\usepackage[flushleft]{threeparttable}
\usepackage{fncychap} 
\usepackage{fullpage} 
\usepackage{epsf} 
\usepackage{bm} 
\usepackage{rotating} 
\usepackage{wallpaper} 
\usepackage{sectsty}
\usepackage{framed} % colored box
\usepackage{framed, color}
\usepackage{float}
\usepackage{calc}
\usepackage{multirow}
\usepackage{natbib}       % Use if using a database of references usually name.bib file.


\definecolor{shadecolor}{RGB}{0,121,52}
\sectionfont{\fontsize{11}{11}\selectfont}

\renewcommand\UrlFont{\color{blue}}



\titleformat{\section}
	{\normalfont\large\bfseries\centering\uppercase}{\thesection}{1em}{}
\titleformat{\subsection}
	{\normalfont\large\bfseries\MakeUppercase}{\thesubsection}{1em}{}
	{\normalfont\large\bfseries\uppercase}{\thesubsection}{1em}{}
\titleformat{\subsubsection} 
	{\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
\titleformat{\paragraph} 
@@ -102,6 +111,33 @@
     \end{minipage}
     }

%create a command for Not for public release [Sponsor Controlled Ltr Report].
   \newcommand{\NotPublic}{
     \noindent
    \vskip 24pt
     \begin{minipage}{.45\textwidth}
     \begin{center}
     \begin{framed} 
     \large{\bfseries{\textsf{Not for public release.}}}\\
     \end{framed}
     \end{center}
     \end{minipage}
     }

\fancypagestyle{mypagestylepublicpage}{   % with page numbers
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C] {Not for public release. \\
 \thepage}  
}

\fancypagestyle{mypagestylepublic}{  % without page numbers
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C] {Not for public release.} 
}



%create a command for Approved for public release.
   \newcommand{\ApprovedBox}{
@@ -183,21 +219,21 @@
    \end{minipage}
    }}

\fancypagestyle{mypagestyle}{
\fancypagestyle{mypagestyleOUOpage}{   % With page numbers
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C] {OFFICIAL USE ONLY \\
 \thepage}  
}

\fancypagestyle{mypagestyleempty}{

\fancypagestyle{mypagestyleOUOempty}{   % Without page numbers
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C] {OFFICIAL USE ONLY} 
}



%create a command for Export Controlled Information
   \newcommand{\ECIBox}{
    \noindent
@@ -309,6 +345,20 @@
    \end{minipage}
    }}

\fancypagestyle{mypagestyleOUOExportpage}{   % With page numbers
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C] {OFFICIAL USE ONLY/EXPORT CONTROLLED INFORMATION \\
 \thepage}  
}


\fancypagestyle{mypagestyleOUOExportempty}{   % Without page numbers
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C] {OFFICIAL USE ONLY/EXPORT CONTROLLED INFORMATION} 
}


%create a command for Official Use Only and Applied Technology
   \newcommand{\OUOATBox}{
@@ -406,3 +456,4 @@
      Any further distribution by any holder of this document or data therein to third parties representing foreign interests, foreign governments, foreign companies, and foreign subsidiaries or foreign divisions of U.S. companies shall be approved by the [ \emph {insert appropriate NE Program Office Officials} ], U.S. Department of Energy.  Further, foreign party release may require the DOE approval pursuant to Federal Regulation 10 CFR Part 810, and/or may be subject to Section 127 of the Atomic Energy Act.\\ }}
    \end{minipage}
    }}