I'm currently writing my Bachelor's thesis in LaTeX using the REVTeX 4.1 document class (revtex4-1
package). I am using this package because of the clear citation style and nice figure caption layout. I would like to have my thesis consist of multiple chapters, e.g. 'Introduction', 'Theory' etc. However, it appears that REVTeX 4.1 does not support the \chapter
command, because my chapter title is not typeset when I use this command.
Is there any way in which to include or 'emulate' a chapter title above the different parts of my thesis?
Here is some code that I would naïvely use to achieve what I want.
\documentclass[aps, prb, preprint]{revtex4-1}
\usepackage{hyperref}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[font={footnotesize},format=plain,labelfont={bf},up,up,]{caption}
\usepackage{subcaption}
\usepackage{fullpage,graphicx,textcomp,gensymb,wrapfig}
\begin{document}
\chapter{Theory}
\section{Introduction to Scanning Tunneling Microscopy}
(text of my chapter)
\end{document}
Note: Ideally, I would like to create one big file using \include
that includes all the separate .tex
files that are my individual chapters. I don't know if this has any influence on the fact that I want to use the \chapter
command within the revtex4-1
document class, but I want to mention it anyway.
EDIT: I was thinking of maybe using a package like titlesec
to artificially create a heading that resembles a chapter heading, but so far I haven't managed to make it work. The code that I was thinking of is (right below \begin{document} in the above code):
\titleclass{\chapterthesis}{top}[\part]
\newcounter{chapterthesis}
\providecommand{\chaptert}{\alph{chapterthesis}}
\titleformat{\chaptert}[display]{bf}{experimental}{3pt}{\chaptert}
\chaptert{Theory}
Best Answer
To sum up the comments: like a lot of classes intended for submission to journals, REVTeX is really not suited to tasks other than that for which it was written. It makes lots of internal changes and assumptions that are entirely reasonable for its purpose, and one of those is 'no chapters'. As such, the correct solution is to use an alternative class and load packages which add the desired functionality.