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

17
votes
2answers
923 views

Hyperref Link Spans a Pagebreak, Looks Ugly

I'm using hyperref for links in pdflatex and I have the following problem: when a bibliography citation spans across a page-break (which usually occurs with long author names), then an additional ...
16
votes
3answers
12k views

Add a new empty page

I have a .tex file which is like my main, \documentclass[spanish]{article} \usepackage{times} \usepackage{amsmath} \usepackage{graphicx} ...
16
votes
7answers
4k views

How can one keep a \section from being at the end of a page?

Given LaTeX likeso: \section{Heading} Here is some text after the heading. How could one prevent the Heading from showing up at the very bottom of the page? In other words, how could one prevent ...
16
votes
3answers
2k views

multicols not wrapping to 2nd column properly?

This question led to a new feature in a package: multicol I am having problem with multicol package, I created a sample demo to show it. When I put 3 minipages of certain height in the ...
16
votes
2answers
855 views

A special example environment

How can I define an environment named "example" so that: can be broken over pages has a horizontal line above "Example \chap.\no" (e.g. Example 4.10), and vertical line that is spread to the whole ...
16
votes
4answers
853 views

Is there a way to make “page” size match document length?

Many PDFs are never printed but are read in electronic form, where, for at least some readers and reading styles, it would be advantageous to have a single page through which the reader could ...
16
votes
1answer
20k views

Make a table span multiple pages

