Text FormattingWhat is causing blank pages?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
whodafunk
Posts: 2
Joined: Thu May 29, 2014 2:00 pm

What is causing blank pages?

Post by whodafunk »

Hi All,

This is my 1st attempt at a latex document so please be gentle on me!!! I'm having a problem with my document in that there are 2 blank pages. Can anyone see from the code what I am doing wrong? Code is below.

Many Thanks

Code: Select all

%%%%%
%Document Information
\documentclass{book}
\author{xyz}
\title{xzy}



% packages
\usepackage{graphicx}
\usepackage{titlepic}
\DeclareGraphicsExtensions{.jpg}
\usepackage[left=2cm,right=2cm,top=3cm,bottom=3cm]{geometry}
\usepackage{indentfirst}


% page settings
\begin{document}
\begin{titlepage}
\titlepic{\includegraphics{abc}}
\author{xyz}
\title{xyz}
\date{07 May 2014}
\end{titlepage}
\maketitle



%Table of contents
\tableofcontents



%Chapters
\chapter{Review of Articles}
\section{The Semantic Web}
	The Semantic Web is a web of data fronted by the World Wide Web Consortium (W3C) which is an international standards body. 

		\item Conclusion
	If properly designed the Semantic Web could assist the transformation of human knowledge altogether. 

\newpage
	\section{The Semantic Web Revisited}

	This paper is a review of the ideas and theories of the Semantic Web. supporting certain logical schemes are discussed in this section of the article. 

	
\newpage
\chapter{Comparison of Articles}
\section{Comparison of Articles}
	Both papers describe the same topic and are similar in both content and structure. 
\section{Comparison}
	In comparing both articles the first thing to note is... 

\section{Differences}
	Although both...
\section{Conclusion}
In this article...


\end{document}
Last edited by Stefan Kottwitz on Fri May 30, 2014 10:38 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.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

What is causing blank pages?

Post by Johannes_B »

hi, please add code using the code-button.

Books are printed two-sided by default. Odd pages (1,3,5,...) are right-hand pages, even ones are left-hand pages.
New chapters usually start on right-hand pages, leaving an empty page if necessary.

BTW: Do not use \newpage, use \cleardoublepage instead. And only if you know why.

Using a KOMA-class like scrbook gives you many choices to »style« the output.

Look at option open=any, which basically means »I don't care where a new chapter starts«.

Please click on »open in writelatex« to see the output.

Code: Select all

\documentclass[
%open=any
]{scrbook}

%\usepackage[left=2cm,right=2cm,top=3cm,bottom=3cm]{geometry}
\usepackage{showframe}
\usepackage{indentfirst}
\usepackage{blindtext}

\begin{document}
\tableofcontents

\chapter{Review of Articles}
\section{The Semantic Web}
The Semantic Web is a web of data fronted by the World Wide Web
Consortium (W3C) which is an international standards body.

\section{The Semantic Web Revisited}

This paper is a review of the ideas and theories of the Semantic
Web. supporting certain logical schemes are discussed in this
section of the article.

\chapter{Comparison of Articles}
\section{Comparison of Articles}
Both papers describe the same topic and are similar in both
content and structure.
\section{Comparison}
In comparing both articles the first thing to note is...

\section{Differences}
Although both...
\section{Conclusion}
In this article...

\blinddocument
\blinddocument
\blinddocument
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
whodafunk
Posts: 2
Joined: Thu May 29, 2014 2:00 pm

Re: What is causing blank pages?

Post by whodafunk »

Hey,

Thank you for your prompt response and tips. I will try this later and revert back to let you know how it went.
Post Reply