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

0
votes
1answer
17 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? ...
2
votes
1answer
28 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
21 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 ...
3
votes
3answers
60 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 ...
1
vote
0answers
42 views

Editing .cls file

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, ...
5
votes
0answers
56 views
+100

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 ...
2
votes
1answer
20 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
46 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
28 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
18
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} ...
1
vote
0answers
24 views

Remove Blank Pages

MWE: \documentclass[a4paper,12pt,leqno,footinclude=true]{memoir} \setcounter{tocdepth}{3} \setcounter{secnumdepth}{3} \usepackage{tocloft}% \newcommand{\cftchapaftersnum}{.} \begin{document} % ...
2
votes
1answer
535 views

Auto-break Cell in longtable Environment

I try to build a document with a question-and-answer form using the longtable environment with two tabulars. The first one is for questions, the second one for answers. If my cell contains more data ...
2
votes
1answer
110 views

How can I render a LaTeX document without pages?

Almost always, I simply render electronic documents, so I don't need pages. Also, pages make it difficult to arrange images in a document. I want to draw TikZ graphs for my blog articles, and I don't ...
4
votes
1answer
76 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 ...
10
votes
4answers
311 views

Creating arbitrary number of blank pages

Is there a single command with which one can insert an arbitrary number of blank pages inside some latex text?
11
votes
1answer
691 views

mdframed does not split correctly between pages

I use mdframed to make boxes and split them across pages. However, sometimes mdframed splits! very strangely across the pages. In this example he prefers splitting, while there is enough space to put ...
1
vote
1answer
452 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 ...
1
vote
1answer
18 views

Prevent page and column breaks mid bibliography entries in Biblatex/biber

Using biblatex and biber is there any way to prevent a page/column break from occurring mid item? The image below shows bibliography items being split both at the end of a column and at the end of the ...
2
votes
1answer
408 views

Insert text before end of page, and at the beginning of the next page

I'm putting a template together and I have created a custom command which I'm going to use to set specific margins on the text passed to its argument and a few more formatting things, like this: ...
3
votes
1answer
30 views

Nested breakable frames

I am trying to solve problem with nested frame environments which must be both breakable. It is not important to use tcolorbox if there is some better alternative. Is it possible to display it ...
3
votes
1answer
1k views

Adding floating space between main text and footnotes

I have to typeset a text with several widows and lots of footnotes. The editor told me to leave an additional blank line between the main text and the footnotes and to use this space to print the ...
24
votes
3answers
3k views

How can I force ToC not to end with a chapter?

So I am writing a programming book and I decided to include \sections in the ToC as well (see picture below). The problem I am having is that I have ugliness where \chapter is the last item on the ...
0
votes
0answers
25 views

My pages are not the same size on the PDF for my Senior Econ paper

I don't know if a basic working example would help, as I would not be surprised if packages are conflicting or I have a typo or syntax mistake in the 10 page document. And I've no doubt made it much ...
2
votes
1answer
51 views

Tikz remember picture on wrong page

I want to comment some equations with tikz and stumbled upon a tikzmark command that uses the remember picture command. It works fine, I can draw below and above the equation, but whenever the ...
0
votes
1answer
51 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} ...
2
votes
1answer
35 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 ...
13
votes
1answer
112 views

\@clubpenalty leaks out

In the following example the value of \clubpenalty has been reset to the one of \@clubpenalty on the second page: \documentclass[]{book} \usepackage{lipsum} \begin{document} \subsection{abc} blblb ...
2
votes
0answers
125 views

Linguex glosses and translation separating across page break

I use linguex and I don't want my examples to be separated from their interlinear gloss and translation by a page break. Currently I have to check the PDF output and use the package needspace, but ...
2
votes
1answer
51 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 ...
2
votes
2answers
83 views

Place text on top of bibliography page

