Page Layout ⇒ Strange blank page after the preface
Strange blank page after the preface
Still a blank page comes out between the preface and the first chapter.
Note: this is a Serbian text, in order to help you find out the page in question, it has the vi (roman) numeral in the heading, on the left.
- Attachments
-
- Историја Византиског Царства.tex
- History of the Byzantine Empire
- (98.91 KiB) Downloaded 448 times
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
Strange blank page after the preface
Code: Select all
\documentclass[a4paper, 12pt, openany]{book}
\usepackage{fullpage}
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont{Minion Pro}
\usepackage{polyglossia}
\setmainlanguage{serbian}
\setotherlanguages{french, latin}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{bookmark}
\title{ИСТОРИЈА ВИЗАНТИСКОГ ЦАРСТВА}
\author{Шарл Дил}
\date{Јули 1919}
\begin{document}
\frontmatter
\maketitle
\tableofcontents
\chapter{ПРЕДГОВОР}
\mainmatter
\chapter{bla}
\chapter{bla}
\end{document}
Strange blank page after the preface
\mainmatter
. In the book
class it has the definition
Code: Select all
\cleardoublepage\@mainmattertrue\pagenumbering{arabic}}
\cleardoublepage
. You can redefine it, though:
Code: Select all
\makeatletter
\renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}}
\makeatother
\makeatletter
and \makeatother
are necessary due to the @
in \@mainmattertrue
.Regards
Strange blank page after the preface
Hi cgnieder!cgnieder wrote:This is caused by\mainmatter
. In thebook
class it has the definitionYou can see that it issuesCode: Select all
\cleardoublepage\@mainmattertrue\pagenumbering{arabic}}
\cleardoublepage
. You can redefine it, though:Code: Select all
\makeatletter \renewcommand\mainmatter{\clearpage\@mainmattertrue\pagenumbering{arabic}} \makeatother
\makeatletter
and\makeatother
are necessary due to the@
in\@mainmattertrue
.
Regards
Thanks for your help, this solved my issue!
Regards