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

1
vote
1answer
18 views

Use \nopagebreak (or similar) in supertabular

I'm trying to add multipages tabulars with counters in tabular tail. I first tried longtable but as it generates head and tail before the table content I can't use counters. So I used supertable who ...
2
votes
1answer
22 views

After \clearpage move the figure to the top

I need to make a "pagebreak" after a figure so I use \clearpage. But I want the figure to stay at the top of the page and not centering at the now empty page. My code right now looks like: \begin{...
2
votes
1answer
32 views

Only allow pagebreak between lefthand and righthand page in double sided document

I'm working on a songbook, using the class scrbook. Every song is a single file imported using \input. I'm using \enumerate for the verses and refrain. At the moment, I put the whole song in a ...
1
vote
1answer
552 views

Beamer Presentation References slide can't allowframebreaks and have \frametitle

I am writing a Beamer presentation and my references are too long for one frame. So I tried to use [allowframebreaks], but then I get the TeX capacity exceeded error if I have a \frametitle. I can ...
3
votes
1answer
22 views

\cleardoublepage does not seem to work

I have tried to use the \cleardoublepage command so that each chapter starts on a right hand page. However, the command does not seem to work. I have included a minimalistic excerpt of the set-up in ...
2
votes
0answers
69 views

Inserting a page after title page containing text and image without numbering

How can I insert a new page containing text and image (so I would be able to edit that page) after my title page and before ToC without counting that page in a multi-file format? thanks a bunch, ...
0
votes
1answer
19 views

Pagebreak after titlepage

I have now made a titlepage in my document using \begin{titlepage} stuff \end{titlepage} and that is fine, but now when I tried to insert a blank page after the titlepage and before \begin{...
3
votes
1answer
60 views

Avoid pagebreak between equation and label

I have a very long equation which barely fits into one line, but the label does not and is positioned one line below. The problem is that if the equation is at the end of a page, the label is moved to ...
2
votes
0answers
88 views

Page formatting when using images [duplicate]

New Lyx user, not very good in page formatting. whenever i insert an image, the whole page formatting get messed up. like in the below figure. In my code the above paragraph was after the pic. but in ...
4
votes
1answer
82 views

Tcolorbox: same boxed title style after break?

How can we set the same style of boxed title after a break in a tcolorbox ? \documentclass{article} \usepackage{lipsum}% \usepackage[all]{tcolorbox}% \begin{document} \def\TheTitle{Boxed title} \...
6
votes
1answer
68 views

Tcolorbox with a dashed frame: same boxed title style after break?

A solution that keeps the style of the boxed title after a break in a tcolorbox can be found at Tcolorbox: same boxed title style after break? The solution works well for frames made of a continuous ...
1
vote
1answer
22 views

Adding section header to appendix

I am currently using the appendix package and would like to add some form of header to the appendix section. For example currently my appendix starts with Appendix A as its title, I would like it to ...
2
votes
2answers
1k views

Breaking Page with Boiboites Package TikZ

I have a problem with package Boiboites I'm writting an exercise enunciate with this package who occupies more than one page, but i cannot break the page. Here's the code: \documentclass[11pt,...
0
votes
1answer
58 views

\nopagebreak in longtable results in undesired negative vertical space

System: XeTeX Version 3.14159265-2.6-0.99992 (TeX Live 2015/W32TeX). MWE (with a grid superimposed to help visualizing the issue): \documentclass[12pt]{book} \usepackage[top=72pt,left=72pt,bottom=...
2
votes
1answer
40 views

classification labels in headers and footers

I'm trying to write Latex documents that will automatically satisfy government requirements for labeling certain classes of information: - Each paragraph starts with a label indicating its importance....
7
votes
3answers
164 views

Geometry for single page, redux

I'm bummed that this question is closed. I want to know how to do what the OP there wanted. So I'm asking again. Here is a MWE: \documentclass{article} \usepackage{lipsum} \usepackage[margin=1.5in]{...
20
votes
1answer
9k views

single-column revtex4-1 adds a page break after the title section

Using revtex4-1 in single-column mode produces a page break after the abstract. This is not the behavior with revtex4. The minimal example is really simple: \documentclass{revtex4-1} \begin{...
3
votes
0answers
36 views

Badly aligned tikz objects and bad page-break in deluxetable

I am creating a table in latex, and I need to use a deluxetable environment. I use the package tikz to draw some circles in the table. The problem I am having is that I want to reposition those ...
3
votes
1answer
56 views

Unexpected change in pagination when 'no' change in contents, using `boxedmini2e`

I am using the package boxedminipage2e to produce several framed boxes with some text inside. Because these boxes have a fixed height and width, I am expecting that whether or not these boxes contain ...
19
votes
2answers
2k 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 ...
1
vote
1answer
37 views

Table Errors - Misplaced \noalign, Misplaced \omit, extra alignment tabs

I am very new to latex, and as I'm nearing the end of my first thesis, due to submission in two days I'm placing the results which have finally been extracted after several attempts over the past few ...
2
votes
1answer
86 views

“Page intentionally left blank” with twoside openright

I'm using twoside,openright in my document class, and I'm wondering how to have "Page intentionally left blank" text on the pages that openright makes blank. I've seen people redefining \...
27
votes
1answer
16k 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?
26
votes
3answers
33k 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} \usepackage[...
1
vote
0answers
14 views

How to keep my tikzpicture in the same page [duplicate]

I am using latex with 2 columns text format. I have a tikzpicture that moves to the next page once I create it. I do not know how to keep it within the same page and prevent it from moving to the next ...
4
votes
2answers
63 views

How to label a list / make a line before list stick with the list?

I am getting frustrated by not being able to "label" lists in a way where the "label" would stick with the list and a page break (or column break) would not be introduced before it. Here is a MWE: \...
0
votes
2answers
40 views

How to create a breakable whitebox with fixed height

I want to create a whitebox with empty space (in order for people to write in it when the document in printed) but i can't find any solution to do that. I tried tcolorbox but I can't fix the height of ...
5
votes
2answers
652 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 ...
2
votes
0answers
42 views

Encourage (XeLa)TeX to break pages at the end of sentences within a paragraph

As the title suggests, I am using XeLaTeX to layout very long paragraphs (up to 50 pages in length for a single paragraph), and would like to encourage it to break pages at the end of sentences within ...
1
vote
0answers
34 views

babel ngerman interfering with longtable pagebreaks

I have a longtable environment and want pagebreaks only after certain rows which can be achieved putting * at the end of the rows that must not be broken (see this post). This does work as long as ...
1
vote
0answers
23 views

Automatically split enumeration over multiple pages [closed]

I would need to automatically split a very long enumeration over multiple pages. I've tried several solutions but no one works for me. Please, could you help me? Thank you
30
votes
3answers
5k views

Code spanning over two pages with minted, inside listing with caption

I am trying using minted to display some code in my document, but the code is long and spans over two pages, this works fine, however when I place my code inside \begin{listing} \inputminted{java}{...
4
votes
1answer
82 views

How to Make Claims and Proofs start on the same page if possible?

I have a document where sometimes proofs start on a separate page than where their associated claims were stated. Is it possible to force is so that (unless the statement of the claim is more than ...
3
votes
2answers
26 views

Partial center in environment

I'm writing a lab manual with step by step directions. Some directions include screenshots. To keep the screenshot with the line of direction, I use samepage. I am exploring an environment I can use ...
0
votes
0answers
49 views

Persistent Gap! [duplicate]

I'm working on my paper using MiKTex v2.9 and i came across this odd problem with {proof} environment. Syntax i use for proof is working properly in other areas of text but in one place i encountered ...
1
vote
0answers
40 views

Package hyperref causes a blank page to be added before a section starting with a large image

When I try to have a section start with a large image, an extra page is added before the start of the section. I tracked down the problem to the hyperref package; when it is not loaded the extra page ...
0
votes
0answers
21 views

create custom badness for pagebreaking over a custom area

This is a - as I think - tricky question. I want to create and/or modify a badness for pagebreaking/newpage. It should work like this (pseudo code): \begin{areaOfBadnessValid}{badnessvalue} \...
33
votes
2answers
38k 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 ...
1
vote
1answer
20 views

Page break: enumeration with headline

In my document I created a new environment called examples. Basically it's an enumeration with the headline "Examples". The idea is to get something like: Examples Example 1 Example 2 Example 3 ...
22
votes
3answers
63k views

Insert a blank page after current page

I want to insert a blank page in a document so that the text would be added to the content of the current page till it reaches end of the page, the next page would be empty, and the text continue from ...
7
votes
0answers
111 views

Typesetting literate programs: how to enable page breaking mid-paragraph, but not mid-code?

I'm writing a book that is a literate program. A literate program is divided into "chunks" or "sections," each of which has a documentation part and a code part. (It is also permissible, and in my ...
1
vote
0answers
21 views

Penalising page breaks within environment

I have an environment that I use to format examples in a document I'm writing. The contents of that environment typically consists of a few short paragraphs, often each only a line or two long. I ...
3
votes
3answers
85 views

speech cards / palm cards

I wish to print a document in the form of speech/palm cards. That means, the text of the speech needs to be divided up by LaTeX automatically so that it fits into boxes of fixed dimensions (e.g....
0
votes
0answers
32 views

Page break incorrect with sideways table

I'm having difficulty with a sidewaystable: after the section heading it will leave a whole page blank after having a separate page with the table. How can I get it on the same page? \documentclass[...
2
votes
1answer
36 views

How do I prevent figure pages from interrupting passages?

I've written a text with some page-size figures in it. The problem is: The figure pages are interrupting sentences and paragraphs. The figures are supposed to be looked at for some time, so I'd like ...
0
votes
0answers
24 views

Weird floating properties

I have a document that is arranged this way: However, I don't like this, because the order of my figures are messed up. What I would like to see is something like this: Can you tell me how to ...
1
vote
0answers
48 views

Editing .cls file [closed]

I am using a .cls file for my thesis but the document format is not perfect. I need to guarantee that the pages which are generated with the following commands are in the odd pages: \maketitle, \...
2
votes
1answer
24 views

Maximize size of figure such as to maintain page breaks

In this MWE, I manually fine-tuned the width of the graphics (0.711082\linewidth) in order to maximize its size while fitting the whole document on one page. \documentclass{article} \usepackage{mwe} \...
2
votes
1answer
49 views

Problem Splitting Very Long Algorithm on two or pages

In the example below, I have a very long algorithm, probably spanning 3 pages. I tried manually splitting the code up, but each time, a new algorithm number is generated. How do you maintain the ...
0
votes
0answers
42 views

\newpage or \pagebreak DONT work before \section

I am trying to make a \section{Chapter 1} start on a new page using \newpage immediately before it, and it doesn't work. Can anyone tell me why? Thanks