I would like to include a quote at the top of the first page of my bibliography section. \newenvironment{wittyquote} {\color{darkgray} \begin{addmargin}[6cm]{0cm} \begin{footnotesize}} { ...
0
votes
0answers
29 views

pagebreaking and `\vfil` in ConTeXt

I am trying to distribute elements vertically across a page: \setupbodyfont [TeX Gyre Pagella, 30pt] % Or something else \showframe \starttext A \vfil B \vfil C \vfil D \page E \vfil F \page G ...
3
votes
2answers
39 views

Auto Generate Custom Text Message for Page Break

I created a new environment that creates a box around text. I used tcolorbox. Additionally, since I wanted to break from page to page, I added 'breakable'. However, what I want it to do is to break ...
3
votes
1answer
35 views

\clearpage produces an extra blank page

I'm trying to insert some sidewaysfigure environments between segments of text. The output should be like Title Page Text (ends about halfway down the page) Sideways Figure Sideways Figure Text ...
2
votes
1answer
29 views

tcolorbox disable repeated text in overlayed node

In the following MWE (built from http://tex.stackexchange.com/a/170767/69378) I have demonstrated that title text in an overlayed tcolorbox node gets repeated across page breaks. I have checked the ...
1
vote
1answer
102 views

How to prevent page break between listing caption and code?

How to prevent page break between listing caption and code (see the picture)? Minimal example illustrating issue: \documentclass[a4paper, 12pt, oneside]{report} \usepackage[a4paper, left=3.5cm, ...
2
votes
2answers
33 views

Preventing page break between a Verbatim environment and an equation

I have a document in which displayed equations often appear immediately after an environment created using the fancyvrb package. How can I prevent page breaks from appearing in between? ...
2
votes
1answer
54 views

Suggested objects permitting table-like-column formatting and page breaks amidst long lists of breakable content

My preferred way of structuring and formatting large lists of content is with longtable. Some of my cells contain a lot of text, both in paragraph and itemize or enumerate environments. For reasons ...
1
vote
0answers
60 views

Blank page between references and appendix

Could anyone help please. A blank page is being created between the references and appendix. I have tried all the usual fixes like \clearpage and \cleardoublepage, but none are working. All the ...
23
votes
3answers
31k 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} ...
2
votes
2answers
72 views

How do I split a forest tree into two trees with proper vertical alignment?

\documentclass[oneside,12pt]{article} \usepackage{geometry} \usepackage{microtype} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{enumitem} ...
1
vote
2answers
52 views

Line separator to not be used before or after page breaks

I have created a horizontal line in order to separate elements in my document. My question is how can I set it to not be used when it happens to be in the top of the page (i.e. right after a page ...
2
votes
1answer
22 views

Non-pagebreaking return in LyX

I know that in TeX, I can issue \\* to make a new line without a page break. How I do that in LyX?
1
vote
1answer
42 views

When 2 \newpages in raw are joined, and when not?

I tried to define my chapter so it will have an empty page after it, using titlesec. Using 2 newpages in a raw didn't help. I concluded that they are joined together, as if I wrote only 1. Solved this ...
1
vote
1answer
43 views

What causes the pagebreak for chapters and how do I disable it? [duplicate]

I'm using the documentclass ttthesis based on book from here. I really like it, but I don't want to have a new page for each chapter. Sadly every approach I tried failed, and now I noticed it's ...
2
votes
1answer
31 views

How to allow pagebreaks in long “cells” in a table?

was asked to renew our medical-result-printing-system. pdflatex seems to be best tool to do this. A kind of table would be fine to put the data in a structured way. Unfortunately some data Fields can ...
4
votes
2answers
76 views

Remove empty pages before glossary

I would like to have "subsections" in my glossary, or simply two glossaries one after the other. However, I always get an empty page (or, because I am using twoside & openright, even two!) between ...
2
votes
1answer
36 views

Is there a simple way to cram a large forest tree into a page or split it into two pages?

If I try to cram a large forest tree into a page by enlarging a page by 3 lines, I get the result below. The tree overlaps with the footer. Below is the code. Is there a simple way to cram it in a ...
0
votes
1answer
34 views

How to force two “blocks” to be on the same page, without minipage?

I have the following situation (what follows is pseudo-code): \mySection*{Title} \begin{mdframed-theorem} Bla bla [...] that is long. \end{mdframed-theorem} Then something else, the starting of ...
2
votes
3answers
683 views

How to make minipage spanning multiple pages

I'm using this resume template: https://github.com/deedydas/Deedy-Resume This template uses minipage to build a layout like : +-----------------+ | Header | +------+----------+ | | ...
2
votes
1answer
78 views

Is it possible to break page on a double line break in the minted environment?

For a project, I am printing a large amount of source code using Minted. Certain blocks, such as CSS blocks, are fairly short, but are split across pages, which means they are not as readable. Is it ...