{page-breaking} is about how (La)TeX breaks pages (and, in multi-column documents, columns) and how page/column breaking can be influenced.

learn more… | top users | synonyms (1)

1
vote
2answers
24 views

Weird page breaking in letter style after closing

I want to add text to a letter after the signature. This is a sort of appendix. However, the page breaking after the closing is very strange. If I include a LaTeX list in one of the paragraphs ...
12
votes
1answer
253 views

Why \newpage needs at least \null to create a page?

Trying to answer to Include a cover page then title page in book class I've found that \newpage only creates a new page if there is some contents, i.e., \documentclass{article} \begin{document} ...
1
vote
1answer
41 views

How do I remove extra spacing on a new page following an align*?

I have the following code: %... \begin{proof} Let $P=(x_P, y_P, z_P)$ be a fixed point on the plane, $R$ a fixed length, and $X=(x,y,z)$ a variable point such that $XP=R$. As $X$ varies, it is ...
4
votes
1answer
36 views

Unwanted page break between a section heading and its subsection heading

My scenario consists of some sections and subsections. A slice of the aforementioned group has been presented, as below: \tableofcontents \clearpage \section{parent} %\subsection{child} ...
1
vote
1answer
75 views

Subfigures on next page cause text not come in correct order

I have a problem when using subfigures: When there is not enough space for the two side-by-side subfigures they are put on the next page, which is fine of course, but then the text following the ...
32
votes
2answers
36k views

Start new chapter on same page

I am using report document class. When I create a new chapter, it starts it on a new blank page in which only the chapter name appears. I want to be able to start new chapters on the same page as the ...
0
votes
0answers
29 views

Is it possible to keep connecting loop lines in algorithm2e and to implement a page break?

I have to formulate many and long algorithms. My problem is that my algorithms are very long and need to break over pages. In order not to lose structure it would be very good to have those vertical ...
14
votes
1answer
2k views

When does \nopagebreak work?

There are many examples where \nopagebreak doesn't work as expected: Nopagebreak nopagebreak nopagebreak - why won't LaTeX listen to me? How to make longtable respect \nopagebreak in the ...
7
votes
2answers
136 views

Why is it so hard to prevent a page break?

Why won't LaTeX just let me keep things together on one page whenever I want to? Why isn't this straightforward to do? There is this: Absolutely, definitely, preventing page break. Maybe that works, ...
26
votes
3answers
17k views

Keep all footnotes on the according page

Is there a way to keep all footnotes on the page where they belong to? I have several (20-30) footnotes per page (some short, some stretch over multiple lines). Sometimes latex places the last one or ...
5
votes
1answer
178 views

Allow \listoffigures captions to break across pages

I'm using the command \listoffigures to list all figure captions after the contents page. Many of my figure captions are quite long and as a result LaTeX is placing 2 captions on a page with a large ...
0
votes
0answers
22 views

Setting bilingual text

How might one set a Greek text on even pages with English translation on odd? I suppose one could break the pages manually unless there is an easy better way.
0
votes
0answers
43 views

Extra large row longtable in tcolorbox

I use longtable into a tcolorbox to spread it on multipage. I manage to do it but, I think that there is a best way for the size calculation : p{\linewidth-55mm-6\tabcolsep}} I want to know if ...
4
votes
1answer
66 views

How to get a footer line in a longtable

I'm trying to do this \documentclass{article} \usepackage{longtable} \title{A longtable example} \begin{document} \begin{longtable}[h!]{|c|| c|| c|| c|| c|| c|| c|} \hline \hline {Data} & ...
1
vote
3answers
571 views

Why can't I prevent page break?

I am newbie to Latex and I am just making some lists of some common commands and learning the syntax. This is what I have at the end of my first page. using left and right bracketing commands\\ ...
2
votes
0answers
32 views

Wrapper around `picture` environment causes page break [duplicate]

A picture environment at exactly the size of the text area can fit snugly on one page. However when I replace the environment with a wrapper environment with exactly the same definition, it takes two ...
4
votes
1answer
53 views

Chapter start gets pushed on following page (NOT the “openright/openany-problem”)

