Commit 92deb531 authored by Crawford, Sam's avatar Crawford, Sam
Browse files

Trying to get the bibliography to work. At a stopping point for today.

parent 16d96aed
Loading
Loading
Loading
Loading
+20 −9
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
% Example of ORNL tech memo template
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{ornltm}
\bibliography{ornltm}

% XXX temporary: show page margins
%\usepackage{showframe}
@@ -165,7 +166,7 @@ document?''

\subsection{Figures}

Insert figures after the text callout but as close to the call out as possible. (They always have a caption describing them and they are always numbered . LaTeX automatically floats Tables and Figures, depending on how much space is left on the page at the point that they are processed. If there is not enough room on the current page, the float is moved to the top of the next page.) Figures are numbered consecutively (i.e., Figure 1, Figure 2) except in large reports, where they may be numbered consecutively by section (i.e., Figure 1.1, Figure 1.2).
Insert figures after the text callout but as close to the call out as possible. (They always have a caption describing them and they are always numbered . LaTeX automatically floats Tables and Figures, depending on how much space is left on the page at the point that they are processed. If there is not enough room on the current page, the float is moved to the top of the next page.) Figures are numbered consecutively (i.e., Figure 1, Figure 2) except in large reports, where they may be numbered consecutively by section (i.e., Figure 1.1, Figure 1.2). \cite{NCRPM1989}

\begin{figure}[h]
	\centering
@@ -186,11 +187,29 @@ Insert figures after the text callout but as close to the call out as possible.
\begin{center}
\end{center}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% BIBLIOGRAPHY
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\printbibliography


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% APPENDICES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\appendix

% FIRST APPENDIX
\appendixpagenumbering
\section{Add Title for This Appendix}

If each appendix contains similarly formatted text as the body of the document
(i.e., first-order headings) then flysheets are not necessary. If first-order
headings cannot be used, such as with computer data or forms, a flysheet should
be used.

% SECOND APPENDIX
\appendixpagenumbering
\section{Add Title for This Appendix}

If each appendix contains similarly formatted text as the body of the document
@@ -198,15 +217,7 @@ If each appendix contains similarly formatted text as the body of the document
headings cannot be used, such as with computer data or forms, a flysheet should
be used.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% BIBLIOGRAPHY
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Remove comment "%" from the bibliography commands below.
%Replace the "ornltm" name (on the file system as ornltm.bib) with the name of your bibliography.bib file.
%No file extension naming needed.

%\bibliographystyle{biblatex-chicago}
%\bibliography{ornltm}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}

ornltm.bib

0 → 100644
+20 −0
Original line number Diff line number Diff line
% Encoding: UTF-8

@TechReport{Baker1993,
  author      = {D. A. Baker and J. K. Soldat},
  title       = {Methods for Estimating Doses to Organisms from Radioactive Materials Released into the Aquatic Environment},
  institution = {Pacific Northwest Laboratories},
  year        = {1993},
  number      = {PNL 8150},
  address     = {Richland, WA},
}

@TechReport{NCRPM1989,
  author  = {{National Council on Radiation Protection and Measurements}},
  title   = {1989 Exposure of the US Population from Diagnostic Medical Radiation},
  year    = {1989},
  number  = {NCRP Report No. 100},
  address = {Bethesda, MD},
}

@Comment{jabref-meta: databaseType:bibtex;}
+31 −13
Original line number Diff line number Diff line
@@ -328,19 +328,7 @@ under contract DE-AC05-00OR22725
}{}
\renewcommand\contentsname{Contents}

% Change format for appendices: 'appendix' in title, title takes entire page,
% is not numbered, followed by a blank unnumbered page.
\renewcommand\appendixname{APPENDIX}
\renewcommand\appendix{%
\setcounter{section}{0}%
\setcounter{subsection}{0}%
%
\titleclass{\section}{page}%
\newcommand{\sectionbreak}{\cleardoublepage}%
\assignpagestyle{\section}{empty}%
\titleformat{\section}[block]{\vfill\filcenter\bf}{\appendixname~\thetitle.}{1ex}{\MakeUppercase}[\vfill]%
  %\titlespacing*{\section}{0pt}{0pt}{0pt}%
\gdef\thesection{\@Alph\c@section}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% DOCUMENT
@@ -369,6 +357,36 @@ under contract DE-AC05-00OR22725

\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% APPENDIX PAGE NUMBERING
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\appendixpagenumbering}{
	\break
	\pagenumbering{arabic}
	\renewcommand{\thepage}{\thesection-\arabic{page}}
}

% Change format for appendices: 'appendix' in title, title takes entire page,
% is not numbered, followed by a blank unnumbered page.
\renewcommand\appendixname{APPENDIX}
\renewcommand\appendix{%
	\clearemptydoublepage
	\setcounter{section}{0}%
	\setcounter{subsection}{0}%
	%
	\titleclass{\section}{page}%
	\newcommand{\sectionbreak}{\cleardoublepage}%
	\assignpagestyle{\section}{empty}%
	\titleformat{\section}[block]{\vfill\filcenter\bf}{\appendixname~\thetitle.}{1ex}{\MakeUppercase}[\vfill]%
	%\titlespacing*{\section}{0pt}{0pt}{0pt}%
	\gdef\thesection{\@Alph\c@section}
	}
	
% BIBLIOGRAPHY
\usepackage[authordate,autocite=inline,backend=biber, natbib]{biblatex-chicago}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% end of Exnihilo/environment/latex/ornltm.cls
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%