Skip to main content

Questions tagged [page-breaking]

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

Filter by
Sorted by
Tagged with
5 votes
1 answer
88 views

How can I break an alignedat/gathered environment between pages?

So, I've read the discussions here and also here but neither seem to solve my problem. I'd like to break a long list of matrices between pages, problem is I'm using an alignedat (and sometimes a ...
Marco Olivieri's user avatar
0 votes
1 answer
16 views

questionnaire with no page break between question and answer's first 2~3 lines

here is a question - answer like document where at the end of the first page there is a page break right after a question. I want that page breaking is not allowed between the question and the ...
user1850133's user avatar
  • 1,028
1 vote
1 answer
46 views

How to make own title of the part of text?

I'm trying to create titles for pieces of text that won't appear as the last element at the bottom of the page. I haven't been able to find a method to prevent page breaks directly below the title. ...
forrest's user avatar
  • 970
0 votes
0 answers
20 views

Europass CV content not fitting & exceeding page size

While making europass cv in latex i used \ecvblueitem to make two sections (section 1 and section 2). Section 1 has text around half of the page whereas Section 2 has text exceeding one page. (1) How ...
Jack's user avatar
  • 185
0 votes
0 answers
32 views

How to prevent Latex from adding an empty page prior to a footnotesized subsection?

I am trying to list a pretty big table of probabilities on my appendix. For it to fit, i needed \footnotesize, which barely does the job. However now there is an extra page being created between the ...
aerosol's user avatar
1 vote
1 answer
39 views

Starting a new page using PNAS template

I am using the PNAS template. I am trying to start a new page before my supplementary materials, but using \newpage or \pagebreak seems to confuse the template. I get several unhelpful errors such as: ...
Kaan Yorgancioglu's user avatar
1 vote
1 answer
91 views

\nopagebreak has no effect in \newcommand environment

I have a follow up question to my last question (How to create the guide-words in a dictionary) I'm working on a dictionary from the 18th century which contains translations for each entry in eight ...
Dieter's user avatar
  • 127
0 votes
0 answers
28 views

LaTeX: Prevent page breaks before \chapter

