{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
1k 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 ...
14
votes
3answers
3k 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.
10
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.
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
4answers
9k 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' ...
7
votes
1answer
3k views

\includegraphics forces new page

When I include a PDF diagram, it forces a new page, so I have one blank page and then this diagram, can somebody help me please? I need to remove that blank page. My document looks like this ...
6
votes
1answer
449 views

How do \widowpenalty and \clubpenalty interact for a 2-line paragraph?

Sometimes \\* does not suffice to prevent a linebreak. Adding {\widowpenalty10000 \par} or {\clubpenalty10000 \par} helps if the separated line is paragraph-final and stranded at the top of a page ...
4
votes
2answers
3k views

How to prevent a \lstinputlisting being split across pages?

This question shows how to prevent a long listing from being split across several pages when the code is written directly into the tex file. I want to achieve the same effect when including code in ...
2
votes
1answer
429 views

Background color of breakable box with thin blank lines

The purpose of the mybox environment in the following document is to typeset a box in a blue background. The box may be split by page breaks. The algorithm used is similar to the one found in the ...
21
votes
2answers
414 views

Show footnotes on odd pages only

I'm writing my thesis using the scrbook-class. Is it possible to display footnotes only on the odd (right) pages? This should mean that \footnote{something} should be collected on even pages and ...
17
votes
2answers
16k 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.
16
votes
3answers
3k 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 ...
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. ...
11
votes
2answers
292 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.
9
votes
1answer
231 views

How can I create a chapter with graphics only divided into different sections?

I'm trying to create a chapter with pictures only, but keep running into troubles. The chapter is an appendix, where only some graphics should be displayed, placed in different sections. I don't need ...
8
votes
1answer
4k views

Using `\allowdisplaybreaks` locally for a single chapter / single equation

I do have a longer paper. In one chapter I got several multiline equations, which I wrote using the align environment from amsmath-package. Actually those are quite long computations which should ...
7
votes
1answer
515 views

marginpar and orphans

How can I avoid orphan lines if I use \marginpar? For example, here is a two-page document that does not have any orphans: \documentclass[letterpaper]{article} \usepackage{lipsum} \clubpenalty=10000 ...
6
votes
1answer
574 views

Splitting an algorithm across two columns

Consider the following short example, where a two column page is selected, and the algorithm is split across the two columns using a manual \pagebreak within the algorithm's code: ...
6
votes
2answers
125 views

What is the command to just slightly increase the text height of a particular page?

There is a command for just slightly increasing the text height of a particular page, something like stretchthispage or so. I know where it is in the LaTeX guide that I have at home, but I'm at work ...
5
votes
2answers
963 views

thmtools: How to prevent pagebreak between theorem and proof?

I am using thmtools to format a collection of theorems and their proofs. Is there any way to prevent a pagebreak from happening between the last line of a theorem statement and the first line of the ...
5
votes
2answers
1k views

How to disable pagebreak on \hline in longtable?

How to disable pagebreak on \hline in longtable? This is an example illustrating my problem: \documentclass[12pt,a4paper,oneside]{letter} \usepackage{longtable} \begin{document} ...
4
votes
2answers
124 views

bclogo page breaks

I am using the Bclogo package http://www.ctan.org/pkg/bclogo. I have created environments for lemmas and proofs with it. The proof was too big to fit on the bottom of the page, so it just inserted a ...
4
votes
1answer
267 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 ...
4
votes
2answers
4k views

\lstinputlisting will not continue to next page

So I have this LaTeX snippet: \section{Appendix} \listoffigures ... \begin{center} \begin{figure} \caption{MacroCell with 8 AND Gate Arrays} ...
3
votes
1answer
209 views

Split mdframed environment occasionally skips page

I'm currently using the mdframed package for a custom environment for my master's thesis. In rare cases, the environment shows some rather strange behaviour — the correctly split environment (i.e. the ...
2
votes
2answers
629 views

Redefine \tableofcontents to start a new page after the ToC

How can I properly redefine \tableofcontentsto include a \newpage or \clearpageafter the table of contents?
2
votes
1answer
2k views

Heading at the bottom of the page

I'm typesetting a large document (phdthesis) with pdflatex and I'm using KOMAscriptand the scrreprtdocument class. I was very surprised as I saw a heading (\subsubsection) standing at the bottom of a ...
1
vote
1answer
55 views

Make Bibliography part and Conclusions part appear in the same page

I have a part of the document where the Conclusions and then the Bibliography are exposed, just as I show here: Conclusions is introduced with this code: \chapter*{Conclusions} ...
1
vote
0answers
94 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 ...
14
votes
1answer
296 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 ...
11
votes
2answers
800 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 ...
10
votes
2answers
284 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 ...
9
votes
1answer
684 views

Excursus environment using mdframed: Issue with page breaks

This question is a follow-up question to: Access mdframed node coordinates with TikZ? @MarcoDaniel: Awesome package (mdframed)! Nice clean code, too. @Tobi: I really like your new excursus ...
7
votes
1answer
187 views

page break in the middle of a \cite

With pdflatex all my citation are pdf hyperlinks to the respective entry in the bibliography. This causes a problem when occasionally Latex decides to do a page break in the middle of a citation so ...
7
votes
4answers
443 views

How to keep the last page number even?

I want to make sure the last page always be even, so I defined command as the following: \documentclass{article} \usepackage{lipsum} \usepackage[paperwidth=302pt,paperheight=400pt, offset=0pt, ...
7
votes
2answers
745 views

Prevent xtab breaking table too soon

Xtab breaks a long table spanning multiple pages too soon -- see my screenshot: The output seems rather unsightly to me. Can I make it take more of the available space? Alternatively, is there a ...
6
votes
1answer
2k views

two chapters on same page in memoir

I am writing a preface, which consists of roughly ten sentences describing my work. I have to write this in both English and Swedish. Same content, merely different languages. I have chosen to have ...
6
votes
1answer
994 views

suppress pagebreaks in titletoc's titlecontents* blocks

How do I suppress pagebreaks in the toc "paragraphs" produced by titlesec's \titlecontents* command without stopping linebreaks between subsections? The follwoing suppresses linebreaks within ...
6
votes
1answer
632 views

Formatting a book with scene markers

I'm laying out my wife's book using LaTeX; I'm using KOMA-Script scrbook as my document class, but I don't think that my question here is specific to KOMA. Between certain scenes, we have scene ...
6
votes
1answer
3k views

Forcing new chapter not to start on an odd page [duplicate]

Possible Duplicate: Chapter on the right side - How to turn it off? I am using a document class amsbook which I like very much, except for one thing: each new chapter starts on an ...
5
votes
1answer
344 views

What is the proper way to prevent text from splitting across columns and pages?

I have some description environments which I do not wish to have split across columns or pages. Is there some command which can be placed around an item to ensure that it will never be split across ...
5
votes
1answer
416 views

How to retain the double-column formatting of the previous page after \clearpage?

I'd like to have some additional material after a paper, starting on a new page. For this purpose I'm using \clearpage or \cleardoublepage (\newpage doesn't work the way I want). Unfortunately, while ...
5
votes
2answers
1k views

Environment with first paragraph in bold and no pagebreaks

I would like to setup a new environment which typesets the first paragraph in boldface, the following paragraphs in normal text, and with (possibly) no pagebreaks between the first paragraph and the ...
4
votes
1answer
146 views

How to place text on the second page of the frontmatter in ConTeXt?

I need to put the copyright text on the second page of my ConTeXt document, on the verso page. I am using \startfrontmatter and \startstandardmakeup to create the title and authorship pages in the ...
4
votes
1answer
284 views

Colored Curly Brackets spanning across multiple pages

This is just a thought that came for the notes I am working on, I have a need to create curly brackets which span across multiple pages. I don't know if this is possible to do or not. my curly ...
4
votes
1answer
372 views

Faulty page-break in longtable: starts with endfoot

while intensively using the longtable environment, I ran into a situation where a the table is broken to the next page immediately after its endfoot line, without any real table row on the starting ...
4
votes
1answer
1k views

Shaded with “continue on next page”

I am using the shaded environment in the framed package to wrap some text lines that may go across two different pages. If there is a crossing of pages, I'd like to automatically add a line "(continue ...
3
votes
2answers
149 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 ...
3
votes
2answers
9k views

Enlarge a single page

How may I enlarge a single page in LaTeX? I need this for the summary of a thesis that has to fit on a single page without respect to an eyecandy design. In order to move the lower border, I was ...
2
votes
1answer
144 views

Per-chapter blank page disappears after Chapter 2

I use LaTeX with the document class book. I´d like a blank page between chapters but it works only after Chapter 1. I've tried to force a blank page with \newpage, \clearpage and \cleardoublepage and ...