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

Added appendix styling

parent 13d146c8
Loading
Loading
Loading
Loading
+15 −2
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ numbered as such, then this page would begin with the introduction section.
\end{abstract}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{First-order heading}
\section{First-order Heading}

Begin text here.

@@ -43,7 +43,7 @@ section (i.e., 1-1, 2-1, 3-1) using Arabic numbers centered at the bottom of
each page. Blank backup pages are not numbered.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Second-order heading}
\subsection{Second-order Heading}

Begin text here.

@@ -65,6 +65,19 @@ document?''
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Figure placement}

todo

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% APPENDICES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\appendix
\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.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\bibliographystyle{ans}
%\bibliography{SRJwork}
+28 −13
Original line number Diff line number Diff line
@@ -42,8 +42,9 @@
\RequirePackage{fancyhdr} % headers and footers
\RequirePackage[parfill]{parskip} % No indent for paragraphs
\RequirePackage[tiny]{titlesec} % title modification: use text size
\RequirePackage{tocloft} % table of contents styling
%\RequirePackage{tocloft} % table of contents styling
\RequirePackage[pdfusetitle]{hyperref} % url and links in PDF
\RequirePackage{emptypage} % hide footers on blank pages

% Footer for cover page
\fancypagestyle{coverpage}
@@ -72,17 +73,17 @@
\titleformat{\subparagraph}{\bf\itshape}{\relax}{0pt}{}[]

% TOC styles
\renewcommand{\cfttoctitlefont}{\hfill\large\bfseries\MakeUppercase}
\renewcommand{\cftloftitlefont}{\hfill\large\bfseries\MakeUppercase}
\renewcommand{\cftlottitlefont}{\hfill\large\bfseries\MakeUppercase}
\renewcommand{\cftaftertoctitle}{\hfill}
\renewcommand{\cftafterloftitle}{\hfill}
\renewcommand{\cftafterlottitle}{\hfill}
\renewcommand{\cftsecfont}{\normalfont}
\renewcommand{\cftsubsecfont}{\normalfont}
\renewcommand{\cftsecpagefont}{\normalfont}
\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}
\renewcommand\@tocrmarg{.5in plus .5fil}
%\renewcommand{\cfttoctitlefont}{\hfill\large\bfseries\MakeUppercase}
%\renewcommand{\cftloftitlefont}{\hfill\large\bfseries\MakeUppercase}
%\renewcommand{\cftlottitlefont}{\hfill\large\bfseries\MakeUppercase}
%\renewcommand{\cftaftertoctitle}{\hfill}
%\renewcommand{\cftafterloftitle}{\hfill}
%\renewcommand{\cftafterlottitle}{\hfill}
%\renewcommand{\cftsecfont}{\normalfont}
%\renewcommand{\cftsubsecfont}{\normalfont}
%\renewcommand{\cftsecpagefont}{\normalfont}
%\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}
%\renewcommand\@tocrmarg{.5in plus .5fil}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% VARIABLES
@@ -326,6 +327,20 @@ 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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -342,7 +357,7 @@ under contract DE-AC05-00OR22725
  \pagenumbering{roman}
  \setcounter{page}{3}
  % Make the table of contents
  \thispagestyle{plain}
  \pagestyle{plain}
  \tableofcontents%
  \cleardoublepage%
  % Begin actual document