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

10
votes
4answers
333 views

Creating arbitrary number of blank pages

Is there a single command with which one can insert an arbitrary number of blank pages inside some latex text?
2
votes
1answer
51 views

Problem Splitting Very Long Algorithm on two or pages

In the example below, I have a very long algorithm, probably spanning 3 pages. I tried manually splitting the code up, but each time, a new algorithm number is generated. How do you maintain the ...
2
votes
1answer
121 views

How can I render a LaTeX document without pages?

Almost always, I simply render electronic documents, so I don't need pages. Also, pages make it difficult to arrange images in a document. I want to draw TikZ graphs for my blog articles, and I don't ...
1
vote
1answer
23 views

Prevent page and column breaks mid bibliography entries in Biblatex/biber

Using biblatex and biber is there any way to prevent a page/column break from occurring mid item? The image below shows bibliography items being split both at the end of a column and at the end of the ...
3
votes
1answer
35 views

Nested breakable frames

I am trying to solve problem with nested frame environments which must be both breakable. It is not important to use tcolorbox if there is some better alternative. Is it possible to display it ...
0
votes
0answers
25 views

My pages are not the same size on the PDF for my Senior Econ paper

I don't know if a basic working example would help, as I would not be surprised if packages are conflicting or I have a typo or syntax mistake in the 10 page document. And I've no doubt made it much ...
3
votes
2answers
60 views

classification labels in headers and footers

I'm trying to write Latex documents that will automatically satisfy government requirements for labeling certain classes of information: - Each paragraph starts with a label indicating its importance....
0
votes
0answers
37 views

pagebreaking and `\vfil` in ConTeXt

I am trying to distribute elements vertically across a page: \setupbodyfont [TeX Gyre Pagella, 30pt] % Or something else \showframe \starttext A \vfil B \vfil C \vfil D \page E \vfil F \page G \...
3
votes
2answers
50 views

Auto Generate Custom Text Message for Page Break

I created a new environment that creates a box around text. I used tcolorbox. Additionally, since I wanted to break from page to page, I added 'breakable'. However, what I want it to do is to break ...
13
votes
1answer
123 views

\@clubpenalty leaks out

In the following example the value of \clubpenalty has been reset to the one of \@clubpenalty on the second page: \documentclass[]{book} \usepackage{lipsum} \begin{document} \subsection{abc} blblb ...
3
votes
1answer
53 views

\clearpage produces an extra blank page

I'm trying to insert some sidewaysfigure environments between segments of text. The output should be like Title Page Text (ends about halfway down the page) Sideways Figure Sideways Figure Text ...
2
votes
2answers
38 views

tcolorbox disable repeated text in overlayed node

