Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}
share|improve this question
    
Welcome to TeX.SX. A tip: If you indent lines by 4 spaces, then they're marked as a code sample. You can also highlight the code and click the "code" button ({}) or hit Ctrl+K. –  Claudio Fiandrino Mar 25 '13 at 10:41
4  
The revtex class doesn't support chapters, because it's meant for submitting articles to journals about physics. –  egreg Mar 25 '13 at 11:00
    
@egreg: I am aware of that, and that is the reason I have made this post. In writing my thesis I would like to combine the features of the RevTex package with the structure of, say, a book. –  Koen Mar 25 '13 at 11:17
    
Adding all the necessary infrastructure for chapters would be a rather complex task. –  egreg Mar 25 '13 at 11:23
    
As mentioned by others, I'd recommend not using revtex4 for projects other than what it is intended for. –  daleif Mar 25 '13 at 11:36

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.