Loading .gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -17,4 +17,5 @@ *.out *.run.xml *.synctex.gz *.temp *.toc example/.gitignore 0 → 100644 +1 −0 Original line number Diff line number Diff line ornl-template-example.pdf example/ornl-template-example.tex +4 −4 Original line number Diff line number Diff line Loading @@ -6,15 +6,15 @@ % Example of ORNL tech memo template %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Use the [draft] option to compile more quickly \documentclass[draft]{ornltm} \documentclass{ornltm} %\documentclass[draft]{ornltm} % XXX temporary: show page margins %\usepackage{showframe} \renewcommand\makeostipage\relax \renewcommand\makecoverpage\relax \renewcommand\maketitlepage\relax %\renewcommand\makeostipage\relax %\renewcommand\makecoverpage\relax %\renewcommand\maketitlepage\relax % Unusual table extensions (support for table notes etc %\usepackage{rotating} Loading ornltm/ornltm.cls +24 −30 Original line number Diff line number Diff line Loading @@ -45,8 +45,6 @@ \RequirePackage{emptypage} % hide footers on blank pages \RequirePackage[font=bf]{caption} %\RequirePackage{tocloft} % table of contents styling %\RequirePackage{xpatch} %\RequirePackage{xcolor} \RequirePackage{titlesec} % title modification: use text size \RequirePackage[pdfusetitle]{hyperref} % url and links in PDF \RequirePackage{emptypage} % create a blank page with no numbers Loading @@ -70,12 +68,12 @@ % Email URL command \newcommand{\email}[1]{\href{mailto:#1}{#1}} % Disable highlighting of links % Add pretty link colors \hypersetup{ colorlinks, linkcolor={red!50!black}, citecolor={blue!50!black}, urlcolor={blue!80!black} linkcolor=[rgb]{0.082,0.274,0.407}, citecolor=[rgb]{0.780,0.647,0.258}, urlcolor=[rgb]{0.325,0.494,0.658} } % TITLE STYLES Loading Loading @@ -173,19 +171,21 @@ treated as a draft.}} \def\makecoverpage{% \begin{titlepage} \thispagestyle{coverpage} % \setlength{\parindent}{0pt} \raggedleft \URCornerWallPaper{1.0}{Graybar.png}% \ThisURCornerWallPaper{1.0}{Graybar.png}% \ClearWallPaper% % \begin{minipage}[c][1in]{\textwidth-2.5in}% % Notice about preliminary document when the 'reportnum' variable is not set %% TOP LEFT NOTICE %% \if@reportnumdefined% { \hspace*{0pt}% }% \else% {% % Notice about preliminary document when the 'reportnum' variable is not set \hspace*{\fill}\fbox{\parbox{3.5in}{% \footnotesize\raggedright\textsf{% NOTICE: This document contains information of a preliminary nature and is not Loading @@ -196,11 +196,13 @@ treated as a draft.}} \fi% \end{minipage}% % %% REPORT NUMBER %% \begin{minipage}[c][1in]{2.5in}% \raggedleft\large\textbsf{\@reportnum} \raggedleft \large\textbsf{\@reportnum} \end{minipage}% % Title block %% TITLE %% \setlength\fboxsep{1em} \colorbox{ornlgreen}{% \begin{minipage}{\textwidth-2\fboxsep}% Loading @@ -211,11 +213,16 @@ treated as a draft.}} \end{minipage}% } \vspace{2\baselineskip} \vspace*{2\baselineskip} %%% PHOTO %%% \hspace{\stretch{1}}% \includegraphics[width=4.88in, height=3.47in]{Officiallogo.jpg} \raggedleft \hfill% \setlength\fboxsep{0.05in} \colorbox{white}{% \includegraphics[width=4.88in]{Officiallogo.jpg}% }% \hspace{-0.05in} %%% NOTICES %%% % If restrict and reportnum, show restrict Loading Loading @@ -276,7 +283,7 @@ treated as a draft.}} Reports produced after January 1, 1996, are generally available free via US Department of Energy (DOE) SciTech Connect. \begin{quote} Website http://www.osti.gov/scitech/ \textbi{Website} http://www.osti.gov/scitech/ \end{quote} Reports produced before January 1, 1996, may be purchased by members of the Loading Loading @@ -378,15 +385,10 @@ under contract DE-AC05-00OR22725 \@mainmattertrue \def\@cleariffrontmatter{\if@mainmatter\relax\else{\cleardoublepage}\fi} \let\@oldtableofcontents=\tableofcontents \renewcommand\tableofcontents{ POOP1 \newcommand\ornltableofcontents{ \@cleariffrontmatter% POOP2 \pagestyle{plain}% POOP3 \@oldtableofcontents% POOP4 \tableofcontents% } \let\@oldlistoffigures=\listoffigures Loading Loading @@ -495,14 +497,6 @@ under contract DE-AC05-00OR22725 \usepackage[authordate,strict,backend=biber,autolang=other,bibencoding=inputenc]{biblatex-chicago} \bibliography{ornltm} % %The variables below allow you to define some things about the references list, including the name. % \newenvironment{references}{% % \renewcommand\refname{REFERENCES} % %\phantomsection % %\addcontentsline{toc}{section}{References} % %\printbibliography % } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % end of Exnihilo/environment/latex/ornltm.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Loading
.gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -17,4 +17,5 @@ *.out *.run.xml *.synctex.gz *.temp *.toc
example/.gitignore 0 → 100644 +1 −0 Original line number Diff line number Diff line ornl-template-example.pdf
example/ornl-template-example.tex +4 −4 Original line number Diff line number Diff line Loading @@ -6,15 +6,15 @@ % Example of ORNL tech memo template %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Use the [draft] option to compile more quickly \documentclass[draft]{ornltm} \documentclass{ornltm} %\documentclass[draft]{ornltm} % XXX temporary: show page margins %\usepackage{showframe} \renewcommand\makeostipage\relax \renewcommand\makecoverpage\relax \renewcommand\maketitlepage\relax %\renewcommand\makeostipage\relax %\renewcommand\makecoverpage\relax %\renewcommand\maketitlepage\relax % Unusual table extensions (support for table notes etc %\usepackage{rotating} Loading
ornltm/ornltm.cls +24 −30 Original line number Diff line number Diff line Loading @@ -45,8 +45,6 @@ \RequirePackage{emptypage} % hide footers on blank pages \RequirePackage[font=bf]{caption} %\RequirePackage{tocloft} % table of contents styling %\RequirePackage{xpatch} %\RequirePackage{xcolor} \RequirePackage{titlesec} % title modification: use text size \RequirePackage[pdfusetitle]{hyperref} % url and links in PDF \RequirePackage{emptypage} % create a blank page with no numbers Loading @@ -70,12 +68,12 @@ % Email URL command \newcommand{\email}[1]{\href{mailto:#1}{#1}} % Disable highlighting of links % Add pretty link colors \hypersetup{ colorlinks, linkcolor={red!50!black}, citecolor={blue!50!black}, urlcolor={blue!80!black} linkcolor=[rgb]{0.082,0.274,0.407}, citecolor=[rgb]{0.780,0.647,0.258}, urlcolor=[rgb]{0.325,0.494,0.658} } % TITLE STYLES Loading Loading @@ -173,19 +171,21 @@ treated as a draft.}} \def\makecoverpage{% \begin{titlepage} \thispagestyle{coverpage} % \setlength{\parindent}{0pt} \raggedleft \URCornerWallPaper{1.0}{Graybar.png}% \ThisURCornerWallPaper{1.0}{Graybar.png}% \ClearWallPaper% % \begin{minipage}[c][1in]{\textwidth-2.5in}% % Notice about preliminary document when the 'reportnum' variable is not set %% TOP LEFT NOTICE %% \if@reportnumdefined% { \hspace*{0pt}% }% \else% {% % Notice about preliminary document when the 'reportnum' variable is not set \hspace*{\fill}\fbox{\parbox{3.5in}{% \footnotesize\raggedright\textsf{% NOTICE: This document contains information of a preliminary nature and is not Loading @@ -196,11 +196,13 @@ treated as a draft.}} \fi% \end{minipage}% % %% REPORT NUMBER %% \begin{minipage}[c][1in]{2.5in}% \raggedleft\large\textbsf{\@reportnum} \raggedleft \large\textbsf{\@reportnum} \end{minipage}% % Title block %% TITLE %% \setlength\fboxsep{1em} \colorbox{ornlgreen}{% \begin{minipage}{\textwidth-2\fboxsep}% Loading @@ -211,11 +213,16 @@ treated as a draft.}} \end{minipage}% } \vspace{2\baselineskip} \vspace*{2\baselineskip} %%% PHOTO %%% \hspace{\stretch{1}}% \includegraphics[width=4.88in, height=3.47in]{Officiallogo.jpg} \raggedleft \hfill% \setlength\fboxsep{0.05in} \colorbox{white}{% \includegraphics[width=4.88in]{Officiallogo.jpg}% }% \hspace{-0.05in} %%% NOTICES %%% % If restrict and reportnum, show restrict Loading Loading @@ -276,7 +283,7 @@ treated as a draft.}} Reports produced after January 1, 1996, are generally available free via US Department of Energy (DOE) SciTech Connect. \begin{quote} Website http://www.osti.gov/scitech/ \textbi{Website} http://www.osti.gov/scitech/ \end{quote} Reports produced before January 1, 1996, may be purchased by members of the Loading Loading @@ -378,15 +385,10 @@ under contract DE-AC05-00OR22725 \@mainmattertrue \def\@cleariffrontmatter{\if@mainmatter\relax\else{\cleardoublepage}\fi} \let\@oldtableofcontents=\tableofcontents \renewcommand\tableofcontents{ POOP1 \newcommand\ornltableofcontents{ \@cleariffrontmatter% POOP2 \pagestyle{plain}% POOP3 \@oldtableofcontents% POOP4 \tableofcontents% } \let\@oldlistoffigures=\listoffigures Loading Loading @@ -495,14 +497,6 @@ under contract DE-AC05-00OR22725 \usepackage[authordate,strict,backend=biber,autolang=other,bibencoding=inputenc]{biblatex-chicago} \bibliography{ornltm} % %The variables below allow you to define some things about the references list, including the name. % \newenvironment{references}{% % \renewcommand\refname{REFERENCES} % %\phantomsection % %\addcontentsline{toc}{section}{References} % %\printbibliography % } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % end of Exnihilo/environment/latex/ornltm.cls %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%