In the following MWE (built from http://tex.stackexchange.com/a/170767/69378) I have demonstrated that title text in an overlayed tcolorbox node gets repeated across page breaks. I have checked the ...
2
votes
1answer
122 views

How to prevent page break between listing caption and code?

How to prevent page break between listing caption and code (see the picture)? Minimal example illustrating issue: \documentclass[a4paper, 12pt, oneside]{report} \usepackage[a4paper, left=3.5cm, ...
3
votes
2answers
39 views

Preventing page break between a Verbatim environment and an equation

I have a document in which displayed equations often appear immediately after an environment created using the fancyvrb package. How can I prevent page breaks from appearing in between? \...
2
votes
2answers
93 views

Place text on top of bibliography page

I would like to include a quote at the top of the first page of my bibliography section. \newenvironment{wittyquote} {\color{darkgray} \begin{addmargin}[6cm]{0cm} \begin{footnotesize}} { \end{...
1
vote
0answers
94 views

Blank page between references and appendix

Could anyone help please. A blank page is being created between the references and appendix. I have tried all the usual fixes like \clearpage and \cleardoublepage, but none are working. All the ...
1
vote
2answers
57 views

Line separator to not be used before or after page breaks

I have created a horizontal line in order to separate elements in my document. My question is how can I set it to not be used when it happens to be in the top of the page (i.e. right after a page ...
2
votes
1answer
32 views

Non-pagebreaking return in LyX

I know that in TeX, I can issue \\* to make a new line without a page break. How I do that in LyX?
1
vote
1answer
43 views

When 2 \newpages in raw are joined, and when not?

I tried to define my chapter so it will have an empty page after it, using titlesec. Using 2 newpages in a raw didn't help. I concluded that they are joined together, as if I wrote only 1. Solved this ...
1
vote
1answer
48 views

What causes the pagebreak for chapters and how do I disable it? [duplicate]

I'm using the documentclass ttthesis based on book from here. I really like it, but I don't want to have a new page for each chapter. Sadly every approach I tried failed, and now I noticed it's ...
2
votes
1answer
34 views

How to allow pagebreaks in long “cells” in a table?

was asked to renew our medical-result-printing-system. pdflatex seems to be best tool to do this. A kind of table would be fine to put the data in a structured way. Unfortunately some data Fields can ...
2
votes
1answer
44 views

Is there a simple way to cram a large forest tree into a page or split it into two pages?

If I try to cram a large forest tree into a page by enlarging a page by 3 lines, I get the result below. The tree overlaps with the footer. Below is the code. Is there a simple way to cram it in a ...
4
votes
2answers
144 views

Remove empty pages before glossary

I would like to have "subsections" in my glossary, or simply two glossaries one after the other. However, I always get an empty page (or, because I am using twoside & openright, even two!) between ...
2
votes
1answer
72 views

Tikz remember picture on wrong page

I want to comment some equations with tikz and stumbled upon a tikzmark command that uses the remember picture command. It works fine, I can draw below and above the equation, but whenever the ...
0
votes
1answer
42 views

How to force two “blocks” to be on the same page, without minipage?

I have the following situation (what follows is pseudo-code): \mySection*{Title} \begin{mdframed-theorem} Bla bla [...] that is long. \end{mdframed-theorem} Then something else, the starting of ...
0
votes
0answers
32 views

Last reference item in new page

I am using article class for my document with two columns. The last entry in the reference section appears in a new page. How to avoid this page break before the last reference item?
2
votes
0answers
37 views

Why text beyond the bottom of the page [duplicate]

I encountered a very strange problem. I wrote an enumerate after a long table, the enumerate text will be printed outside the bottom of a page, and some item text can not be shown. I simplified a ...
1
vote
0answers
26 views

newpage causes tex to misinterpret document end

In my appendix, I'd like to have the first page of my chapter to only show the chapter name and the second page start with a pdf I included via the includepdf package. I tried to accomplish this with ...
2
votes
0answers
29 views

Including a Float on a Separate Page

I am having difficulty positioning a float (table) in latex. I have two paragraphs of text, and I want the float to be inbetween these two sections of text, but I also want the table to be on a new ...
0
votes
0answers
71 views

Avoiding pagebreak after newline in theorem

This might be of relevance: Theorem environment - line break after label pagebreak and amsmath theorem environment issue Avoid page break in theorem Situation I used the information provided ...
3
votes
1answer
81 views

How to get uniform spacing between paragraphs across several pages?

I am using \flushbottom to get pages of equal height. When I now insert a tcolorbox which is set to be unbreakable such that a page break becomes necessary, only the spaces between paragraphs on the ...
0
votes
0answers
16 views

Is it possible to visualize a page break in a mdframed environment?

I'm using mdframed to style my code listings. I use minted to realize the code listings. My question is, if there is an easy way to visualize the page break of mdframed. I tried to sketch what I try ...
1
vote
0answers
30 views

Conditional pagebreak depending on position on page

Is there a way to say, add a newline here, if there are less than x empty lines before the next assumed pagebreak? something like \newpageIfThisLineIsLinesAwayFromBottomLessThan{5} I know that this ...
1
vote
0answers
52 views

How to keep page break points when publishing the same content with two different styles?

I would like to publish two or more versions of the same document. The content is the same, the style is different and the page breaks should be the same too, so that I can refer to the same page ...
1
vote
0answers
49 views

Unbreakable Line Problem [closed]

I have a weird problem with line breaking in my document. On the second-to-last page (last results before the conclusion), I have a large figure in the upper half of the page and three incomplete ...
2
votes
1answer
64 views

How to prevent the last bibliography entry from being split in a new page?

I'm currently facing the problem that when the last bibliography entry on a page is too long to fit in the remaining space, it's being split in two parts (in the current and the next page). \...
4
votes
1answer
58 views

How can I break big footnotes using an automatic continued sign?

I have a very big footnote in my latex document. The processor automatically breaks it into two or three pages without any specific sign to show the reader that the text is continued on the next page. ...
1
vote
1answer
123 views

How do I force references to appear at the very end of a document, without placing them on a new page?

I'm writing a document that must be at most two pages long. I'd like for my references (created using Biblatex) to appear at the very end of the document, in a single contiguous block, after all the ...
2
votes
1answer
39 views

Page break between text and table

I am having a problem with a page break that occurs in one of my document wich appears like this : I would like some of my text to be located between the pagebreak and my table. I have struggled with ...
0
votes
2answers
73 views

Environment with brackets on the left side which is breakable for all nesting depths

I would like to have a breakable environment which indents the content and places a bracket (or at least its corners) on the left side of it, as in the following picture: It is crucial that the ...
0
votes
0answers
9 views

how to create a continuous single-column document with no page breaks [duplicate]

I apologize in advance for this "total newbie" question. How would I go about creating a document that contains no page breaks, and that simply scrolls down and down? Thanks!
3
votes
1answer
32 views

Multicols leads to subsubsection title and content being on different pages

I'm am using the multicols environment in a subsubsection. But in the Output in prints the Title of the subsubsection on a different page than the content, i.e. the multicols text. already tried \...
1
vote
2answers
48 views

Force text between part and chapter to be on the next page after the part title

I have not found a better title sorry. I have a document (book class) in which I have something like : \part{MyPart} The brief introduction of my part, where I present the three chapters I will ...
2
votes
2answers
98 views

How do I split a forest tree into two trees with proper vertical alignment?

\documentclass[oneside,12pt]{article} \usepackage{geometry} \usepackage{microtype} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{enumitem} \setlist[enumerate,1]...
1
vote
0answers
40 views

Is there a way to split a forest tree or adjust enumerate margins to fit a page? [duplicate]

\documentclass[oneside,12pt]{article} \usepackage{geometry} \usepackage{microtype} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{enumitem} \setlist[enumerate,1]...
1
vote
1answer
43 views

Theorem header and *all* content on separate pages

I have in my paper a theorem-like environment which consists only of an enumerated list. It looks bad if I just type it in vanilla, so I add a $\,$ before the enumerate (see also enter link ...
2
votes
2answers
82 views

Replace vspace at the end of the page

I'm typesetting a text with sections separated by the \vspace{1em} (sections have no titles). Sometimes the end of section coincides with the end of page. In this case the reader cannot see the end of ...
2
votes
1answer
88 views

Is it possible to break page on a double line break in the minted environment?

For a project, I am printing a large amount of source code using Minted. Certain blocks, such as CSS blocks, are fairly short, but are split across pages, which means they are not as readable. Is it ...
2
votes
2answers
60 views

How do I prevent an enumerate item at the second level from being split between two pages?

looks bad. How can I prevent this? I tried midpenalty, but it didn't work. The code is presented below. \documentclass[oneside,12pt]{article} \usepackage{geometry} \usepackage{microtype} \usepackage[...
2
votes
1answer
35 views

How to get \vsplit to separate an equation from the previous line

I've been experimenting with determining the height of lines by using \vsplit to break up a paragraph. I've set pretty much every penalty associated with page breaking to 0. It's not the end of the ...