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

12
votes
1answer
126 views

Varying Page Lengths

How can I vary the vertical page length per page? I want to have the page breaks at essentially arbitrary locations in the document, specified by a command, like \newpage but not necessarily this ...
12
votes
1answer
197 views

Jumplines (“continued on page…”) in latex?

Many newspapers/newsletters have several articles starting on their front page, yet with only an initial segment of each article on the front page. Each such initial segment ends with a "jumpline" - a ...
12
votes
2answers
965 views

Custom pagebreak in align equation

I got the following problem: Right now I am checking my equations, which are usually written in align. This looks great in most of the cases, but sometimes the pagebreaks are weird, ie there is a lot ...
12
votes
2answers
2k views

Copyright page on back of title page

I am trying to get the copyright page to print (or display) on the back of the title page. What is happening is that I get a blank page after the title page and then the copyright page opens on the ...
12
votes
1answer
111 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} ...
12
votes
2answers
1k views

Keep bibliography entry on one page

I'm using BibTeX and natbib. I have a number of entries in the reference section that start at the bottom of a page and continue on the next e.g. at the bottom of a page I have Some Author Name, ...
12
votes
1answer
1k views

How to keep Heading together with text?

I use a very custom style (not mine) and very frequently I get a heading on the bottom of a page and the next paragraph on the top of the next page. Sometimes this paragraph may be a list or similar. ...
12
votes
1answer
481 views

How do I check whether the text will fit in one page?

I am trying to typeset a page that varies in length. Sometimes it's just shorter than A4, but sometimes it exceeds the length of A4. My question is, how can I check whether the text will fit in one ...
12
votes
1answer
6k views

Pseudo code to be spread over multiple pages?

I am writing pseudo code in the algorithmic environment. It is quite long and doesn't fit on one single page. Instead of it continuing on the next page, it is cut off. I tried inserting it into a ...
12
votes
2answers
4k views

Page breaks within enumerated list

I'm writing a document with lots of numbered items, and I would like each of those items to be contained on a single page (rather than split across two pages). Is there a way to do this? samepage ...
12
votes
2answers
2k views

Split beamer notes across multiple notes pages

I've only recently discovered the notes mode for beamer, and I'm trying to build a presentation with notes containing my speech. However, my speech is quite large, and is causing note page overflows. ...
12
votes
1answer
173 views

Does \\* within footnotes have any effect?

