Text FormattingInsert blank page at start of document

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
mike1264
Posts: 27
Joined: Wed Jul 24, 2013 6:07 pm

Insert blank page at start of document

Post by mike1264 »

I would like a title page to appear on a right-side page, following a blank page on the left side,in a book set up to start chapters on any page.

Code: Select all

\documentclass[10pt,english,british,twoside,openany]{scrbook}
\usepackage{blindtext}
\usepackage[automark,headsepline,footsepline=.25pt]{scrlayer-scrpage}
\pagestyle{scrheadings}
\addtokomafont{pageheadfoot}{\slshape}
\addtokomafont{pagehead}{\tiny}
\addtokomafont{pagefoot}{\small}
\addtokomafont{disposition}{\rmfamily}%JB: rm for chapter headings
\ohead{\leftmark}
\ihead{Ben Francis}
\ofoot{\mytitle}
\cfoot{\pagemark}
\usepackage{microtype}
\usepackage{ragged2e}
\usepackage{graphicx}
\usepackage[british]{babel}
\renewcommand\thepart{\Alph{part}}
\usepackage{fontspec}
\setmainfont{Linux Libertine O}%JB: Just as an example
\renewcommand*{\partpagestyle}{empty}
\usepackage{geometry}
\geometry{paperwidth=5.06in,
paperheight=7.81in,
verbose,
tmargin=0.5in,
bmargin=1in,
inner=0.75in,
outer=0.5in,
headheight=0.1in,
headsep=0.15in,
footskip=0.45in,
twoside}
\newcommand{\mytitle}{Tears in the Rain} 

\begin{document}
[b]%Blank page needed to appear here to push title to the right hand page[/b]
\title{\mytitle}

\frontmatter
\date{}
\maketitle
\begin{titlepage}
\begin{flushright}
        {\huge \mytitle}%JB: Those are switches active
%in the current group
       % \vspace{0.5in}
       %  \huge{\raisebox{\depth}{\scalebox{1}[-1]{\mytitle}}} \par\bigskip
        % \par\end{flushright}{\huge \par}
\end{titlepage}

\begin{titlepage}
%\noindent\includegraphics[width=4in,height=2in]{bensig}
\vspace*{0.5in}
\begin{flushright}
        {\Huge{}Tears in the Rain}
        \par\end{flushright}{\Huge \par}
\end{titlepage}

\begin{titlepage}
\begin{center}
        \emph{Copyright}
\end{center}
\begin{center}
        \textcopyright{ 2014 Ben Francis All rights reserved.}
\end{center}
\vspace*{0.5in}
\begin{center}
        \begin{minipage}[t]{0.5\paperwidth}
                No part of this publication may be reproduced, stored
                in a retrieval system, or transmitted in any form, or by any means;
                mechanical, electrical, photocopying, ... rest of text
        \end{minipage}
\end{center}
\vspace*{0.5in}
\begin{center}
        ISBN:
\end{center}
\vspace*{0.2in}
\begin{center}
        A CIP Record for this book is available from the British
        Library.
\end{center}
\vspace*{0.1in}
\begin{center}
        Typeset in \LaTeXe
\end{center}
\end{titlepage}

\tableofcontents

\addchap{Preface}

\emph{Tears in the Rain},
set in the emerging hippie Age of Aquarius in the early nineteen
sixties... \marginpar{The times of Love, Peace and Music}
\blindtext[3]

\mainmatter
\part{How it all began}
\addchap{Genesis}
\input{./one_one.tex}
\input{./one_two.tex}
\input{./one_three.tex}
\input{./one_four.tex}
\part{How it all ended}
\blinddocument
\blinddocument
\end{document}
Many thanks,
Mike
Last edited by Stefan Kottwitz on Thu Jul 24, 2014 11:53 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Insert blank page at start of document

Post by Johannes_B »

I have tested your example (correcting one little mistake and deleting the input-lines).

All title pages are on right hand pages (odd nunmbers). In the main part, some start at even pages (left hand side).
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
mike1264
Posts: 27
Joined: Wed Jul 24, 2013 6:07 pm

Re: Insert blank page at start of document

Post by mike1264 »

Hi Johannes_B ,

Thanks - I wonder if my pdf viewer is reversing the pages :oops: ... hmmm will check.

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

Re: Insert blank page at start of document

Post by Johannes_B »

Set the outer margin to 1.5in, maybe even load package showframe. With the extreme value, it is much much easier to spot the difference.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
mike1264
Posts: 27
Joined: Wed Jul 24, 2013 6:07 pm

Re: Insert blank page at start of document

Post by mike1264 »

Thanks done! My pdf viewer (inside TeXmaker) is reversing the pages :? When I view the same document in an external pdf viewer the pages are in the right order and the right place.

Mike
esdd
Posts: 36
Joined: Sat Jan 25, 2014 9:13 pm

Insert blank page at start of document

Post by esdd »

Your copyright information are on a right hand page and the table of contents starts on a left hand page. Do you want this?
If not: there are additional commands (\extratitle,\uppertitleback, \lowertitleback,...) to format the title pages. Have a look at the KOMA-Script documentation.
mike1264
Posts: 27
Joined: Wed Jul 24, 2013 6:07 pm

Re: Insert blank page at start of document

Post by mike1264 »

Thanks - will have a look.

Mike
Post Reply