I have a table that takes up a full page, but I want it to start on a page that already has some text and then continue onto the next page (i.e. it's ok if the table gets broken up and spans two ...
16
votes
1answer
671 views

Conditional pagebreak?

Is there a way I can have LaTeX insert a pagebreak, if the last line of the page is a certain string? e.g. \noindent \textsl{Solution}: thanks very much!
16
votes
1answer
751 views

Displaying the range of sections on the page in the header

I would like to have on each page the range of sections covered by it displayed, opposite of the page number and accompanied by the name of the first new section (if there is a new one) starting on ...
16
votes
1answer
6k views

How to start new chapters on the right hand side

I use the report document class, and I would like that chapters always start on the right hand side, anyone an idea how this could be easily done?
15
votes
3answers
7k views

When do I need invoke \clearpage manually?

I am not sure whether invoking \clearpage is necessary or redundant at many places in my input .tex files. Here I will ask you, in what condition is invoking \clearpage necessary? I hope I get a ...
15
votes
3answers
189 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 ...
15
votes
2answers
18k views

Start new chapter on same page

I am using report document class. When I create a new chapter, it starts it on a new blank page in which only the chapter name appears. I want to be able to start new chapters on the same page as the ...
15
votes
2answers
8k views

Incorrect bookmarks and page number in table of contents

I have problem with table of contents and with bookmarks. In pdf file table of contents shows wrong page number of Introduction and Bibliography, Bookmarks: introduction and bibliography don't bring ...
15
votes
2answers
8k views

How to force output to a left (or right) page?

I am putting together a document that has several cover pages, both for front and back cover. The bulk of the document is two-sided. Cover pages, however, must be right-side (or left-side, for the ...
15
votes
3answers
2k views

How can I put a line above a section heading and prevent a page break between?

We have designed a class for some journal. We wanted our section titles to be separated by a horizontal line from the previous line. Here is the code: \def\section{% \vskip 1.2\@bls% \hrule ...
15
votes
4answers
11k views

How to show \listoffigures and \listoftables on one page and in the ToC?

Is it possible to put the list of figures and tables onto one page? I only have two tables in my thesis, so having it on an extra page looks quite bad. I've read about the tocloft package and tried ...
15
votes
2answers
13k views

How do I force a column-break in a two-column document?

Similar to How do I force a column-break in a multi-column page? I want to force a column-break in a two-column document. \columnbreak seems to be undefined without the multicol package.
15
votes
3answers
1k views

How to avoid a page break before a two-column TOC in memoir

Although `I wouldn't normally do this', I'm writing a short(ish) document for which I'd like to place a small TOC in two columns as the last thing on the title page. In single column mode it works ...
15
votes
2answers
2k views

Breaking pictures across multiple pages

I am a relative TeX newbie trying to write a new package to generate timelines that can span multiple pages (the existing timeline solutions are not suitable for me, and I would like to write ...
15
votes
1answer
352 views

Conditioning behaviour of a macro on whether on top of a new page

Is there a way to find out, whether the currently typeset material will go to top of a page? I am trying to write a macro which, when invoked, typesets a horizontal divider to separate the subsequent ...
14
votes
2answers
169 views

Can I get at stuff in “current page” or “recent contributions”?

When I compile the following, \documentclass[a4paper]{article} \usepackage{atbegshi} \AtBeginShipout{\showlists} \showboxdepth\maxdimen \showboxbreadth\maxdimen \usepackage{lipsum} ...
14
votes
1answer
590 views

pagebreak if only 1/4th of the page left?

I have a document with some tabulars one after the other. I want the tabulars begin on a new page if there is very little room left on the actual page, like 1/4th. Otherwise, there should not be a ...
13
votes
2answers
13k views

Start new page with each section

I would like to start each section on a new page. Is adding the following to my preamble this the preferred method, or a hack? \let\stdsection\section \renewcommand\section{\newpage\stdsection}
13
votes
3answers
2k views

Footnote runs onto second page

I have a footnote that begins on one page but the text runs over onto the footnote section of the page afterwards. Any way to fix this? I'm using footmisc and the oneside book class.
13
votes
2answers
473 views

Breaking a theorem between pages

I currently have this custom myexample theorem environment that is working absolutely great. \newtheoremstyle{myexamplestyle}{}{}{}{}{\bfseries}{.}{ }{} ...
13
votes
1answer
2k views

Chapter on the right side - How to turn it off?

As a documentclass I use book. Chapters always start on the right hand side. How can I turn it off? I don't want to have empty pages. I don't care on which side starts new chapter.
13
votes
4answers
974 views

How can I let a footnote continue on the next page?

I have a rather long footnote which breaks a listing in two parts, unnecessarily. Since the listing is more important then the footnote I'd rather lake to have the footnote split. Can I customize ...
13
votes
1answer
487 views

Column break only if within first column of multicol

Background Creating books automatically using LaTeX-escaped user-generated content. Problem The book layouts make use of the multi-column package, with the book content separated into sections. If ...
13
votes
1answer
279 views

Is there any opposite of newpage?

Is there any command which is the opposite of \newpage/\pagebreak/\clearpage, i.e. which goes back a page instead of going forward, similarly to the way you can use \vspace to move the current ...
13
votes
1answer
171 views

How can one ensure that footnotes page-wrap only from verso (back, even-numbered) to recto (front, odd-numbered) pages?

How can one ensure that footnotes page-wrap only from verso (back, even-numbered) to recto (front, odd-numbered) pages? With the following code, the line to which the second footnote is attached ...
12
votes
3answers
1k views

What happens when \textheight changes mid-document?

I know it's generally considered to be unwise, but I need to understand what happens when \textheight changes mid-document. From this example, it appears that the change takes effect on the next page, ...
12
votes
2answers
1k views

Breakable vboxes

In Plain TeX how can I make vboxes breakable, and can I handle/measure them separately? What I'm trying to do, is that I have a portion of text, that is treated separately (no indention, narrower, ...
12
votes
2answers
291 views

Splitting verbatim inside figure across pages

I want to include a long section of verbatim text, which is too long for a single page, inside a figure with a caption. Unfortunately, when the verbatim environment is put into a figure, it does not ...
12
votes
2answers
1k views

Is there a distinct command for \widowpenalty and \clubpenalty in footnotes?

I have found that setting \widowpenalty=10000\clubpenalty=10000 in the main document has not prevented widows and clubs from appearing occasionally in footnotes in a long and complex document I am ...
12
votes
2answers
183 views

Can I detect whether a footnote has been split?

Title sez it all: Can I detect, hopefully by inspecting \box\footins, whether a footnote has been split at page-breaking? I found the package fnbreak but it uses labels, which is much too delayed for ...
12
votes
2answers
996 views

varioref: \vref or \vpageref at page boundary (may loop)

Sometimes a have situations, where I'm not able to compile a document, because the varioref package result in a loop. Here is a MWE, which result not in an endless loop, but it demonstrate the issue ...
12
votes
1answer
1k views

What are 'pagebreak hints'?

The FAQ refers to "pagebreak hints". I can't find any mention of these by searching (for "[page-breaking] hints" and various other things). What are pagebreak hints and how does one use them?
12
votes
1answer
113 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
99 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
455 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
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
158 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
307 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 ...
11
votes
1answer
5k views

Split the Table of Contents in two pages

Let's say I'm writing a document with 6 chapters. I want to force the table of contents to be split between two pages. The first page would list the first 4 chapters, the second page would list the ...
11
votes
3answers
411 views

How to ensure document total page numbers is a multiple of four?

I'm producing a document (book class) that will ultimately be produced using offset lithography. It's therefore useful to ensure the total number of pages is a multiple of four by adding as many blank ...
11
votes
3answers
455 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
2answers
318 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
2answers
667 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 ...