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 am puzzled by a blank page appearing between my abstract and ToC. Since I'm using the report document class, I am not expecting LaTeX to insert any blank pages. Here is a MWE showing the problem:

% Testing behavior of abstract+tableofcontents
\documentclass[11pt, a4paper]{report}

\title{Project title}

\author{Authors...}

\begin{document}

\begin{abstract}
    This is a dummy abstract...
\end{abstract}

\textsf{\tableofcontents}

\chapter{Chapter 1}

\section{Section 1}
\subsection{Subsection 1}
\subsection{Subsection 2}

\section{Section 2}

\chapter{Chapter 2}

\end{document}

Any clues as to why the blank page is appearing and how to get rid of it will be very much appreciated.

share|improve this question
add comment

1 Answer 1

up vote 8 down vote accepted

Write {\sffamily\tableofcontents} instead of \textsf{\tableofcontents}. The \textsf is intended for (smaller) texts and will start a paragraph if used in vertical mode (i.e. between paragraphs). Then \tableofcontents adds its page break which causes an empty page.

share|improve this answer
    
This worked like a charm! Thanks, Martin :) –  damjan Apr 24 '12 at 18:18
add comment

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.