Generalproblem: why are there blank pages?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
allevo
Posts: 49
Joined: Sat Apr 11, 2009 12:09 pm

problem: why are there blank pages?

Post by allevo »

hi!!
i create with this code a pdf file:

Code: Select all

\documentclass[a4wide]{book}

%codifica caratteri
\usepackage[utf8x]{inputenc}
%sillabazione italiana
\usepackage[italian]{babel}
%new title format
\usepackage{titlesec}
%immagini
\usepackage{graphicx}
\graphicspath{{img_esempi/}}
%extra font size
\usepackage{fix-cm}
%layout page
\usepackage[text={6in,10in},centering, top=1.5in, left=2.5cm, right=2.5cm]{geometry}
%heading of chapter
\titleformat
{\chapter}
{\center }
{\chaptername}
{10mm}
{\fontsize{60}{70}\selectfont}
[{\vspace{10mm} \hrulefill \vspace{10mm}}]
\titlespacing{\chapter}{0mm}{0mm}{0mm}
%paragraph mode
\setlength{\parskip}{12pt}  % 12 pt = space between paragraphs
\setlength{\parindent}{0pt} % 0 pt  = indentation


\begin{document}

\chapter{introduzione}
introduzione!!
\chapter{dimostraiozne per assurdo}
\chapter{assurdo in filosofia}
\chapter{teatro dell'assurdo}
\end{document}
this code create i pdf with 3 pages blanck against my wishes. where do i wrong?!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

problem: why are there blank pages?

Post by Stefan Kottwitz »

Hi Allevo,

chapters will start at right/odd pages by default, that's why blank pages will be inserted. If you want to change that use the openany option:

Code: Select all

\documentclass[openany]{book}
Stefan
LaTeX.org admin
turbomac
Posts: 34
Joined: Sat Oct 10, 2009 9:38 pm

Re: problem: why are there blank pages?

Post by turbomac »

THanks, this solved my problem :)
Post Reply