Known Gotchas
bsaul opened this issue · 0 comments
bsaul commented
- the fontsize for the section titles are set in the
layout.tex
file is to 12pt, and this is NOT updated by thefontsize
setting in the YAML header.
% Section titles
\titleformat{\section}{\normalfont\fontsize{12}{15}\bfseries}{\thesection}{1em}{}
- chapter titles must be ALL CAPS
- use the
\mychapter[]{}
macro for chapters. If you use the#
in a.Rmd
, this is converted to a\chapter{}
macro, which will not populate the table of contents incorrectly (it put the numbers in front of the chapter entries). Note that the chapter number goes in the brackets. - the
\mychapter[1]{FIRST CHAPTER}\label{firstchapter}
macro does not yield the correct references numbers when using\ref{firstchapter}
. This can probably be fixed by a LaTeX expert by modifying the command definition intemplate.tex
:
% Use this command to start each chapter
% The format allows chapters in the table
% of contents to meet grad school requirements
% as of 2017
\newcommand{\mychapter}[2]{
\setcounter{chapter}{#1}
\setcounter{section}{0}
\chapter*{#2}
\addcontentsline{toc}{chapter}{#2}
}
Also, unrelated to the template, but other gotchas:
- Do not include titles such as Professor, Doctor, Dr., PhD, or any identifiers such as “chair” or “advisor” before or after any names.