One is taught that \\* is an alternative to the line-breaking \\ that tries (often unsuccessfully) to inhibit a page break. Normally \\* would be used in ordinary ("body") text. (And I hereby ...
12
votes
1answer
398 views

Text spreading onto both columns in middle of twocolumn layout

I know that the package cuted can do its job quite well. However I'd be interested in different layout than what cuted provides. I hope that the image will be worth milion words: On the left is the ...
12
votes
1answer
751 views

How can I typeset parallel lists of paragraphs on facing pages?

(Not a duplicate of this question.) I'm trying to typeset a document for my father, which contains a list of paragraphs that must be printed aligned on facing pages. Page breaks must ideally not ...
11
votes
2answers
433 views

\pagebreak[number] only breaks with number = 4

I wanted to try out encouraging of pagebreak using \pagebreak[number]. As far for now it only breaks the page when I define \pagebreak[4] and only then (it won't work on any other circumstances). ...
11
votes
3answers
1k views

Insert newpage before section but prevent pagebreak after part

Maybe some of you can already guess what I'm trying to achieve; I want to redefine some commands with the following result: every \section should start on a new page except for sections which are ...
11
votes
4answers
12k views

How do I force \section's to start on a new page if they don't fit on current page?

So I am writing a programming book, and I use \section for each topic. For example, I'd write, \section{Another way to double-space a file} \begin{lstlisting} awk 'BEGIN { ORS="\n\n" }; 1' ...
11
votes
2answers
373 views

How to avoid orphan or widow when using tcolorbox?

My MWE below should not be simplified anymore to avoid breaking my real scenario. The settings are tightly coupled. \documentclass{article} \usepackage[a6paper,vmargin=15mm,hmargin=5mm]{geometry} ...
11
votes
1answer
11k views

Algorithm over 2 pages

I am writing a few rather large pseudocode functions using algorithm and algorithmic, i.e. my code looks something like: \begin{algorithm} \caption{Coolest Algorithm ever} ...
11
votes
2answers
1k views

Longtable: page breaks within row possible?

I am editing a longtable. Some of my cells contain a lot of text. Page breaks seem to happen only where table rows end/begin. I'd like, however, for the rows to span pages; it's fine with me if, for ...
11
votes
1answer
5k views

\maketitle text before title

I want my page to look something like this (using \documentclass{article}): text title text but I can't get it right, it puts my title on the next page leaving my first text ...
11
votes
2answers
4k views

How to continue the framed text box on multiple pages?

I am using framed package to create text boxes using begin{framed} and end{framed}. My problem is that my framed box goes on for two pages, and I don't want the text box to complete itself at the end ...
11
votes
1answer
210 views

How can I do something after the next pagebreak?

I'm writing a document where I say something like "if you look at Figure 1 on the next page, then you will see that blah blah blah". So what I want to do is have latex skip a number when numbering ...
11
votes
2answers
311 views

Include adjacent PDF slides from two different sources through \includepdf

I would like to include pages from two different PDF files on a single page, side by side (possibly using nup=2x2). Presently, there is a page ejected before each \includepdf.
11
votes
2answers
8k views

Allow theorem split in many frames in beamer

How can a theorem-like environment be (automatically) split into multiple frames if the vertical space it needs is not enough in a frame? In my document preamble I have \theoremstyle{definition} ...
11
votes
2answers
2k views

biblatex: No pagebreak in bibliography entry

Is it possible to tell biblatex to never split a bibliography entry across two pages? Ideally this should work for both \cite and \fullcite.
11
votes
1answer
8k views

How to put a full-width table at the top or bottom of the same two-column page as the reference text?

I'm posting today because I would like to reduce white space in a document I'm writing. The content is two-columns but I have floating tables that span across both columns (table*). At some point, ...
11
votes
1answer
16k views

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

I am trying to adapt this solution, shown below, of multiple authors and multiple affiliations:                     to a format where, title and ...
11
votes
2answers
331 views

How to check if a section title (or any heading) is the first line of a new page?

I would like to be able to use an \if command to check if a \section appears on the first line of a new page. If a section heading is the first line of a new page, I would like to then adjust some of ...
11
votes
1answer
226 views

Index: Repeat first-level item on new column/page?

In my family history book, I'm using a two-level index. First level is surname, and second level is given name. Index items are defined such as the following: \index{Doe!John} Often a first-level ...
10
votes
3answers
6k views

How to box verbatim to prevent page break?

If I try \mbox{ \begin{verbatim} Some looooong text... \end{verbatim} } Then some compilation errors occur.
10
votes
2answers
5k views

How to remove page break after \part in report/book

I have tried to look through, but I couldn't find a clear solution on this. I have a document that uses report with multiple \chapters in multiple \parts as: \part{foo} \chapter{uno} \chapter{dos} ...
10
votes
3answers
305 views

Whitespace that breaks across pages (e.g. for handwritten answers)

I'm creating a document where I want to leave white space of varying heights, e.g. for handwritten answers to questions. It doesn't matter whether this empty space is bordered or not. The key thing ...
10
votes
4answers
392 views

Two-colum task list with status information

I'm trying to generate a two-column task list with status information in the second column. It has to allow page breaks and should look more a less like this: I managed to hack something together ...
10
votes
3answers
806 views

Forcing even number of pages in output (LaTeX — pdflatex) [duplicate]

Possible Duplicate: How to keep the last page number even? Is there a way of forcing an even number of pages in output ? What I mean is to make pdflatex document "intelligent" it will add ...
10
votes
2answers
1k views

Marginpar appearing on the wrong side (using memoir)

The subject line pretty much says it all: some marginal notes (beginning of the second page) do not appear on the correct side. (The question is: how can I fix this automatically?) Below is a MWE that ...
10
votes
2answers
1k views

Test if a paragraph has a page break in it?

I'm trying to use TikZ to make fancier frames. I'm using the clever \tikzmark thing that Andrew Stacey wrote to put nodes at the top left and bottom right of the body of an environment. Then I use ...
10
votes
1answer
537 views

How to make \section start automatically in new page, except first in a chapter

I am working in report class. I would like to redefine \section so that it starts on a new page, except for the first section in every chapter. It seems I should just put code from this answer Start ...
10
votes
1answer
4k views

Two-column beamer ToC with control over the breaking point

From Splitting TOC into two columns on single frame in beamer, I'd like to know whether it is possible to control the position of the breaking point between column 1 and column 2?
10
votes
2answers
2k views

Index shouldn't start new page

I am writing an article in LaTeX 2e with \documentclass[twocolumn]{article}, including an index. The document prelude includes \usepackage{makeidx} and the \makeindex command. At the point where I ...
10
votes
1answer
567 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 ...
10
votes
1answer
412 views

How to spread floats automatically over a whole chapter?

In a chapter with many figures, I'm having trouble to get the floats to be interlaced with the text. To quote http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions: Authors sometimes ...
10
votes
2answers
816 views

Custom alignment of columns in align environment

I need to typeset two columns of equations, each row typeset with an equation number to the right as with an ordinary equation. The first column must be centered, and the second column must be ...
10
votes
2answers
18k views

How make sure two elements stay on the same page? [duplicate]

Possible Duplicate: Unbreakable block I am writing a very simple how-to document with several screenshots. The document flow goes something like this: A few sentences explaining action 1 ...
10
votes
2answers
301 views

Can I make some vertical material disappear if it occurs next to a page break?

I'd like to place a horizontal rule above each section title, to separate the new section from the text before it. But I don't want the rule to appear if the section begins on a new page, since that ...
10
votes
3answers
468 views

Avoid page break between line and quote environment

I encountered a little problem while writing my homework in LaTeX. I wrote the following code: \documentclass{article} \begin{document} \center{Title} \vspace{18cm}\\ This line should be on the same ...
10
votes
1answer
164 views

prevent break after \poemtitle

This MWE shows that LaTeX can put a break after the title of a poem (written with the \poemtitle command of the verse package). Can someone advice me a way to prevent this behaviour? ...
10
votes
1answer
5k views

Proofs in Beamer

I'm writing a presentation in Beamer, where I present proofs which are longer than one frame. How to make Beamer to break it automatically to another frame? If it is not possible how am I supposed to ...
10
votes
2answers
1k views

Automatic way to break narrow tables into two columns?

Is there an easy way to break long narrow tables into two (or possibly more) columns (i.e. without manually rearranging the columns)? In the following example you can see that there is a lot of ...
10
votes
1answer
193 views

mdframed: how to prevent a box from splitting if the remaining content (or the initial content) is too small?

Question I would like to prevent mdframed to split a box too early or too late. By this, I mean that I would like the remaining part of the box to always be greater than a fixed length, given before. ...