{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
36 views

Blank page disappeared between chapters 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 ...
1
vote
1answer
78 views

Forcing paracol to look like a tabular

Consider the following tabularx construction: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage[table]{xcolor} \usepackage{lipsum,tabularx} \begin{document} \noindent ...
3
votes
1answer
36 views

How to get the chapter title in a single page - titlesec

Because of my thesis report style, I want to have the chapter title in a single page. I'm working with titlesec package. I used \clearpage and \newpage to solve this, but doesn't work. I also used ...
1
vote
0answers
28 views

longtable next to longtable [no multicolumn]

I'd like to place multiple tables (two or three) next to each other, with the following requirements: They need to be able to span accross pages They need to be aligned next to each other I need to ...
2
votes
1answer
64 views

Iterate over pages and set variable

I am looking for a way to take the output of a pageref, iterating through, and assigning a property to each of those pages. Specifically, I want to take this: \documentclass{article} ...
2
votes
0answers
26 views

Page breaks and memory [duplicate]

Note the following passage in the TeXbook (p. 110) TeX breaks lists of lines into pages by computing badness ratings and penalties, more or less as it does when breaking paragraphs into lines. ...
8
votes
1answer
89 views

show “continued” for nested description list item on page break

I'm using enumitem to create a description list. These lists can sometimes be nested and can get very long. When a list item with a lot of description text breaks over a page it is difficult to ...
0
votes
1answer
29 views

picture is delocated or an empty page before and after the picture

I have been having some troubles with the insertion of picture in my document(pdf) when using latex. At first, when I inserted the picture, the picture was delocating. this was the code. ...
1
vote
1answer
51 views

Vertical bar appearing except on top of page

I want a command \shybar which prints a \textbar except if it would be the first character on the page. In this case, it should do nothing. Because of this question, I tried the following code: ...
2
votes
1answer
32 views

Pagefilling pictures resulting in blank page before the next chapter

I've got a question in regards to pictures and chapters. It happened a few times now to me (like in the example below) that I have 1 or 2 pictures that fill up a page that suddenly the chapter ...
1
vote
1answer
38 views

Removing one blank page between two chapters

How can I remove one of the blank page between two chapters. \documentclass[12pt,titlepage,a4paper]{book} \input{chapter1} \newcommand*\NewPage{\clearpage\thispagestyle{empty}\null} ...
2
votes
1answer
36 views

Scheduling a float to appear on a specific, later page?

Consider the following MWE - let's say it's called test.tex: \batchmode % \ifx\article\undefined % \documentclass[12pt,journal,onecolumn,twoside,draftcls,letterpaper]{IEEEtran} % \else % ...
11
votes
2answers
638 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 ...
2
votes
2answers
115 views

Any way to check with a macro if an equation is too long to fit into a single line?

I have some very long equations which span a few lines. I'd like to Break lines automatically. Pagebreak. Have an equals sign both at the end of the first line and at the beginning of the second ...
5
votes
1answer
88 views

Find point of page break in an external document

I am creating multiple versions of a document from a single LaTeX source. Specifically, I have a series of lessons that have an instructor version (with notes and answers) and a plain student version. ...
2
votes
3answers
83 views

How to prevent a page break before an itemize or enumerate list? (continued)

My question is essentially the same as How to prevent a page break before an itemize list?. First, I don't undestand how the proposed solution (\par\nobreak\@afterheading) works. Why doesn't just ...
1
vote
0answers
48 views

Make paperheight (page length) same as section length

I'd like a document where each section is followed by a page-break but otherwise is one page. The sections have varying lengths, mainly due to the size of the picture(s) in each one. So far what I ...
1
vote
0answers
45 views

How to get rid of blank page after Appendix title

After I have my page which says Appendix my document has a blank page before the page starting Appendix A. How can I get rid of this. I have \include{appendix} in my main file and in my appendix ...
4
votes
1answer
46 views

An undesired consequence of \vbox{}

\begin{enumerate} \item blah hlah \vbox{ \item blah blah } item blah blah I did this to prevent page breaks within one item. But now the numbers of all the items after the \vbox{} are indented ...
0
votes
0answers
20 views

No page breaks in a specified interval [duplicate]

\begin{ ?? } blah blah blah blah blah blah blah blah blah blah blah blah \end{ ?? } I would like to put something in place of the "??" (or do something that would have the same effect) whose result ...
8
votes
0answers
89 views

Stop Hyphenating Across Page Breaks

How to prevent hyphenation across page breaks? Here is my minexample: \starttext \dorecurse{200}{Aprikosengeschmacksrichtung } \stoptext What I mean is a feature, which many other typographic ...
2
votes
2answers
74 views

LaTeX: force table on page / prevent page break

Very, very new to LaTeX, so I hope I can get across what I want. Please bear with me :) I want an equation and the list of parameters/units on the same page. For the list I used a tabular ...
1
vote
1answer
129 views

Does the package csvsimple support auto pagination?

I have a csv file that will probably take two pages, and doing \csvautotabular{Foo.csv} just makes my table run off the page. I checked the documentation but did not see anything about pagination of ...
10
votes
2answers
3k views

Avoid page breaks in \lstlistings

I'm trying to avoid page breaks in my lstlisting (seen in section 0.0.2) I know I can remedy this by floating my lstlisting, but it adds some unwanted white space (seen in section 0.0.1). Is ...
1
vote
0answers
27 views

