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

8
votes
1answer
211 views

How to generate a “<section> continued” heading after page-break?

This is a follow-up question of the answer to Re-displaying section headings after page-breaks As in the follow-up question, I would like to repeat the section heading after a page break, but ...
15
votes
3answers
210 views

Why do user-defined whatsit nodes affect LuaTeX pagebreaking?

EDIT: A summary of the possible answers is given below. In my current LuaTeX project I am using user-defined whatsit nodes to transfer information between the different stages of a LuaTeX run. On ...
4
votes
1answer
92 views

Limit number of floats on a float page

I'm creating a document with 10 figures, which I specify to sit on float pages using \begin{figure}[p] . All the figures are the same size and each float page can fit 6 of them. However, I would like ...
2
votes
1answer
524 views

Breaking Page with Boiboites Package TikZ

I have a problem with package Boiboites I'm writting an exercise enunciate with this package who occupies more than one page, but i cannot break the page. Here's the code: ...
1
vote
1answer
60 views

Prevent a line from being the last line on a page

I want to prevent a certain line from being the last line on a page. If necessary, I want whitespace to get automatically inserted before it so that it gets pushed to the beginning of the next page. ...
1
vote
1answer
402 views

prevent page break after AASTeX deluxetable \tablecomments and the next deluxetable?

The issue is the following: there are two deluxetables (AASTeX) set after another. The \tablecomments of the first extends extends over a page boundary, such that one line of text lands on a new page. ...
1
vote
1answer
87 views

Force the abstract onto a new page

I have a document that has the header "Abstract" at the very bottom of the first page, and then the actual text of the abstract is on the second page. The rest of the first page is taken up with ...
4
votes
2answers
82 views

How to change the page height on current page so as to include each section in one page?

I consider posting some materials as .jpg file on my blog which produced from a .tex document. This document includes lots of sections which is about 1500-2300 words. I need neither header nor page ...
1
vote
0answers
515 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
43 views

Ignore pagebreak at some pages

I need to have no empty lines at some pages of the document. The reason for it is that I'm putting a table on some pages that is pretty long, and I used scalign \scalebox and \centerline for it, but I ...
1
vote
0answers
204 views

Splitting a 2-column very long table into various multiple columns across different pages

I have a 645-row table to be included in one article appendix. Such table has only two narrow columns where each row is composed of a Month-Year in the first cell and one date in the last cell of the ...
3
votes
1answer
172 views

How to output Bibliography on separate page in 2-column layout (LyX)

I'm using LyX with the default document class & settings, except with 2-column layout. How do I get the Bibliography to output on a separate page? I tried inserting a New Page, but that just bumps ...
2
votes
2answers
340 views

Auto-break Cell in longtable Enviroment

I try to build a document with a question-and-answer form using the longtable environment with two tabulars. The first one is for questions, the second one for answers. If my cell contains more data ...
11
votes
1answer
8k views

Switching from two columns to one column without adding a page break

I am trying to adapt this solution of multiple authors and multiple affiliations, i.e.:                     to a format where, title and authors go ...
4
votes
0answers
105 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 ...
5
votes
1answer
55 views

Longtable: Keep the last two rows on the same page

