Questions tagged [clearpage]
The clearpage tag has no usage guidance.
55
questions
4
votes
3
answers
189
views
Exam class: \numpages wrong when enforcing an even number of pages
Goal: When using the exam class, I want to enforce the total page number to be even (by adding a blank page at then end if the regular page number is odd) and have a macro that gives the correct total ...
0
votes
1
answer
40
views
Removing empty page before acronyms list in openright memoir class
I am writing my thesis using the memoir class with the following options:
\documentclass[12pt,a4paper,twoside,openright,oldfontcommands]{memoir}
I am looking to print the acronyms list without a ...
0
votes
0
answers
72
views
\pageref refers to second to last page of document part with floats cleared by \clearpage instead of last page
I have a document where I input the main part via \input{}, add a label to refer to for the page numbering (similar to how the lastpage-package works) and use a \clearpage to start the appendix on the ...
0
votes
0
answers
24
views
Broken titleps page style with clearpage and thispagestyle after a custom environment
The titleps style does not apply the last page style for section 1.3 before the cleardoublepage command (see the custom \cleardoubletransition command).
I think the bug is linked to titleps because if ...
1
vote
0
answers
35
views
What is the difference between \clearpage and \newpage? [duplicate]
I have a .tex document, with two subsections: subsection1 and subsection2, but I wouldn't like to cut any subsection in the middle. So my question is: What's the difference between \clearpage and \...
1
vote
1
answer
354
views
Start a new page in two-column mode without \clearpage
I have the challenge of needing to start a clean page in a two-column (Xe)LaTeX document, yet without the fush semantics of \clearpage.
Consider the following example, which is the closest I got to ...
1
vote
0
answers
58
views
Why produces `\clearpage\chapter ...` the error `Float(s) lost. \clearpage` - How to finish a chapter and flush floats?
I have read this explanation and some other hints about Floats lost. I use tufte-book and have more margin notes than fit on the page. The same text prints fine when processed separately but I combine ...
1
vote
1
answer
132
views
How can I not add a background for empty pages
I am using the background package to add a background to each page. I want a different background for odd and even pages, which is why I use \AddEverypageHook. However, AddEverypagehook works on all ...
0
votes
0
answers
33
views
Does memoir miss clear page before TOC by design? If so, is there a reason? Also, is there an option (other than cleardoublepage) to change behavior?
Take this simple example
\documentclass{book}
\begin{document}
\frontmatter
\begin{itemize}
\item ciao
\end{itemize}
\tableofcontents
\mainmatter
\chapter{a}
\end{document}
(For context, I'm ...
0
votes
1
answer
206
views
scrbook - Start chapters without \cleardoublepage and \clearpage
I am a business student and use LaTeX for quite some time already and love it, but my understanding of coding is limited, so please bare with me if I make inaccurate statements.
I am currently writing ...
1
vote
1
answer
143
views
titlesec section titlespacing not working after clearpage
In my scrreprt styled dcoument, the chapters, sections, etc. are formatted with titlesec. It is configured to insert a \cleardoublepage command before a new chapter and a \clearpage command before a ...
2
votes
0
answers
34
views
Optional pagebreak with flushing floats
I read this post here about page breaks with priority without being satisfied with it. I was wondering if there exists a way to have a clearpage-like command with request levels (like pagebreak has) ?
...
0
votes
1
answer
63
views
How to get \clearpage and \rowcolor to work together in a longtable?
I have this multi-page longtable where I need to nudge a row over to the next page for layout purposes. Normally I'd just start the row with \clearpage (and this has worked elsewhere) but this time I ...
0
votes
2
answers
382
views
Is there something like a `\flushfloat` command?
The \clearpage macro outputs any remaining floats and then starts a new page.
I am after a command that outputs any remaining floats, does not start a new page and enables any following text to be put ...
0
votes
0
answers
22
views
Positionning of floats, giving start and end points
I am working on a big document (around 150 pages) and I feel the need for more precise positioning of floats than what I am used to: I would like to ensure that a float appears within a specific part ...
1
vote
0
answers
39
views
Trying to Clear the Blank Page That Precedes the Endnotes [closed]
I have been trying to eliminate the blank page which always comes before the Endnotes.
For example, in the following code, I use
\begin{document}
\clearpage{\thispagestyle{empty}\cleardoublepage}
but ...
1
vote
1
answer
106
views
How do I know that a new page has already occurred (LaTeX) [closed]
I am using article class with pdflatex and I wanted each section and subsection to begin on top of a new page. I used
\newcommand{\sectionbreak}{\clearpage}
\newcommand{\subsectionbreak}{\clearpage}
...
0
votes
1
answer
36
views
Clearpage when only the first or second line of a new paragraph fits on the previous page
I want to make it so the first line of a new paragraph will automatically trigger a \clearpage so that the first line in the new paragraph isn't standing alone on the previous page.
Is this possible, ...
0
votes
1
answer
215
views
Double background image on new chapter
I'm using this OverLeaf thesis template and I am trying to put background images on the page that state a new chapter (placed on the right page) but also on the blank left page before it.
I have two ...
0
votes
0
answers
391
views
Remove vertical space after \clearpage
After using \clearpage, latex stretches the first column of my 2-column document, leaving a lot of white space. With the second column, the text is normal again. I can not post a code example, but I ...
1
vote
1
answer
93
views
Start next landscape long table on the same page as where previous landscape long table midway ended
In the appendix of my thesis I have multiple consecutive landscape long tables. Quite a lot of them they end midway of the page. I would like to start the following table on the same page, instead of ...
1
vote
3
answers
1k
views
Book class: ensure there is at least a blank page between two parts/chapters
Answers for How to have a blank even page before every chapter didn't work in my case
If the default book class is loaded with the twoside and openright options, a new chapter starts from the first ...
1
vote
3
answers
151
views
Redefined \cleardoublepage breaks line spacing
I redefined the \cleardoublepage to show This page is intentionally left blank at the center of the page as follows:
\RequirePackage{xcolor}
\RequirePackage{geometry}
\newcommand{\blinkpagetext}{This ...
1
vote
1
answer
217
views
Is it possible to apply the \vfill command only to even pages?
I'm looking for a solution to apply a fullwidth environment for backmatter (glossary, indexes and TOC) in a Tufte-book documentclass. For this, I try to use the command \vfill to center the text on ...
1
vote
1
answer
55
views
How to avoid massive gap between sections when using the command clearpage?
I am trying to avoid the massive gaps between the sections. Section 2 should start on page 87 instead of page 88. Does anyone know, how to fix this? Thank you in advance!
This is my code:
\begin{...
1
vote
2
answers
205
views
Blank page inserted after table of contents when vspace used on preceding page
The sample code at the bottom of this post results in the following page order:
title page
metadata page
table of contents
blank page (seems to be continued from the table of contents)
chapter
I'm ...
1
vote
0
answers
55
views
How do I separate chapters and insert a few empty lines between two chapters?
I know it has been asked before but I just can't seem to make it work not matter what I try.
I am using the report class. Now I want only my chapters to start below the end of the preceeding chapter. ...
2
votes
2
answers
130
views
How to force even number of pages in output document?
Similar things have been asked, but I would like to know how to do in order to have my output PDF be an even-number-of-pages document. This code
\AtEndDocument{\cleardoublepage}
only makes the "...
1
vote
1
answer
251
views
Line-Breaking Around \clearpage
AFAIK, line-breaking around \begin{document}, \end{document}, or \begin{section} doesn't change the results as follows.
\documentclass{article}
% INSERTING OR DELETING THIS ...
0
votes
1
answer
110
views
Minimal example document to demonstrate the usefulness of notitlepage option
I am trying to make an example document that would demonstrate the usefulness of notitlepage option to beginners of LaTeX. Here is an example document:
\documentclass[notitlepage]{report}
\author{Lone ...
1
vote
1
answer
424
views
Forcing figure to new page
can someone help me please to fix this problem. I tried newpage and clearpage but nothing works. How can I force only the example-image-c and example-image (which isn't even displaying at all) on a ...
2
votes
1
answer
1k
views
How to remove the \cleardoublepage within \mainmatter in KOMA Script
My understanding is that the \mainmatter command contains \cleardoublepage.
I want the First Chapter to begin on the very next page following the end of "Intro 2" with no blank pages in between them, ...
1
vote
1
answer
193
views
How to make every \begin{titlepage} in odd page [closed]
I want to make every \begin{titlepage} in my code is always in odd page. I've try add \cleardoublepage and \clearpage, but not working. This is my code
\documentclass[12pt,twoside]{book}
\usepackage[...
0
votes
1
answer
148
views
Start each longtable on new page
I'm working on a two-column document of type {revtex4-1}. For the appendix I have several longtables (longtable*) that each span over more than one page. I would like to start every table on the top ...
1
vote
0
answers
193
views
clearpage affects the footer
I have a problem that I can't solve no matter what i try. This is my minimal code:
\documentclass[widefront, tightfn, fontsize=12.4pt]{jura}
\usepackage{ngerman}
\usepackage[utf8]{inputenc}
\...
3
votes
2
answers
597
views
"This page intentionally left blank", but only in front matter
I using the book class for my thesis and I want to insert a "This page intentionally left blank" message on the left pages when using openright. However, I only want to display this message in the ...
0
votes
1
answer
450
views
\clearpage does not work when adding tocloft
I am using scrbook and using \begin{titlepage} and \end{titlepage} to make the title of the book. After that, added \clearpage before making \tableofcontents so that toc do not show on the second page,...
2
votes
2
answers
1k
views
How to turn on/off \newcommand{\sectionbreak}{\clearpage} per chapter?
I have a book with lots of chapters and many sections in each chapter.
Some chapters, I want to automatically make each section start on new page, but not in some other chapters.
The problem is that ...
0
votes
1
answer
149
views
How to make \cleardoublepage still valid in beamer?
\documentclass{beamer}
%\def\cleardoublepage{...} <-- how to do this ?
\begin{document}
\frame{this is page 1}
\frame{this is page 2}
\cleardoublepage
\frame{this is page 3} %<-- show in page 3
...
1
vote
1
answer
158
views
How do I add one blank page after both these pages?
I have two inetial pages in my document. I need to leave blank pages after both pages explicitely. \shipout\null is not working properly. How should I add that?
MWE:
\documentclass[a4paper,times,...
1
vote
2
answers
2k
views
Why does LaTeX automatically insert unwanted spaces after a float page generated by \clearpage command?
I have a paper with three large floats that go to the end of the document when compiling the source code, their position vary depending on how I update the content, but they even go to the middle of ...
1
vote
1
answer
3k
views
clearpage with appendices
I am compiling my dissertation chapters. When I wrote a chapter in a standalone Latex file, the file did compile without any error. However, when I copied the text body from the standalone to an "...
1
vote
1
answer
1k
views
Page Numbering After List of Tables
First of all I looked for a solution, but couldn't find one. Even though I got similar question.
But none of the solution worked for me.
Link 1
\documentclass[12pt, a4paper]{report}
\linespread{1.4}
...
0
votes
0
answers
165
views
Getting rid of underfull vbox warnings when using clearpage
Whenever I use a \clearpage command in my document it is because I want to force a new page and leave whitespace at the bottom of the previous page. However, TeX doesn't like this, and gives me ...
1
vote
1
answer
1k
views
A cleardoublepage variant to always insert an empty left page (KOMA)
In KOMA Script we can find commands to modify the way empty pages are inserted, so that, e.g., chapters will always start on the right page.
The different commands can be found in scrguide.pdf in ...
2
votes
0
answers
2k
views
What is the source of Class revtex4-1 Warning when compiling a tex file in overleaf?
When working on my paper on overleaf, I notice that the compilation runs with no error and produces the final version of the paper but there is an annoying warning which I don't seem to know its cause ...
6
votes
1
answer
5k
views
Using `clearpage` after `figure*` in revtex gives error "Output routine didn't use all of \box255"
The problem can be replicated (I hope) with the following MWE:
\documentclass[twocolumn]{revtex4-1}
\usepackage{tikz}
\begin{document}
\begin{figure*}
\includegraphics[width=\linewidth]{...
0
votes
2
answers
93
views
How to make environment never contain doublepage break
I am using LuaLaTeX and define my own environment processed by Lua. I want the contents of this environment (which always start on a new page) when printed from Lua to never break across double page - ...
2
votes
1
answer
844
views
Prevent Float Page in twocolumn Document after \clearpage
I am trying to clearpage and then immediately have the figure on top, then the text below the figure on this new page. However, what shows are the following: the figure is right in the middle of the ...
3
votes
1
answer
6k
views
How to leave the rest of a page empty after inserting a figure in latex?
I would like to insert a figure with its caption entirely in a page with the following code:
\documentclass[a4paper,fleqn,usenatbib]{mnras}
\usepackage{newtxtext,newtxmath}
% Depending on your LaTeX ...