Row-wise and Column-wise break of extra wide tables, and add a proper label

There is a question "Column-wise break of extra wide tables" Column-wise break of extra wide tables and a very useful answer to it. \documentclass[twoside]{article} \usepackage[latin1]{inputenc} ...
2
votes
1answer
51 views

Figure caption does not continue on new page

I have a large figure caption that I want to display. However, it just runs off the page into nowhere instead of onto the next page. What command do I need to fix this? Googling the problem doesn't ...
2
votes
1answer
41 views

No page break for \listoffigures with scrreprt

I include three lists: \listoffigures, \listoftables, and \lstlistoflistings. However each list on a new page. I don't want to have a page break after each list but to list all three on one page. ...
1
vote
1answer
35 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} ...
0
votes
2answers
2k 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 ...
5
votes
3answers
2k views

How to prevent page break between two section headings

I have a custom document class, based on book.cls, for which the following code sometimes produces page breaks between two subsequent sections: \section{Introduction} % page break may occur here ...
31
votes
4answers
17k views

How to prevent lstlisting from splitting code between pages?

Is it possible to prevent lstlisting from splitting a code between pages if it does not fit on one page? Instead splitting I would like to have the code on the next page. I tried to put all ...
2
votes
1answer
82 views

Prevent page from overflowing

Occasionally document overflows into the next page by few words or line. Though this can be adjusted manually by changing a font size or spacing, can it be automatically done? By automatic, I mean if ...
1
vote
1answer
47 views

\titleformat (titlesec) overfull vbox page break issue

I am currently writing a rule book using sections/subsections/subsubsection/paragraphs to break the rules down into parts. I am using the titlesec package to format the sections; however, the problem ...
6
votes
2answers
51 views

Prevent page break after \midrule in \longtable

I'm trying to tell longtable to only issue a page break at one specific point (by using \\*. Putting a \midrule anywhere near that point causes a page break after the midrule, and not where I want it ...
3
votes
1answer
30 views

Changing the default for indexing from two columns to one, and getting rid of default page break

I need to create a table of cases for my thesis in international law and I'm using imakidx. Cases decided by international tribunals have long names and numbers as part of their citation, so if I have ...
3
votes
1answer
30 views

How to suppress newpage when using titling

I am using titling so I can reuse \maketitle many times in a document. My document will be a sequence of around 100 abstracts for a conference, each with their own title and author. I want to have ...
2
votes
2answers
49 views

Long table to fit on 2 pages

In a middle of a page I have a long table with a lot of maths formulas and I would like to make it fit on 2 pages automatically. Here the code : \documentclass[11pt, a4paper]{article} ...
3
votes
2answers
46 views

Preventing page break after the first or before the last list item

Is there a way to globally prevent all lists from having a page break inserted between the first and second items or between the last and second-last item? I'm fine with page breaks that are after the ...
2
votes
0answers
28 views

Reduce vertical stretching by encouraging page breaks within paragraphs

It's pretty standard for latex to add a little whitespace between captions, figures etc to reduce the chance of page breaks mid-paragraph. In some cases I feel latex is a little too liberal with its ...
12
votes
1answer
157 views

Does \\* within footnotes have any effect?

One is taught that \\* is an alternative to the line-breaking \\ that tries (often unsuccessfully) to inhibit a page break. Normally \\* would be used in ordinary ("body") text. (And I hereby ...
1
vote
0answers
34 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 ...
20
votes
2answers
18k 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 ...
9
votes
2answers
3k views

How to continue the framed text box on multiple pages?

I am using framed package to create text boxes using begin{framed} and end{framed}. My problem is that my framed box goes on for two pages, and I don't want the text box to complete itself at the end ...
1
vote
0answers
52 views

macro: repeat a command if new page else do nothing

QUESTION: How does one write a pair of macros that work in 1) beamer class and 2) article class, respectively, such that if it, \macroname{...}, is executed at a point in the code, that point ...
2
votes
1answer
91 views

Keeping equations as part of a paragraph on the same page

I want to have equations with item lists as part of a paragraph such that there is no page break between the equation and the item list, but there can be a page break in the middle of the paragraph. ...
1
vote
1answer
51 views

shrinking a page

In the reference list section of my paper, there is one reference alone occupying/creating one extra page, which is something i do not want. What could be a solution for changing this without ...
5
votes
0answers
50 views

How to track a page change within an environment?

I'm trying to define an environment that can automatically detect when the material within it moves to a new page, reprint one of its arguments at the top of the new page, and change how it closes as ...
4
votes
1answer
709 views

Landscape forces premature pagebreak

After some trouble I have managed to make a table in landscape orientation that breaks over three pages. I used tabularx and the landscape package. Now my problem is that the thing won't float like ...
2
votes
3answers
133 views

How to force a text to appear after a table

I have to show a set of four tables: one after another. Each table has almost middle page of information, and I really need them to appear before the next block of text. An example of LaTeX code is ...
1
vote
0answers
55 views

Longtabu, \tabucline placed on wrong page

See the following longtabu axample: \documentclass{article} \usepackage{longtable} \usepackage{booktabs} \usepackage{tabu} \usepackage{lipsum} \begin{document} \tabulinesep=1.5mm % <---- ...