I know there are similar questions, but using \\* did not work for me. What I want to achieve is that the last two rows of my table will be on the same page (and therefore no page break between ...
1
vote
0answers
44 views

No separated page for a table of content in a book class document [duplicate]

I am using a book class (exactly scrbook) for my paper. Still I don't want to have a separated page for my table of content -- the paper is a MSc thesis and I want the toc to start at the same page as ...
3
votes
0answers
143 views

split longtable over even and odd pages (2)

I am a first-time user of LaTeX, trying to typeset my thesis. My problem is that some of my tables are large and do not fit on a single page; both in length (many rows) but some also in width (many ...
4
votes
1answer
179 views

Joining lines and text together (and a grey footnote) in a new environment for grey text

I defined an environment called bewertung that's delimeted by two lines. I observe three problems I can not solve: Pagebreaks after the first line (page 1 of MWE PDF). Pagebreaks before the second ...
6
votes
2answers
156 views

Drop the current page

I need to use a command of a 3rd-party package, which inserts multiple pages of content into my document. Is there a way to tell LaTeX to ignore the last of these pages? E.g. the command inserts 3 ...
5
votes
1answer
314 views

How to make a table wide in a twocolumn-mode document?

How could I make a table wide (like using table*) in a twocolumn-mode document, that can break a page? Below the expected result (made in any ordinary text editor). Page 1 Page 2 UPDATE By ...
0
votes
1answer
120 views

Unwanted page break

My code generated unwanted page break once I start the align environment. The best way to show it, is to provide the relevant code so someone can compile it. My code looks like this ...
12
votes
1answer
103 views

biblatex: extract fields without starting a page

I'm trying to extract some data from bib entries for further processing. Sadly if I use a cite command it starts a page: \documentclass{article} \usepackage{biblatex} ...
4
votes
2answers
45 views

Pages interchanged; unwanted

Consider the following: \documentclass[ danish, dvipsnames ]{article} \usepackage{babel} \usepackage[ hmargin=2.4cm, vmargin=3cm ]{geometry} \usepackage{amsmath} \usepackage{pst-solides3d} ...
3
votes
1answer
80 views

Preventing to start a new page with the temporary change to landscape mode

When I use When I insert a picture with landscape mode, the new page break is introduced to make a big blank. Can I prevent this? \section{A} \label{sec:flow-data-through} Figure \ref{df} shows ...
4
votes
1answer
582 views

Change \textwidth and \textheight in mid-environment

First, this is not a copy of Change \textwidth and \textheight in mid-document as I can't set a manual \pagebreak and \newgeometry or \restoregeometry thereafter. I want to change the footer size for ...
2
votes
0answers
38 views

Repeating top-level index entries on the next column (done right)

Yes, I want exactly the same thing as in this question. However, I'm trying to get rid of the following three issues with repeatindex/afterpage: afterpage causes loathsome small vertical space after ...
7
votes
1answer
112 views

Force pagebreak after every sentence/paragraph

Is there a way to force a pagebreak after every sentence or paragraph? This may seem like an odd thing to do, but for catching typos and just general editing I find it much easier to look at a ...
1
vote
0answers
92 views

How to undo the feasible breakpoints of `lstlisting`?

Is there a way to prohibit pagebreaking at the beginning/end of an lstlisting environment? I'm trying to keep together the following two pairs of lines: the first line of lstlisting and the line ...
3
votes
2answers
332 views

How to prevent pagebreak in quote environment?

\begin{quote} ``No matter how far apart the particles are when we try to collect one of them the relative probabilities of finding it in different places are strongly affected by the `interference ...
3
votes
1answer
103 views

IEEEeqnarray page breaks

I am using IEEEeqnarray and have an equation of many lines. LaTeX insists on placing this equation on a new page as there is not enough space remaining at the bottom of the current page for it to fit. ...
3
votes
1answer
311 views

longtable(tabu) with multirow and page breaks

I'm trying to place a bunch of images into the multirow within longtabu. But it looks messy if row is splitted by page break. The same problem with long text in multirow. Neither image nor text are ...
2
votes
2answers
101 views

Three minipages side by side but over several pages

Im searching for a way to typeset the following scenario: With three minipages this works fine: \documentclass{minimal} \usepackage{blindtext} \begin{document} \begin{minipage}[t]{0.1\textwidth} ...
8
votes
1answer
138 views

Adding some text on a page break

How can one test if certain chunks of text (say, numbered questions in a questionnaire) is split between two pages and add automatically related text ("Continued question NN") on the top of the second ...
4
votes
1answer
901 views

Removing extra page before and after \tableofcontents

My main file generate extra page before \tableofcontents with header title "Table of contents". How can I remove this page? I am copying the main.tex file code for your reference. ...
1
vote
1answer
160 views

Does the package csvsimple support auto pagination?

I have a csv file that will probably take two pages, and doing \csvautotabular{Foo.csv} just makes my table run off the page. I checked the documentation but did not see anything about pagination of ...
3
votes
1answer
148 views

Included PDF as first page creates empty page before it

For my thesis I have to use a specific first page, which is only available as Word. I filled it and saved it as PDF and included it with my thesis with ...
2
votes
1answer
113 views

How to make longtable occupy its own standalone pages?

There is some text and now I want to insert some pages containing a longtable. How can I achieve this goal? To state my question clearly, I want (Main text A) -----------page break---------- ...
4
votes
1answer
69 views

Center longtable parts vertically on page

I am using \longtable to split tables into two parts which are displayed on two pages in a double page layout. I do not let longtable break the table, but instead use \newpage on a line where it makes ...
4
votes
2answers
66 views

Insert newline if this line is the last one before a new page

I have this simple Idea: I want to have LaTeX keep count of the number of text-parts (which already works fine): \newcommand{\newpart}{ \bigskip \begin{center} ...
3
votes
0answers
152 views

Avoid page break after last line in lstlisting [duplicate]

I have a listing as follows: \lstdefinestyle{yamlCode} { numbers=left, language=Yaml, backgroundcolor={\color{lightgray!40}}, breaklines=true, frame=single, columns=fixed } ...
5
votes
1answer
319 views

Conditional column break in ConTeXt

Background Trying to determine whether a column break must be inserted on a two-column page. There are multiple sections on the page. Before the last section on the page, I want to insert a column ...
9
votes
1answer
189 views

Bad page break with \newenvironment, \refstepcounter and hyperref

I tried to define some environment but came across bad page breaks sometimes. The minimal working example is as follows: \documentclass[b5paper]{article} \usepackage{hyperref} % page break is correct ...
2
votes
1answer
66 views

TeX4ht - prevent line breaking in HTML?

By default, TeX4ht breaks long lines of text in the input into shorter lines in the output HTML file. Is there any way to suppress these extra line breaks? (Note that I am trying to avoid extra line ...
9
votes
1answer
334 views

How to prevent page break between section title and table

I have several consecutive subsections which only contain one longtable each, right after the subsection title. So it happens that some of the subsection titles are at the bottom of the page and the ...
4
votes
1answer
609 views

The titlepage option and the table of contents in KOMA-Script

The KOMA-Script document classes provide the titlepage option which when set to true typesets the title at its own page and otherwise allows for content to immediately follow the title on the same ...
1
vote
1answer
88 views

What is the proper way to ensure/avoid non-break with item and subitem?

This is a rather basic question, but I wanted to know what the proper bracketing is or options to protect page breaks between items in 'itemize'. That is, items can be broken across pages but not ...
3
votes
2answers
147 views

Disable or heavily penalise pagebreaking at a specified place

Is there a way in LaTeX to disable (or heavily penalise) pagebreaking at a specified place? Here's an example: \documentclass[]{minimal} \usepackage[a6paper]{geometry} % demonstration use only ...
6
votes
2answers
152 views

Widow Orphan lstlisting

I have a listing of 6 lines. The listing box does not seem to fit on one page (it is on the bottom of the page) so the rest of the box is printed on the next page. There is nothing actually in the box ...
4
votes
1answer
256 views

Captioning an mdframed box without making unbreakable

I would like to a have a caption below my mdframed box (outside the border if possible) which sometimes span across multiple pages. I managed to create a caption several ways but the pagebreaks are ...