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

2
votes
2answers
56 views

How to prevent a page break between this colored box and its subsequent text?

In the following code, how to prevent a page break between the colored box and its subsequent text? \documentclass[a4paper]{book} \usepackage{lipsum} \usepackage[showframe]{geometry} ...
1
vote
1answer
53 views

Error in some rare circumstances: babel with french option after listings, active character in moving argument, code in listing across pages

Edit: I have edited my question which initially wrongly focused on labels. This question is related to Code in \lstlisting breaks document (compile error). Let us consider the following MWE: ...
5
votes
2answers
280 views

Extra blank page mysteriously being made to appear (XeTeX)

At https://gist.github.com/8210807 I've gisted the TeXShop Console messages for three runs of the same .tex file along with that file. Now when I typeset that .tex, a strange blank page is created ...
4
votes
2answers
373 views

Automatic message “continue on next page” in all the pages (except the last)

I have critical document (aka a CV) with just two or three pages. Even when opened on screen it can look as if it has one page, because there is no clue (in the page) that the document continues. Is ...
0
votes
0answers
34 views

how to add a section continued phrase ,Not section heading

I have searched the website, but the only solution i can found is to add a section continued heading after a page break. That's not what I want. I wish it could be written in the paragraph instead of ...
90
votes
3answers
24k views

How do I ensure that figures appear in the section they're associated with?

Often floats may land quite a bit later in the document than the point they are created, sometimes after a section break. Is there a way to force a new section to start on a new page, after any ...
1
vote
0answers
92 views

Latex longtabu problem at page break

I am using longtabu for a table in a latex document. It gives a wired result at page break. Notice that the 'continue' part of the table is stuck in the page before the break. Page 14 shown in the ...
2
votes
1answer
84 views

No page breaks before bibliography

I am writing a thesis, where I am using book class. I use \include to include different chapters in my thesis. Within each chapter, I have a \bibliography{referenceschapter1} and so on..The ...
6
votes
1answer
160 views

How to allow page breaks within footnotes, when using dblfnote?

Is it possible to let footnotes set in two columns with dblfnote break across pages? In the following MWE note 3 is so long that it goes to a second page together with the third paragraph, but I want ...
4
votes
3answers
134 views

How to export a document as an empty skeleton with no content?

I have a long and complex document that I want to render as a minimal outline only, without the body of the text. What is the best way to do this? What I have tried so far is to save a version with ...
3
votes
1answer
95 views

Last word of paragraph appears on new page after figure

I use a figure environment without placement specifiers, and it ends up being put on top of a page, with the very last word of the preceding paragraph put just below it. This means that the page with ...
4
votes
1answer
59 views

Keep theorem content on the same page

Currently my preamble looks like \documentclass{article} \usepackage{amsthm} \usepackage{amsmath} \usepackage{amssymb} \usepackage{enumitem} \theoremstyle{definition} \newtheorem*{theo}{Theorem} ...
0
votes
0answers
37 views

Pagebreak, newpage, vspace all not working after a Table

I have a section of my document composed of two tables. The following section is a section composed of figures. Between the two sections I want a page break. I have tried \pagebreak, \newpage, \vspace ...
1
vote
1answer
44 views

Start a new page and avoid blank page [duplicate]

I want my \section is always in a new page, so I need a \newpage before \section. What about the current page is new page already? How do I avoid it?
1
vote
0answers
25 views

How to achieve the functions of turned-page and continued-page

I'm making a template for a journal. The editors would like to achieve the following functions: When the page can not hold up the last part (maybe some references or sections) of an manuscript, the ...
2
votes
1answer
69 views

Breaking CCs in letter class across pages

It seems in the letter class that CCs don't get split across page breaks. Is there some way to make this happen? I'm including addresses in the CC, so it can become quite long. and if it doesn't ...
1
vote
1answer
153 views

A figure-like environment that can contain many subfigures and break over pages: How to align double-column starts after the thing properly?