It is hard to find answers to this question, as it sounds similar to the basic "How to start chapter on every page"-question. But this is different. Latex pushes the start of a chapter that contains a ...
1
vote
2answers
56 views

How can we force one line proof environment to stick to its associated theorem environment?

In my LaTeX document, some of the proofs are one-liners: \documentclass[letterpaper]{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{lipsum} \theoremstyle{plain} ...
0
votes
1answer
82 views

Leaving the current page empty and starting on the next

I'm trying to format a document in lyx so that each chapter or section begins on its own page. Following this question and adding the following to the latex preamble: \usepackage{afterpage} ...
0
votes
1answer
45 views

Figures are sent to the right column on the next page

I have a two columns document with several figures and in a certain part the page breaks in the middle of the right column, where two figures should be, and then the next page starts with an empty ...
0
votes
2answers
90 views

Keep the word Abstract in the same page as the actual abstract

I am writing a report and i am using a specific .cls file for the layout and fonts etc. The abstract is defined as follows: \newenvironment{abstract} { \btypeout{Abstract Page} \thispagestyle{empty} ...
1
vote
1answer
94 views

How can I stop my affiliation from creating a page break on my title page?

When my code looks like this: \documentclass[12pt]{article} \usepackage[utf8x]{inputenc} \usepackage{float} \usepackage{url} \usepackage{setspace} \usepackage{hyperref} \usepackage{hanging} ...
3
votes
1answer
91 views

allow minipage to column break but not pagebreak

I have a twocolumn document with many sections. I want to allow sections to break across columns of the same page, but not allow sections to break across pages. The most closely related previously ...
4
votes
2answers
214 views

How to nicely split proofs into different parts?

I often break long proofs into smaller pieces, in order to make it easier to read and understand. I'm doing that by adding a fbox with "Part X: ...". However, this doesn't work out very well all the ...
19
votes
3answers
4k views

Breaking pictures across multiple pages

I am a relative TeX newbie trying to write a new package to generate timelines that can span multiple pages (the existing timeline solutions are not suitable for me, and I would like to write ...
0
votes
0answers
45 views

Forcing page break of a minted listing with \centering on

I am using minted to create a code listing. I need the listing to be centered so according to this solution, I use the \RecustomVerbationEnvironment to escape the verbatim environment so that it can ...
2
votes
1answer
68 views

Allow line breaks but not page breaks

How can I avoid that a \parencite{key} will get broken over 2 pages? Linebreaking is fine, but page breaking is not. The reason I do not want this is that I have TIKZ customization for citations, ...
2
votes
1answer
29 views

Forcing a page break in \VerbatimInput (fancyvrb)

How do I force a page break within a file included with \VerbatimInput? It's C code, and I would prefer a solution that is transparent to the C compiler - something like a form feed (^L) in the ...
10
votes
1answer
431 views

\goodbreak vs. \pagebreak

I recently came across the \goodbreak command, which seems to indicate to TeX that this is a good place to put a page break. How does it differ from, say \pagebreak[3]?
10
votes
1answer
149 views

Question about exercise 23.3 in TeXbook

This is exercise 23.3: Explain how to change the output routine of plain TeX so that it will produce twice as many pages. The material that would ordinarily go on pages 1, 2, 3, etc., should go ...
2
votes
4answers
127 views

Insert a blank page on every page break?

I have slides (slides.pdf; my own construction based on scrartcl) to teach from. Students asked to put in blank slides (to have space to put down notes). I first tried to write a shell script (getting ...
3
votes
1answer
81 views

How to force newpage on tabularx

I wanted to make a table, but needed to force a couple of rows go to the next page. However, I got a strange error. How can I force a newpage using tabularx? \documentclass{article} ...
5
votes
3answers
1k views

Automatic message “continue on next page” in all the pages (except the last)

I have critical document (aka a CV) with just two or three pages. Even when opened on screen it can look as if it has one page, because there is no clue (in the page) that the document continues. Is ...
4
votes
1answer
265 views

longtable package: Stretch height of last row on page

Consider the following code \documentclass[a4paper]{article} \usepackage{longtable} \usepackage{lipsum} \begin{document} \begin{longtable}{|p{5cm}|} \hline \lipsum[5] \\\hline ...
1
vote
1answer
30 views

Automatic pagebreaks between several samepage environments

I am using the mathpartir package to display some inference rules. I defined my own LaTeX command based on the samepage environment to add some explanation below a rule where there should be no page ...
0
votes
1answer
177 views

prevent page break while returning to twocolumn

I'm writing a IEEE conference paper. The format of paper is \documentclass[conference]{IEEEtran} For inserting a wide image i switched to one column using \onecolumn The image took half of my page. ...
1
vote
1answer
96 views

Make paperheight (page length) same as section length

I'd like a document where each section is followed by a page-break but otherwise is one page. The sections have varying lengths, mainly due to the size of the picture(s) in each one. So far what I ...
1
vote
1answer
68 views

Page break in float pages

I have an appendix section with half a page of text followed by a lot of tables. I want all these tables to go on float pages for the nice distribution on the pages, so placement specified as [p]. ...
0
votes
1answer
121 views

Pagebreak, newpage, vspace all not working after a Table

I have a section of my document composed of two tables. The following section is a section composed of figures. Between the two sections I want a page break. I have tried \pagebreak, \newpage, \vspace ...
1
vote
1answer
102 views

What is the most precise way of including a Mathematica code in a LaTeX document?

I have tried to insert my Mathematica notebook into LaTeX by converting it as a PDF file and then using \includepdf[pages=1-4]{blablabla.pdf}. However, there are now two problems I faced: This code ...
2
votes
2answers
2k views

latex figure (or table) in a new page

I'm curious what's the best way to get the table of figure to appear on the next page in your document. I've tried the \newpage command, which works but is a hassle as I basically need to declare it ...
1
vote
1answer
141 views

\parskip setting effect on page break?

What is the effect of the \parskip-setting on where LaTeX does the page break? I wonder why there is a page break before the paragraph-headline with my \parskip settings (unless I insert the ...
3
votes
1answer
70 views

Penalty between paragraphs

How do I modify the penalty given to a pagebreak between paragraphs? I looked everywhere and could not figure out. If I really need to I can redefine \par but I'm unsatisfied with such a hack.
2
votes
1answer
188 views

Reduce vertical stretching by encouraging page breaks within paragraphs

It's pretty standard for latex to add a little whitespace between captions, figures etc to reduce the chance of page breaks mid-paragraph. In some cases I feel latex is a little too liberal with its ...
7
votes
1answer
89 views

How do I manually split a paragraph without \afterpage?

So I wrote a LaTeX package that would give me full-page floats: http://tex.stackexchange.com/a/84312/13450 Unfortunately, it introduces hard page breaks. \documentclass[a5paper]{memoir} ...
2
votes
1answer
169 views

\afterpage not called after page break

In this example \documentclass{article} \usepackage[a6paper,landscape,margin=1cm,bottom=2cm]{geometry} \usepackage[english]{babel} \usepackage{blindtext} \usepackage{afterpage,refcount,lastpage} ...
1
vote
1answer
70 views

Prevent pagebreak between section header and figure

In a document, I have an appendix with several screenshots, i.e., the different figures are displayed without any descriptive text right after the section header. I notice, however, that in several ...
0
votes
1answer
56 views

Modify a tabular environment so that it can break over pages

I am working with a template which has the following new environment for defining a list: %% List environment %%%%%%%%%%%%%%%% \setlength{\tabcolsep}{0pt} \newenvironment{entrylist}{% ...
3
votes
1answer
105 views

Longtable in tcolorbox makes itemized lists unbreakable

Structure: Using tcolorbox to take advantage of page-breakable paragraph or list contents, I am trying to use a long table above this to align some summary information. But I am observing that if I ...
8
votes
2answers
284 views

How do I suppress the whitespace above an equation block at the page top?

How do I suppress the whitespace above the equation block at the page top ? It is added to the top margin, and I don't want that to happen. I know that \abovedisplayshortskip controls this for the ...