To modify a template file (.cls) so that it does not automatically insert a page break before \chapter, how can this be achieved? Google provides that: \usepackage{xpatch} \makeatletter \xpatchcmd{\...
Alpha Beta's user avatar
0 votes
0 answers
29 views

Can I insert a page with pdfpages when the text naturally causes a pagebreak?

Quite simply, I want to insert a page using pdfpages, but instead of causing a pagebreak at the position in the text where I call the command, I want it to wait until the text would break naturally - ...
jsj's user avatar
  • 101
2 votes
2 answers
62 views

\newpage not active with \twocolumn

I want to put the text on a newpage, but cannot do so with a call to \newpage when using \twocolumn. What is happening ? \documentclass[a4paper,12pt]{article} \usepackage[italian]{babel} \begin{...
Franklin's user avatar
0 votes
1 answer
49 views

Empty Pages in Latex, no Pagebreak

Why is a blank page sometimes inserted after tables, even though I do not enter a pagebreak command? How can I prevent this? The tables seem to fit on the page. EDIT: \documentclass{article} \...
s28's user avatar
  • 107
0 votes
0 answers
44 views

Prevent single word to cause line break in bibliography

Is there any way to prevent single words like page numbers (e.g. pp. 20-22) to cause line break in bibliography? I'm using natbib with following options: \usepackage[square,sort&compress,comma,...
Mohsen's user avatar
  • 1
1 vote
1 answer
17 views

Group text and figure so that they page-break together

I have text [a whole bunch of text up here] (a.) \begin{tikzpicture}[scale=.5] \draw[help lines, color=gray!30, dashed] (-4.9,-4.9) grid (4.9,4.9); \draw[->,ultra thick] (-5,0)--(5,0) ...
Addem's user avatar
  • 879
0 votes
0 answers
22 views

Avoid new page after end a section in latex [duplicate]

I am working on latex, and this is my main.tex, including all the packages which will be used: \documentclass{article} \usepackage[]{hyperref} \newcounter{Chapcounter} \newcommand\showmycounter{\...
Hân Trần's user avatar
1 vote
2 answers
42 views

Avoiding page break inside all paragraphs with \filbreak when also using \\

I am writing some song lyrics. If possible, partially empty pages should be preffered over page breaks inside paragraphs. Using \widowpenalties 1 10000 and \raggedbottom didn't work. Until now, I was ...
Filip Ž's user avatar
1 vote
1 answer
41 views

Avoid breakpage between content and legend in colorbox

Situation : I use a tcolorbox, but sometimes the content and the legend of the box are separated by a breakpage. I want to avoid that, but to let the box breakable in its content. I tried different ...
Hobo_academicus's user avatar
0 votes
1 answer
51 views

How to stretch the margin of a line and prevent last element to break line?

Edit 1: The image should be "Three Lines Instead of Four". Edit 2: Compilable Code updated. I am new to Latex, and I have the following piece of template code that provides a title for my ...
John's user avatar
  • 5
1 vote
2 answers
71 views

How to force a line never to appear at the top of the page

I have a line of text that should not be separated from what came before it by a page break. (If it matters, what came before it is a text environment). I.E. How do I force a line of text to never ...
ltcomdata's user avatar
  • 935
0 votes
1 answer
57 views

span a figure over two/multiple pages

I have a large figure in terms of hight dimension which I would like to add to the Appendix of my work in LaTex. Is there a way to have such figure spanning over pages without needing to resort to \...
Matteo's user avatar
  • 365
0 votes
0 answers
30 views

Prevent Figure break the sentence

I have this problem. I have some text and an image. I'd like the sentence "Recent developments" not to continue two pages later. How should I resolve? Thanks \begin{figure} \centering ...
Ele's user avatar
  • 1
0 votes
0 answers
26 views

\input with multicols pagebreaks

I have multiple .tex files that I insert into a main document.tex file. This is done for separating the different parts of my paper. The .tex files that are called with \input in document.tex contain ...
ptushev's user avatar
0 votes
2 answers
49 views

Align paragraph in paracol at the top by force

Paracol is a package that allows for synchronized multi-column typesetting. However, I find a situation where paragraphs in two columns not aligned at the top. Here's the MWE that just shows the ...
kraanium's user avatar
1 vote
2 answers
50 views

Duplicate a page containing minipages

I am beginner to the minipages environment and am having some difficulty writing on the next page after the first one, even with the usage of \pagebreak. If I use \pagebreak and paste the template (...
Satwik Dash's user avatar
4 votes
0 answers
126 views

How to access the *true* value of \pagetotal?

In a macro, I need to know whether I'm at the top of a page or not (excluding the top float). So I use the length of \pagetotal to find out whether I am or not. If \pagetotal is zero, then I'm at the ...
B Legrand's user avatar
  • 433
1 vote
2 answers
82 views

How to avoid code block splitting over 2 pages with Minted

I was wondering if there is a simple way to insert a page break when a too long Python code has a function splited over 2 pages and won't fit inside current page? The page break should be placed just ...
Nexus1138's user avatar
1 vote
0 answers
21 views

How to remove the text "Continued on next page", in longtblr? [duplicate]

How to remove the text "Continued on next page", in longtblr? \documentclass{article} \usepackage{tabularray} \usepackage[a4paper,margin=2mm]{geometry} \usepackage{lipsum} \begin{document} ...
Ommo's user avatar
  • 849
0 votes
0 answers
37 views

Longtblr does not break properly and leaves whitespace

How to make longtblr break properly and automatically, without leaving whitespace at the bottom of the page? In other words, I would like that the text arrives to the bottom of the page, and after ...
Ommo's user avatar
  • 849
0 votes
2 answers
59 views

How to avoid insertion of extra blank page here?

I have a document written in Markdown, and converted to PDF using pandoc - where suddenly a very stubborn and unwanted clear page has been inserted. I managed to obtain the final .tex output from ...
sdbbs's user avatar
  • 247
2 votes
1 answer
33 views

Require a minimum vertical distance when breaking with mdframed

I am using the mdframed package as shown below within the Solution environment. \documentclass[12pt]{article} \usepackage{mdframed} \usepackage{xcolor} \usepackage{lipsum} \newenvironment{Solution}{ ...
theraven5520's user avatar
0 votes
0 answers
16 views

Insert pagebreak in \begin{center} with \begin{BVerbatim}

\documentclass[12pt] {article} \usepackage{amsmath} \usepackage[breakable]{tcolorbox} \usepackage{fancyvrb} \usepackage{fancyhdr} \def\baselinestretch{2.0} \usepackage{tocloft} \def\toright#1{\...
Manjoy Das's user avatar
2 votes
1 answer
56 views

"this space intentionally blank" at end of chapters if more than X inches not typeset on

I'm using LaTeX to typeset a legal contract (trust indenture) using book and I'm using chapters for each major section of the contract but it's sometimes leaving big gaps of empty space at the end of ...
VigilanceTech.com's user avatar
1 vote
1 answer
31 views

Change multiple times the number of columns in the same page, without page breaks

I would like to change the number of columns of a page just like the following: 2 columns --> no columns --> 3 columns. But multicol inserts a page-break whenever I use its environment. Minimal ...
name_to_display's user avatar
0 votes
1 answer
32 views

Suppress page-break when a sentence is followed by multi-columns

I am trying to suppress page-breaking when a sentence in a single columned text is followed by a multi-column text. \documentclass{article} \usepackage{multicol} \usepackage{enumitem} \usepackage{...
Yiorgos S. Smyrlis's user avatar
0 votes
0 answers
55 views

How to suppress page break in \LaTeX, before enumerate [duplicate]

There are several ways to suppress page break in \LaTeX, nevertheless, none works for my specific case. My text contains something like: Examples \begin{enumerate} \item Example 1. \...
Yiorgos S. Smyrlis's user avatar
0 votes
0 answers
79 views

Stretching vertical space and reducing badness at the bottom of a page

Problem Is there a way in TeX/LaTeX to somehow reduce the badness which comes from a distance of a line from target height of a page? Context I am creating a document class for my students to use ...
lpszTemp's user avatar
0 votes
3 answers
101 views

Encourage page breaks between items, not within

I have a document with several lists within which I don't want a page break. In the following document: \documentclass{article} \usepackage[totalheight=2in]{geometry} \begin{document} \begin{itemize}...
Teepeemm's user avatar
  • 7,123
2 votes
1 answer
126 views

Why does tcolorbox insert such strange page breaks?

In the lower MWE I would like to create a formatted section for examples. However, the tcolorbox package inserts strange page breaks. I would like to have some, but I don't understand why it doesn't ...
FixFox's user avatar
  • 45
0 votes
0 answers
46 views

How do you avoid running hyperlinks that include the page's footer and header?

Please consider this MWE: \documentclass[paper=a6,fontsize=11pt]{scrbook} \usepackage{lipsum} \usepackage{hyperref} \begin{document} \chapter{My Chapter} \lipsum[2] \url{https://example.com/} \end{...
rmolina's user avatar
  • 183
2 votes
2 answers
117 views

My table of contents is weird

I doing a template which I use tocloft for summary title and titletoc for summary body. Well, I've just noticed that It isn't respecting the margin, so I dont know what to do now(find no error). Could ...
Leonidas's user avatar
2 votes
1 answer
79 views

Preventing page breaks after lists

How can I prevent a page break after an inner list when it is immediately followed by the end of an outer list? Page breaks elsewhere within both lists should be permitted. MWE \documentclass[...
David Purton's user avatar
  • 26.4k
0 votes
0 answers
33 views

\pagebreak unexpected behavior: a break too much

I am working on a large document, memoir class, compiled with LuaLaTeX (TL 2023). The document is too large and complex to allow me to post a MWE, so I'm just asking for some guess or indications, ...
Iacobus1983's user avatar
0 votes
0 answers
103 views

How to allow latex to split equation between pages?

I have an extremely long equation using subequations, similar to the below, except that it has many many constraints. latex starting a new page at the beginning of the equation. However, I'd prefer ...
IsalanOnkar's user avatar
1 vote
0 answers
34 views

How do I allow automatic page breaks within a listing?

I have some code inside tcolorbox environments defined by lstlistings, and I want to be able to have a listing automatically page break to avoid so much vertical space at the bottom after a listing. I'...
TheProgrammer's user avatar
0 votes
0 answers
22 views

How to add page breaks between citations for printbibliography

I'm working on my grad thesis and I sent a draft to the school's office. I got back a few formatting nitpicks that I'm working on now. One issue has been a bit harder to fix, so I'm going to post the ...
Nick Felker's user avatar
1 vote
0 answers
33 views

A section title immediately preceding a longtblr goes into the lower margin and overlaps the page number (and might even go lower)

Feeding latex or pdflatex with \documentclass{article} \usepackage{tabularray} %\usepackage{tabularx} \begin{document} Text %%% For tabularray: \vspace*{122.63ex}%%% The lengthy section title ...
user avatar
2 votes
0 answers
62 views

How to page break in long author list? APA6

I've been trying to knit an article with a very long author list using RMarkdown Pandoc. But the long list seems not to start on a new page. Half of them cannot be shown on the first page since it's ...
Arjen H's user avatar
  • 21
1 vote
0 answers
66 views

How to prevent minipage from going to the next page?

I would like to place a figure in the space at the bottom of the page. The figure is as large as the space. But when I try to place the figure there, the figure goes to the next page. The figure is ...
Htmm's user avatar
  • 83
0 votes
0 answers
75 views

Hyperref link spanning a pagebreak links footnote even with \DocumentMetadata{testphase=new-or-1}

It seemed to be an open problem for quite some time that hyperref link spanning a pagebreak also hyperlinks headers, footers and footnotes inbetween (Hyperref Link Spans a Pagebreak, Looks Ugly, page ...
Jakob's user avatar
  • 1,003
1 vote
1 answer
102 views

scrlttr2 enclosure pagebreak

I am using scrlttr2 to write letters, and in particular add the attachements also provided in the envelope in the \encl{} closure. However, since I add many many entries to the encl{} closure, it ...
patientCoder's user avatar
0 votes
0 answers
49 views

Turn off two columns only on new page

I know that paracol allows me two typeset two separate texts in separate columns. However, I want the two-column layout to terminate only at the page break after the first column text runs out [1]. +--...
Einreinfall's user avatar

1
2 3 4 5
46