Commit f5f941a8 authored by Crawford, Sam's avatar Crawford, Sam
Browse files

Cascading acro changes to SPR template.

parent 6319464d
Loading
Loading
Loading
Loading
+31 −19
Original line number Diff line number Diff line
@@ -98,17 +98,34 @@


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ACRONYMS
% ABBREVIATIONS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Note that acronyms that aren't used in the document won't be printed in the
%  list.
%\makeglossaries
\makenoidxglossaries 
\newacronym{doe}{DOE}{Department of Energy}
\newacronym{nrc}{NRC}{Nuclear Regulatory Commission}
\newacronym{tm}{TM}{technical memo}
\newacronym{ornl}{ORNL}{Oak Ridge National Laboratory}
\newacronym{tnr}{TNR}{Times New Roman}
% Note that acronyms that aren't used in the document won't be printed in the list.
% Uses the Acro package called in CLS. Note that acronyms that aren't used in the document won't be printed in the list.
\DeclareAcronym{doe}{
	short = DOE ,
	long = US Department of Energy
}
\DeclareAcronym{nrc}{
	short = NRC ,
	long = Nuclear Regulatory Commission
}
\DeclareAcronym{tm}{
	short = TM ,
	long = Technical Memo
}
\DeclareAcronym{ornl}{
	short = ORNL ,
	long = Oak Ridge National Laboratory
}
\DeclareAcronym{tnr}{
	short = TNR ,
	long = Times New Roman
}
\DeclareAcronym{msc}{
	short = MSC ,
	long = many such cases
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FRONT MATTER
@@ -123,12 +140,8 @@
% LIST OF TABLES: optional if fewer than 5 are used
\listoftables

% LIST OF ACRONYMS
% NOTE: this will only print if `makeindex X.ist -o X.acr X.acn` is executed.
% This is part of the included Makefile.
%\printacronyms
%\printglossaries
\printnoidxglossaries 
% Print LIST OF ABBREVIATIONS (optional)
\printacronyms


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -239,11 +252,10 @@ Begin text here.
\subparagraph{Fifth-Order Heading}

Ask yourself, ``Do I \emph{really} need five or more hierarchical levels in my
document?''

document?'' \Ac{msc}.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\marginpar{A \texttt{\\cleardoublepage} should be inserted here if the preceding
\marginpar{A $\backslash$cleardoublepage should be inserted here if the preceding
section is not too short.}

\section{FIGURE PLACEMENT}
+12 −8
Original line number Diff line number Diff line
@@ -23,7 +23,8 @@
\RequirePackage{fancyhdr} % headers and footers
\RequirePackage{emptypage} % hide footers on blank pages
\RequirePackage[pdfusetitle]{hyperref} % url and links in PDF
\RequirePackage[shortcuts,acronym,nonumberlist,nogroupskip,nopostdot]{glossaries} % acronym support
\RequirePackage{acro} % Add support for abbreviations
\RequirePackage{array} % Add support for tabulars
\RequirePackage{tocloft} % table of contents styling
\RequirePackage{color} % colored fonts and boxes
\RequirePackage{framed} % framed notice boxes
@@ -351,7 +352,7 @@ DOE and DOE contractors should contact DOE’s Office of Scientific and Technica
	US Department of Energy \\
	Office of Scientific and Technical Information \\
	PO Box 62 \\
	Oak Ridge, TN 37831-0062 \\
	Oak Ridge, TN 37831 \\
	\textbf{\textit{Telephone:}} (865) 576-8401 \\
	\textbf{\textit{Fax:}} (865) 576-5728 \\
	\textbf{\textit{Email:}}  \href{mailto:reports@osti.gov}{reports@osti.gov} \\
@@ -516,12 +517,15 @@ under contract DE-AC05-00OR22725
% ABBREVIATIONS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\setacronymstyle{long-short}
\setglossarystyle{long}
\renewcommand\glsdescwidth{\linewidth}
\glstoctrue
\renewcommand\glossarypostamble{\@cleardbliffrontmatter}
\renewcommand\acronymname{ABBREVIATIONS}
\acsetup{
	list/heading = section*, % Set list heading to section but do not number
	list/name = {LIST OF ABBREVIATIONS}, % Ensure heading will print correct title
	list/template = tabular, % Set list style as tabular for better spacing
	list/preamble = { % Adding options to the preamble of the actual list. Any text or TeX can go here (almost).
		\phantomsection % Adding a phantom section so the ToC link will actually go there
		\addcontentsline{toc}{section}{LIST OF ABBREVIATIONS} % Adding line to ToC for the abbreviations
	}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% MAIN MATTER
+2 −2
Original line number Diff line number Diff line
@@ -493,8 +493,8 @@ list/template = tabular, % Set list style as tabular for better spacing
list/preamble = { % Adding options to the preamble of the actual list. Any text or TeX can go here (almost).
	\phantomsection % Adding a phantom section so the ToC link will actually go there
	\addcontentsline{toc}{section}{LIST OF ABBREVIATIONS} % Adding line to ToC for the abbreviations
}
}
} % End acro preamble
} % End acro setup


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