Document ClassesUnwanted blank pages in »book« class

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Unwanted blank pages in »book« class

Post by coachbennett1981 »

I am compiling a book for someone and I am having trouble getting rid of extra pages. After each chapter, there is a blank page. Our cost is based on number of pages. Is there way to eliminate this? I have included the code, but none of the chapters are attached.

Thank you for you time,

Nick

Code: Select all

Code, edit and compile here:
\documentclass[12pt]{book}
\usepackage{amsmath,amssymb,amsfonts} % Typical maths resource packages
\usepackage{graphics} % Packages to allow inclusion of graphics
\usepackage{color} % For creating coloured text and background
\usepackage{multicol}
\usepackage{enumitem}
\usepackage{tikz}
\usepackage{pst-circ}
\usetikzlibrary{positioning}
\usetikzlibrary{calc,through,backgrounds}
\usepackage[font=small,labelsep=none]{caption}
\usepackage{subfig}
\usepackage{pstricks}
\usepackage{pst-bar}
\usepackage{pstricks-add}
\usepackage{cancel}
\input{longdiv(2).tex}
\setlength\pdfpageheight{10.0in}
\setlength\pdfpagewidth{8.0in}
\setlength\topmargin{-0.5in}
\setlength\headheight{0.0in}
\setlength\headsep{0.5in}
\setlength\textheight{8.5in}
\setlength\textwidth{7in}
\setlength\oddsidemargin{-0.5in}
\setlength\evensidemargin{-0.5in}
\setlength\parindent{0.25in}
\setlength\parskip{0.25in}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{definition}[theorem]{Definition}
\newcommand\T{\rule{0pt}{4.0ex}}
\newcommand\B{\rule[-2.0ex]{0pt}{0pt}}
\newcommand{\field}[1]{\mathbb{#1}}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Last edited by coachbennett1981 on Tue Mar 08, 2011 6:16 pm, edited 1 time in total.

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Unwanted blank pages in »book« class

Post by localghost »

You still have to learn how to build a minimal example. That's a point you should keep in mind for the future. Every documentation about LaTeX basics suggests to use the openany option for the document class.


Thorsten
coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

Re: Unwanted blank pages in »book« class

Post by coachbennett1981 »

Thanks.. I understand about the minimal working example. I was simply not sure how to make one for this book feature.

Nick
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Unwanted blank pages in »book« class

Post by localghost »

coachbennett1981 wrote:[…] I was simply not sure how to make one for this book feature. […]
Just for notification [1]. This should help you for the next time.

[1] View topic: Avoidable mistakes
Post Reply