{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
1answer
20 views

Problem with pagebreak in titlepage

I am trying to make a first page template. At this template I want a box at the bottom of the page with some text, but I can not get TeX to put it at the bottom, but rather it is moved to the next ...
0
votes
0answers
12 views

Linebreak with algorithm environment in two column mode [duplicate]

I want to integrate an algorithm in a two column article, but I'm not happy with the output (screenshot below). I'm wondering why the algorithm environment don't break the code and go on the next ...
3
votes
2answers
129 views

How to tie TeX macros to text or another macro?

Is it possible to tie a TeX macro to some text (e.g. the next paragraph) or another macro? For your information, here is a more specific description of the problem: I am using a set-up macro ...
0
votes
0answers
15 views

Preventing page breaks in probsoln problems

I am using the probsoln package to typeset some questions in my class notes. However, I'd like to make sure that for each problem there is no page break half way through the question. I have tried ...
1
vote
0answers
64 views

Squeezing a paper into a page limit - with IEEEtran

I'm working on this draft for a submission to some conference which - woe is me - uses IEEEtran. I could rant about that class for days, but never mind right now... the point is, I need to squeeze ...
4
votes
2answers
53 views

Start new page with each part

How can I automatically start a new page with each part? I found this answer, which work nicely for section breaks, but was unable to customize the command to works with parts. I looked the titlesec ...
2
votes
1answer
20 views

Longtable goes wrong after page break

I am really new to LaTeX and I am using the following codes to make a long table cross pages: \documentclass[12pt,letterpaper]{report} \usepackage{multirow} \usepackage{longtable} ...
2
votes
2answers
38 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
41 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: ...
4
votes
2answers
137 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
24 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 ...
1
vote
0answers
38 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 ...
1
vote
2answers
37 views

Bibliography on separate page in Revtex 4-1

How do I force the bibliography in Revtex 4-1 to appear on a new page? The default is that it appears immediately after the main body text. "New Page", "Page Break", "vspace{}" and combinations of ...
3
votes
1answer
25 views

Allowing pagebreaks for shaded theorems using thmtools

I just searched for a way of allowing pagebreaks when using shaded theorem-environments from thmtools. I found my question was, somewhat, answered here (the second solution) with a comment from the ...
2
votes
1answer
36 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 ...
4
votes
2answers
105 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
40 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
46 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
18 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
27 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
21 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
51 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 ...
6
votes
1answer
132 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 ...
0
votes
1answer
27 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
35 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
70 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
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
28 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
35 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 ...
8
votes
1answer
75 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 ...
2
votes
1answer
64 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
39 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 ...
1
vote
1answer
85 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} ...
0
votes
1answer
30 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
24 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
33 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
2answers
135 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
1answer
102 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
35 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
32 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] ...
6
votes
2answers
150 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 ...
1
vote
1answer
44 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 ...
0
votes
0answers
42 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 ...
6
votes
1answer
192 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
50 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
61 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
47 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
133 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
33 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 ...