{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)

0
votes
1answer
97 views

FloatBarrier starting a new page

I have a document with a large list of tables that should appear, in order, in an appendix before the bibliography/references. Initially I had a problem with tables appearing all over the place in my ...
0
votes
1answer
47 views

A marker to test that the page is not changed

I want to test if the current page when I generating layout, and the page where the layout appears after the work of the page builder, are the same page. In code it could look so: \bindpage{some-...
2
votes
2answers
96 views

Multi-page equation with only a single equation number

I understand that environments such as equation would not allow page break while align will. But I want an equation box that only comes with one equation number and it spans over multiple pages. How ...
3
votes
1answer
62 views

Avoid pagebreak between equation and label

I have a very long equation which barely fits into one line, but the label does not and is positioned one line below. The problem is that if the equation is at the end of a page, the label is moved to ...
3
votes
1answer
65 views

How to split only 1 page of my documentclass[10pt,a4paper]{article} and add vertically a big table on a side

I am wondering on how to split in 2 a single page of my whole document, and add a table vertically. As a matter of fact the table is so large, that I used to reading it on a newpage in a landscape ...
0
votes
1answer
34 views

How to make pagebreak spread the paragraphs in scrartcl

Using scractcl (or article), I would like a page break via \pagebreak to have the same effect (of spreading the paragraphs evenly across the page) as in document class book. I couldn't find this ...
4
votes
1answer
61 views

Prevent Abstract from using a full page

I am trying to prevent the abstract from taking up a full page while also using [titlepage]. LaTeX seems to ignore any non-breaking newlines or other formatting directives and places the abstract on a ...
0
votes
0answers
51 views

Pagebreak within a larger environment of facing pages (reledpar)

Again a question regarding pagebreaks with facing pages in reledmac and reledpar. I'd like to insert some pagebreaks manually to prevent having only one line (or a single chapter/section title) of a ...
0
votes
0answers
60 views

Force algorithm description, title and first function on the same page

I have an algorithm I want to describe. It's composed of several short functions, and while there are too many of them to fit them all on a same page, I want a clean solution to get each function to ...
1
vote
1answer
77 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 ...
1
vote
1answer
128 views

How to force figure go to new page instead of new column in a Two-Column Document

When I use \newpage it only goes to new column instead in IEEEtran document style! What can I do to force it to go to a new page as I had use its designated command as well? Thanks in advance for your ...
4
votes
1answer
227 views

memoir \vplace / \vspace that breaks pages on content starting with a section header

When using memoir's \vplace environment, I've noticed that LaTeX tends prefer break before a \vplace when its content starts with a \{sub}section. So for example: \documentclass[oneside,11pt]{memoir}...
2
votes
3answers
1k views

How to make minipage spanning multiple pages

I'm using this resume template: https://github.com/deedydas/Deedy-Resume This template uses minipage to build a layout like : +-----------------+ | Header | +------+----------+ | | ...
1
vote
1answer
98 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 ...
3
votes
1answer
64 views

force at least two lines on a page in using lstlisting

I use the lstlisting package a lot in my theses. Unfortunately, it sometimes renders the caption (at bottom of the listing) on the next page or starts the listing at the end of a page, renders no line ...
1
vote
1answer
120 views

No newpage after \printindex

MWE \documentclass[a4paper,11pt]{book} \usepackage{makeidx} \usepackage{amssymb} \makeindex \begin{document} \index{One} \newpage \index{Two} \newpage \index{Five} \printindex \hfill $\...
1
vote
1answer
66 views

Equation at page break forces widow line from previous paragraph

I have a two-column document, and I'm having some weird behavior at an automatic page break. I have some text followed by some equations like this: So that abutting triangles do not double-paint ...
3
votes
1answer
39 views

Prevent a page break across two different environment

I need to tie two different environments, i.e., prevent a page break from happening. I tried \nopagebreak, \nobreak, \begin{samepage}-\end{samepage}, but nothing worked. \begin{enumerate} \item .... ...
2
votes
2answers
161 views

Too large bottom margin with xtab (or supertabular)

I am using the xtab package to add a long table in a business report. A premature page break is added at each page, leaving a large bottom margin. Same problem occurs with package supertabular (on ...
1
vote
0answers
95 views

Do not count back of the title page in Page number in two side book style file [closed]

I am writing a thesis in which after the title page, the next page coming back to the title page. If I put \cleardoublepage\null, the next page comes to the right place but the page numbering starts ...
6
votes
3answers
142 views

Vertically align a list to the bottom of the page

When a list (in the example below, itemize, but I'm having the same trouble with lists defined using enumitem, and the exe environment of package gb4e) occurs at the bottom of the page, the last item ...
6
votes
2answers
151 views

Environment color within mdframed change after page break

I am creating teaching notes with examples and solutions. At the begining of the course, I provide to the students the lecture notes with the examples but blank solutions so they can fill the box ...
5
votes
2answers
162 views

How to make the align environment break at the right place?

I need to break an align environment. Is it possible to give hints to LaTeX about where to break or, better, where not to break? Here is a example: \documentclass{article} \usepackage[paperwidth=...
2
votes
1answer
61 views

How can I place page breaks exactly?

I am planning to make a facsimile of a certain book in a certain edition. How can I tell LaTeX (LuaTeX, specifically) to place page breaks exactly where they appeared in the original?
0
votes
0answers
48 views

Treat first page like the rest

I am new to LaTeX, and I am having trouble with the first page since the first page is being treated differently from the rest. First custom headers and footers wouldn't apply to the first page, but I ...
4
votes
2answers
165 views

How to place amsmath equations at top of page ignoring \topskip?

I need every amsmath equation to place at the top of the page. So I use \noindent to do that. Everything is fine except equation+split environment. Than formula is placed a bit higher (by \vskip-\...
0
votes
0answers
64 views

Problem with putting newpage command

I have document \documentclass[a4paper,24pt]{article} and \newpage command is making me trouble. I want to put appendix with figures on the separate page, but whenever I use \newpage command the ...
4
votes
1answer
62 views

Unexpected change in pagination when 'no' change in contents, using `boxedmini2e`

I am using the package boxedminipage2e to produce several framed boxes with some text inside. Because these boxes have a fixed height and width, I am expecting that whether or not these boxes contain ...
2
votes
1answer
154 views

Best way for page break with book tabs table

What is the best practice for the displaying of booktab tables with page break? I could not find any solution but when I use the code from my example, I get alawys confused by a missing separation ...
0
votes
0answers
33 views

LaTeX putting pagebreak before first section — bug? [duplicate]

LaTeX is putting a spurious pagebreak before the first section of this document. Why? How do I stop it? I understand that the document goes onto a second page, but the first page should have the first ...
4
votes
3answers
721 views

How to start half way down a page or skip some whitespace in a page?

In latex, one can use the command \newpage to skip to a new page. Is there a similar method of skipping to the next half way point in a page? (Whether this be halfway down the current page or just ...
2
votes
2answers
91 views

How to make the minipages continue after each other in one page?

I am not sure how to make these two minipages to follow right after each other rather than showing in two different pages while still there's space in the first page: \begin{minipage}[t]{0.85\...
5
votes
1answer
332 views

Typesetting an infinite page

How would I go about typesetting a document which will end up being printed on a long continuous roll of paper. The paper is 21cm wide (a vertical A4 page width) and infinitely long. Obviously I don'...
4
votes
1answer
41 views

Preventing page break at specific location

I am currently compiling a booklet of presentation abstracts. Each entry has a title (which I render as a \section*), an author, and the abstract text itself. For some of the entires, LaTeX decides ...
8
votes
1answer
164 views

Pagebreaking colored boxes inside exercise

When I try to use mdframed box inside Exercise enviroment from package exercise, the page breaking does not work. It does work if I switch the order - if I use Exercise inside a box. I however need ...
10
votes
1answer
153 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 ...
3
votes
1answer
46 views

Is there an alternative for samepage for a multicolumn environment?

In my document, I successfully use samepage to force content to be on the same page. I want to do the same in a 2-column document so that the heading and the text are in the same column. How can I ...
1
vote
1answer
57 views

\pagebreak affects top of next page

Why does a \pagebreak push the heading at the top of the next page down? To match other pages, I need to add \vspace*{-3\baselineskip} after the page break. \documentclass[a4paper]{article} \...
3
votes
1answer
98 views

Plain TeX: Wrong \folio for heading at top of page

I have the following chapter macro (uses code from Heiko Oberdiek): \def\ChaptTocEntry#1#2{% \line{\hbox to1em{\hfil\bf#1}\hskip1em#2\leaderfill\folio}} \def\ChaptWr#1{{% \let\folio\relax \edef\...
3
votes
1answer
145 views

page break issue with tcolorbox's height fixed for

When using the height fixed for=first and middle option on a tcolorbox, the page break behavior becomes awkward. Try uncommenting the identified line in the following MWE to see what happens. ...
3
votes
2answers
47 views

No page break when using hypertarget in custom environment

I am trying to create an environment that would automatically create a label for each instance based on a global counter. This is the model example of what I'm trying to do. \documentclass{article} \...
4
votes
1answer
83 views

Prevent LaTeX from making pages longer or shorter (i.e. changing the text height)

When I try to prevent widows/orphans by increasing \widowpenaltyand clubpenalty, LaTeX usually decides to either make the page one line shorter (to prevent an orphan) or one line longer (to prevent a ...
1
vote
0answers
11 views

How to skip a page when a new paragraph has only one line available [duplicate]

Is there any way to automatically (i.e., without \newpage) make latex begin a new page when there's only one line left on a page? So, for instance, the 5th paragraph in the example below would start ...
1
vote
1answer
50 views

Paracol, tikzcd and needspace

I'd like to put a tikzcd diagram side by side with a text but, as we can see in the example below, sometimes diagram (or text) goes to the next page. Sorry about the very large file. Thank you in ...
1
vote
1answer
83 views

Breakbox box placed on a new page instead of breaking the page

I made a list of serveral items that I'd like to be framed. That was no problem with \fbox{...}. Since the text is not longer than 1 page, it goes straight to the next page insteat of starting in the ...
0
votes
1answer
83 views

Footnotes on the page they belong to

Is there a way to force footnotes to stay on the page they belong? I have a document with only enumerate environment and each item of the enumerate has a footnote. Sometimes this footnote goes in the ...
0
votes
0answers
39 views

Redefine \cmidrule for longtable preventing page-break after \cmidrule [duplicate]

Is there a way to redefine the \cmidrule command in such a way that no page-break is allowed after \cmidrule in longtable? To be more specific: I use both the \midrule and the \cmidrule command from ...
5
votes
1answer
157 views

How can I synchronize page-breaking text across columns?

tl;dr: Like footnotes, but on the side (easy part). These notes must be on the same page as their reference points, so the "main text" needs to break whenever the notes break. I'm trying to produce ...
10
votes
2answers
281 views

Preventing widows and orphans in book, keeping facing pages of same length

I have a document in the book class which has a number of widows and orhans when compiled to pdf. I tried to remove the widows and orphans by using the all option of the nowidow package. It seems to ...
1
vote
0answers
82 views

Longtable Duplicate Separator at Page Break

I have a longtable spreading over 2 pages. Unfortunately, since I decided to use the booktabs package, I get a duplicate line separator between the table header of the second page and the next table ...