{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
0answers
45 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
57 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
48 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
82 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
35 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
68 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
30 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
41 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
83 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} ...
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} ...
1
vote
1answer
42 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
78 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
81 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
58 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} ...
2
votes
1answer
33 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 ...
0
votes
1answer
51 views

\addxcontentsline causes empty to part of mdframed box before page break

I’m using mdframed to surround an own environment called {myenv} (for this example). And this environment is setup as a trio list and uses \addxcontentsline to write a list of these environments (I’m ...
3
votes
1answer
52 views

Keep item and includegraphics or figure on same page

I'm creating a software guide where I use enumerated list for the steps. Many of the steps have a screenshot I display under the item. I'd like to keep the item and the following figure or graphic ...
3
votes
1answer
55 views

The problem of empty page when starting new chapter with an image on first page

This is a tough one. I have many cases where I start new chapter, and the first page of the new chapter is a pdf page, which is loaded using \includegraphics (I have lots of documents, I scan, then ...
3
votes
1answer
39 views

How to avoid border breaks in the table?

I have a table, and in some pages I have border breaks, how to fix that? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} % Включаем пакет для поддержки русского ...
2
votes
0answers
116 views

Forceably deleting the last page

My document has a blank page at the end, Is there an easy way to forcibly delete it? ideally \deletepage{2} I have already tried altering the margins, but it screws with friggeri-cv layout edit: ...
4
votes
0answers
68 views

How to let minted break across pages but keep the caption together with the end of listing?

I want to create a listing using minted that has background colour and can be split across pages. The usual advice in that case is to use the mdframed environment and I have written a command that ...
5
votes
3answers
230 views

How to use patchcmd to insert \clearpage before \chapter to avoid breaking page

I want my document to not start new pages when there is a new chapter. My code is the following: \documentclass{scrbook} \usepackage{etoolbox} \patchcmd{\chapter}{\clearpage}{}{} \begin{document} ...
6
votes
1answer
70 views

Breakable tcolorbox causes ragged bottom

When using a tcolorbox with the breakable option, this may cause a "ragged bottom" in some special situations. The following MWE demonstrates this behaviour: \documentclass[DIV=10, BCOR=10mm, ...
3
votes
1answer
60 views

mdframed breaking pages in weird places

I defined a new environment which puts the frame title in the middle of the frame \newenvironment{coloredframe}[2]{ \mdfsetup{ hidealllines=true, leftline=true,topline=true, ...
2
votes
1answer
84 views

wrapfig - Make wrapped image respect margins and page ends

I need to insert images wrapped in text. wrapfig obviously comes to mind. The problem is the wrapped figure, by default, ignores margins and even page ends. I mean, if I put the image less than its ...
3
votes
1answer
62 views

forcing breaks in gigantic footnotes

I have huge footnotes with linguistic examples in them. For some reason xelatex (texlive 2015) decides to put everything onto the next page and leave a huge hole. I was reading around and found the ...
1
vote
1answer
36 views

Creating a new environment that combines samepage with align

I want to avoid pagebreaks within an align environment. I can accomplish this with both the samepage and the minipage environments. However, when I try to create a new environment that combines align ...
0
votes
0answers
26 views

No page breaks at all [duplicate]

Would it be possible for latex to generate the text of my latex document to a pdf consisting of one single giant, very long page. This pdf would not be for printing, but just for online viewing.
1
vote
1answer
78 views

“Page intentionally left blank” with twoside openright

I'm using twoside,openright in my document class, and I'm wondering how to have "Page intentionally left blank" text on the pages that openright makes blank. I've seen people redefining ...
2
votes
1answer
37 views

Typeset a biblatex bibliography in a cv4tw CV

I'm using the cv4tw package to produce a CV. This package provides a \story command for typesetting individual CV entries; one of its arguments is a label which appears on the left, and most of the ...
1
vote
2answers
76 views

How to avoid page break after table?

I have a small LaTeX table (tabular) created in R with the xtable package and I would like to place a figure underneath the table on the SAME page. I have tried various things (using packages float, ...
12
votes
1answer
269 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
43 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
41 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
2answers
114 views

draw a line on a given page #

I am writing a conference paper and want to have a big black line drawn across the bottom of page 12 (the conference has a 12-page limit). Is there any way to do that, and specify it at the beginning, ...
0
votes
0answers
32 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 ...
7
votes
2answers
140 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, ...
0
votes
0answers
25 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
46 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
69 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} & ...
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 ...
7
votes
2answers
215 views

How can I control the minimum number of lines (rows) that should be kept together when a page break is necessary?

What to do when tabular alignment just doesn't cut it? I designed (perhaps not efficiently or with the "right" approach, yet using some helpful LaTeX3 answers from egreg) a way to enter data into an ...
4
votes
1answer
61 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} ...
4
votes
1answer
80 views

How to Make Claims and Proofs start on the same page if possible?

I have a document where sometimes proofs start on a separate page than where their associated claims were stated. Is it possible to force is so that (unless the statement of the claim is more than ...
3
votes
1answer
92 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 ...
0
votes
1answer
56 views

\nopagebreak in longtable results in undesired negative vertical space

System: XeTeX Version 3.14159265-2.6-0.99992 (TeX Live 2015/W32TeX). MWE (with a grid superimposed to help visualizing the issue): \documentclass[12pt]{book} ...
0
votes
0answers
51 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
69 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, ...