Page Layout ⇒ Unwanted blank pages at start
Unwanted blank pages at start
\documentclass[a4paper]{book}
\usepackage{times}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage{subfigure}
\usepackage{amssymb}
\usepackage{longtable}
\setlength{\LTcapwidth}{17cm}
\usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry}
\usepackage{placeins}
\usepackage[footnotesize,bf]{caption}
\usepackage{amssymb}
\usepackage{float}
\setlength{\abovecaptionskip}{0pt}
\setlength{\belowcaptionskip}{0pt}
\begin{document}
\begin{titlepage}
\begin{center}
\title{
\hrule\vspace{0.5cm}
\huge{\sc{\bfseries{The Virgo Cluster Through The AGES}}}\\[0.5cm]
\hrule\vspace{1.2cm}
\normalsize{\emph{by}}\\[1cm]
\large{Rhys Taylor} \\[3cm]
\large{\sc{A Thesis Submitted to Cardiff University \\ for
the Degree of Doctor of Philosophy}}\\[10cm]
\normalsize{August 2010}
}
\author{}
\date{}
\maketitle
\end{center}
\end{titlepage}
\end{document}
I get no errors or warnings at all, the only output to the console is
latex TitleTest.tex
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./TitleTest.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/book.cls
Document Class: book 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/bk10.clo))
(/usr/share/texmf/tex/latex/psnfss/times.sty)
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf/tex/latex/graphics/dvips.def)))
(/usr/share/texmf/tex/latex/misc/wrapfig.sty)
(/usr/share/texmf/tex/latex/misc/rotating.sty
(/usr/share/texmf/tex/latex/base/ifthen.sty))
(/usr/share/texmf/tex/latex/misc/subfigure.sty)
(/usr/share/texmf/tex/latex/amsfonts/amssymb.sty
(/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texmf/tex/latex/tools/longtable.sty)
(/usr/share/texmf/tex/latex/misc/geometry.sty
(/usr/share/texmf/tex/latex/config/geometry.cfg))
(/usr/share/texmf/tex/latex/misc/placeins.sty)
(/usr/share/texmf/tex/latex/caption/caption.sty
`subfigure' package detected
`rotating' package detected
) (/usr/share/texmf/tex/latex/misc/float.sty) (./TitleTest.aux)
(/usr/share/texmf/tex/latex/psnfss/ot1ptm.fd) [1] [2]
(/usr/share/texmf/tex/latex/amsfonts/umsa.fd)
(/usr/share/texmf/tex/latex/amsfonts/umsb.fd) [1] (./TitleTest.aux) )
Output written on TitleTest.dvi (3 pages, 792 bytes).
Transcript written on TitleTest.log.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Unwanted blank pages at start
welcome to the board!
If you use the titlepage environment, you don't need the commands \maketitle, \author, \date, \title. I removed it here, without showing the preamble again:
Code: Select all
\begin{document}\begin{titlepage}\begin{center}\hrule\vspace{0.5cm}\huge{\sc{\bfseries{The Virgo Cluster Through The AGES}}}\\[0.5cm]\hrule\vspace{1.2cm}\normalsize{\emph{by}}\\[1cm]\large{Rhys Taylor} \\[3cm]\large{\sc{A Thesis Submitted to Cardiff University \\ forthe Degree of Doctor of Philosophy}}\\[10cm]\normalsize{August 2010}\end{center}\end{titlepage}\end{document}
Stefan
-
- Posts: 162
- Joined: Wed Jun 17, 2009 10:18 pm
Unwanted blank pages at start
The book-class will automatically place the maketitle on a page of its own, so the titlepage-environment its unnecessary. This compiles fine.
Code: Select all
\documentclass[a4paper]{book}\usepackage{times}\usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry}\author{}\date{}\title{\centering\hrule\vspace{0.5cm}\huge{\sc{\bfseries{The Virgo Cluster Through The AGES}}}\\[0.5cm]\hrule\vspace{1.2cm}\normalsize{\emph{by}}\\[1cm]\large{Rhys Taylor} \\[3cm]\large{\sc{A Thesis Submitted to Cardiff University \\ forthe Degree of Doctor of Philosophy}}\\[10cm]\normalsize{August 2010}}\begin{document}\maketitle\end{document}
Re: Unwanted blank pages at start
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Unwanted blank pages at start
Stefan