I have a problem similar to post 11059, i.e., I need a figure-like environment that can contain an arbitrary number of sub-figures. These may take so much space that the figure may span over multiple ...
6
votes
1answer
10k views

Adding a new page

I have the following title page in LaTeX: \documentclass{article} \title{Appendix A: User Manual} \author{ John Smith\\University XyZ\\Albert Square\\Walford\\NC1 8AE } \begin{document} \maketitle ...
7
votes
1answer
400 views

bigfoot, paragraph-style footnotes, and premature page breaks

When using the bigfoot package and its paragraph-style footnotes, sometimes page breaks are inserted in the main text although there's room for another line. I've nailed down the problem in the ...
8
votes
1answer
117 views

Get the automatically produced line and page breaks from LaTeX

My aim is to produce an html-file with the same text as the pdf produced by LaTeX- The html shall represent the pagination and line-break structure of the pdf: When there is a linebreak in the pdf I ...
0
votes
1answer
30 views

Unintended caption coloring

I do have a command, which prints out part of the text in different color. \newcommand{\indexit}[1]{\index{#1}{\sffamily\color{NavyBlue}#1}} It works fine, but if pagination breaks #1, and a ...
2
votes
1answer
47 views

Remove top indent of itemize without using minipage in tabular(x)

I am using minipage in my tabularx because it was the only way I found to remove the top space of the itemize environment. However, since minipage cannot break at when the page does, I have a very ...
4
votes
3answers
73 views

Tabularx adding unnecessary pages

My document is creating a {blank rest of page + empty page} before a tabularx table. Checked this thread with no dice - I couldn't solve with typical figure/table placement controls. This is my ...
1
vote
2answers
146 views

How to use samepage environment in the middle of a table?

I use the following code to generate a document: \documentclass[10pt]{article} \usepackage{ltablex} \usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} \usepackage{bibentry} ...
1
vote
0answers
61 views

How to create multiple pages in LaTeX [duplicate]

I've started learning LaTeX recently from Wiki Books and I'm using Share Latex to compile the LaTeX code. I'm having a simple document with 3 sections Contents Abstract Introduction ...
1
vote
1answer
63 views

How can I achieve multi-page theorems?

I'm using tcolorbox theorems as following: \usepackage{tcolorbox} \tcbuselibrary{theorems} \newtcbtheorem[number within=section]{example}{Example}% ...
1
vote
1answer
38 views

Tables does not fit [duplicate]

I have a pretty long table which is of the size of one page. The thing is that I want that this table is broken in pieces if my whole text is about to jump to the next page so that one part of the ...
2
votes
0answers
85 views

Defining a screenplay dialog environment for breaking across pages

Edit: consider this a followup to the answer here http://tex.stackexchange.com/a/63847/64528 I'm trying to create a LaTeX/XeTeX template for screenwriting, specifically to output from an Emacs major ...
2
votes
1answer
71 views

Keeping a chapter on a single page

I'm writing a class for our firm's reports. I'd like to provide an environment overview that puts a chapter heading "Overview" and then keeps the text in the environment on the one page (as best as it ...
1
vote
0answers
21 views

Algorithm pseudo code not published beyond one page [duplicate]

My algorithm pseudo code is not being published beyond one page though there is no syntax error. The PDF produced via LaTeX is of only one page but my entire algorithm requires more than one page. So ...
0
votes
1answer
43 views

Pagebreaking in longtable with math column

I'm trying to write some step-by-step math proof of a formula in my electronics notes. The idea is to have two columns (side by side), the 1st has some text explaining the math, the 2nd one has the ...
3
votes
1answer
130 views

How to avoid frame break in beamer?

I am using the command \begin{frame}[allowframebreaks] to split a large slide into multiple slides. However, the last slide only contains two lines and I would like to force them into the previous ...
1
vote
1answer
107 views

How to draw arrows between colourboxes

I have written a Z specification and drawn boxes around the schemas. I'm trying to work out how to draw an arrow from schema to schema. \documentclass{article} \usepackage{zdra} \begin{document} ...
6
votes
2answers
164 views

Long footnote, newpage and output

In order to solve an issue in eledpar (letting long/many footnotes 'flow' over two pages (eledpar)), I need some help with the relation between insert, ouput and \newpage. Let the (real) MWE ...
0
votes
1answer
33 views

New page for chapters but not for sections

I would like my report to show the chapter headings in the next page but the sections on the same page. It is a double page report. \documentclass[a4paper,12pt,twoside]{report} \chapter{Introduction} ...
1
vote
1answer
35 views

How to write a onecolumn page while using the IEEEtran class?

I am writing a document in which I have to add a code in the appendix section. I am using the IEEEtran class but it does not help me while adding the code using the minted package. Is there a way I ...
3
votes
1answer
49 views

listing in minipage sucks content of previous page to the bottom

I'm working on a document that contains many listings (namely code samples) but not a lot of text. Most of these listings are only a couple of lines long, and a few span multiple pages. At the end of ...
1
vote
1answer
150 views

How to define potential page breaks in a long table?

I have a huge table that covers multiple pages: \documentclass[10pt]{article} \usepackage{ltablex} \usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} \usepackage{bibentry} ...
0
votes
1answer
38 views

