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

Fix glossary style, footnote rule

parent 957b4bf0
Loading
Loading
Loading
Loading
+8 −10
Original line number Diff line number Diff line
@@ -24,16 +24,14 @@
\usepackage{booktabs} % Toprule, midrule, bottomrule
\usepackage{multirow} % Extend table entries over multiple rows

% Bibliography styling: you can use your own if desired
\usepackage[authordate,strict,backend=biber,autolang=other,bibencoding=inputenc]{biblatex-chicago}
% Bibliography styling. WARNING: the biblatex-chicago package removes the
% footnote rule.
% \usepackage[authordate,strict,backend=biber,autolang=other,bibencoding=inputenc]{biblatex-chicago}

% Use inline small italic blue for comments
\definecolor{note}{RGB}{48,96,192}
\renewcommand{\marginpar}[1]{{\small\em\color{note}[#1]}}

% Bibliography
\usepackage[authordate,strict,backend=biber,autolang=other,bibencoding=inputenc]{biblatex-chicago}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% AUTHORSHIP & PUBLISHING
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -68,7 +66,7 @@
% ACRONYMS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Note that acronyms that aren't used in the document won't be printed in the
% resulting list.
%  list.
\makeglossaries
\newacronym{doe}{DOE}{Department of Energy}
\newacronym{nrc}{NRC}{Nuclear Regulatory Commission}
@@ -88,7 +86,7 @@
% 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.gls X.glo` is executed.
% NOTE: this will only print if `makeindex X.ist -o X.acr X.acn` is executed.
% This is part of the included Makefile.
\printacronyms

@@ -318,13 +316,13 @@ references cited or footnote + references cited.

Author-date style is set by default (in the class file) and is preferred. Use
the autocite command to defer to the default citation style, which will give
you: \autocite{Conley1998}.
you:% \autocite{Conley1998}.

If for some reason you don't want the citation to be surrounded by parentheses,
you can use the cite command, like this: \cite{Davis1998}.

You can also push abbreviated citations into the footnotes using a footcite
command, like this. \footcite{Adams2001}
command, like this.% \footcite{Adams2001}

For all of the examples above, you do not have to change anything other than the
actual citation command. However, you (advanced users) can change the
@@ -434,7 +432,7 @@ efficitur justo sed diam suscipit varius.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Bibliography support via biblatex
\printbibliography
%\printbibliography

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% APPENDICES
+10 −14
Original line number Diff line number Diff line
@@ -48,11 +48,7 @@
\RequirePackage{titlesec} % title modification: use text size
\RequirePackage[pdfusetitle]{hyperref} % url and links in PDF
\RequirePackage{tocloft} % table of contents styling
\RequirePackage[shortcuts,acronym]{glossaries} % acronym support

% Set footrule width for pages w/footnotes.
% THIS DOESN'T WORK.
% \renewcommand{\footrulewidth}{0.4pt}
\RequirePackage[shortcuts,acronym,nonumberlist,nogroupskip,nopostdot]{glossaries} % acronym support

% ORNL official green color
\definecolor{ornlgreen}{RGB}{0,121,52}
@@ -112,8 +108,8 @@
treated as a draft.}}
\newcommand{\reportnum}[1]{\def\@reportnum{#1}\@reportnumdefinedtrue}

% Use the \restrict command to define a report number. If undefined, the
% document is a draft.
% Use the \restrict command to add qualifications to the document's restriction.
% For example, add ``OUO'' and such.
\newif\if@restrictdefined
\@restrictdefinedfalse
\def\@restrict{%
@@ -121,7 +117,6 @@ treated as a draft.}}
           Distribution is unlimited.}}
\newcommand{\restrict}[1]{\def\@restrict{#1}\@restrictdefinedtrue}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COVER
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -137,7 +132,6 @@ treated as a draft.}}
\def\makecoverpage{%
\begin{titlepage}
\thispagestyle{coverpage}
\setlength{\parindent}{0pt}
\raggedleft
\URCornerWallPaper{1.0}{Graybar.png}%
\ThisURCornerWallPaper{1.0}{Graybar.png}%
@@ -218,6 +212,7 @@ treated as a draft.}}
\fi
\end{minipage}
\hspace*{\fill}

%%% AUTHOR AND DATE %%%
\begin{minipage}[c]{2in}%
\def\and{\\}% Newline between authors
@@ -249,7 +244,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}
  \textbi{Website} http://www.osti.gov/scitech/
  \textbi{Website} \href{https://osti.gov/}{osti.gov}
\end{quote}

Reports produced before January 1, 1996, may be purchased by members of the
@@ -263,7 +258,7 @@ public from the following source:
  \textbi{TDD}        703-487-4639 \\
	\textbi{Fax}        703-605-6900 \\
  \textbi{E-mail} \email{info@ntis.gov} \\
  \textbi{Website} \email{http://www.ntis.gov/help/ordermethods.aspx}
  \textbi{Website} \href{https://classic.ntis.gov/}{classic.ntis.gov}
\end{quote}

Reports are available to DOE employees, DOE contractors, Energy Technology Data
@@ -277,7 +272,7 @@ representatives from the following source:
  \textbi{Telephone} 865-576-8401 \\
  \textbi{Fax} 865-576-5728 \\
  \textbi{E-mail} \email{reports@osti.gov} \\
  \textbi{Website} http://www.osti.gov/contact.html \\
  \textbi{Website} \href{https://osti.gov/contact}{osti.gov/contact} \\
\end{quote}
}}

@@ -430,18 +425,19 @@ under contract DE-AC05-00OR22725
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\setacronymstyle{long-short}
\setglossarystyle{list}
\glstoctrue

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% MAIN MATTER
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand\mainmatter{%
  \cleardoublepage
  \cleardoublepage%
  \@mainmattertrue%
  \pagenumbering{arabic}%
}


% Caption with more than one sentence: the first sentence is the first argument,
% the rest are the second. This allows table of contents to just show the first
% sentence but display the whole thing in the text. It also clears the boldface