Why are page breaks inserted after sections?

My problem is that page breaks and horizontal lines are inserted after sections, some chapters and the TOC. I have included all the code since I have no clue about which part of it is causing the ...
3
votes
1answer
41 views

How to allow pagebreak only at section headers?

My document consists of many short (sub)sections. A section's content can consist of multiple paragraphs. I want to allow page breaks only at (sub)section titles. I tried inserting a \pagebreak[3] ...
2
votes
1answer
65 views

Separate bibliographies on same page

I would like to scan the bib file for entry type, put them into 3 categories, and show those separate with title. I got this working with the code below. I would like to change two things: Delete ...
23
votes
3answers
24k views

Splitting subfigures across multiple pages — but programmatically!

I am using the subfig package to make many subfloats in a figure environment. It works well, as long as you realize that it tracks the whitespaces within the float environment. It also has an option ...
0
votes
0answers
52 views

LaTeX Chapter start on same page, spacing error

I'm trying to use this code for no use of \clearpage for chapters in a report. \makeatletter \patchcmd{\chapter}{\if@openright\cleardoublepage\else\clearpage\fi}{\par}{}{} \makeatother The command ...
0
votes
4answers
4k views

Landscape mode causes a blankpage

I'm using this code for showing an image in landscape mode: \begin{landscape} \begin{figure}[H] \centering \includegraphics[width=\hsize]{./images/SelectDVA.png} \caption{DVA part of the Use Case ...
7
votes
1answer
226 views

Latex can not change page automatically

If I only input the section title but no body text, Latex can not start new page automatically. The following is my minimal work. \documentclass{book} \begin{document} \part{Title of Part I} ...
2
votes
2answers
69 views

How to expand \align mode into two pages by following the end line of the previous page

I have a big matrix and each element of it has many stuff. The problem I'm facing is that the align mode is trying to make each equation to be fitted into one page. For example, in the following code ...
0
votes
1answer
72 views

Is there a way to always avoid a page break when a section is followed by a subsection?

Question Can I force LaTeX to always keep a section with a subsection on the same page if there is nothing in between? Situation Let's suppose I have a section called \section{All About Monkeys} ...
0
votes
0answers
63 views

long footnote not split over two pages

I have a long footnote which LaTeX refuses to split over two pages, but rather leaves the previous page half empty (so that the text with the footnote appears on a new page with enough space for the ...
7
votes
1answer
157 views

How do you prevent a page break between a list and the following text?

How do you prevent a page break between a list and the following text? \documentclass{report} \usepackage{lipsum} \begin{document} \begin{itemize} \item \lipsum[1-3] \item \lipsum[5] ...
1
vote
1answer
38 views

Can not change page

I am using Texmaker in windows 8 and I can not go beyond the second page in my document. This is a very similar problem to other questions answered here, yet I am asking because none of the solutions ...