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

Two tabulars in one Table but in different pages

I would like to ask you how could I have in one table two parts (tabulars) BUT in different pages? I tried bigskip or pagebreak but it does't work Thank you in advance
1
vote
1answer
433 views

prevent page break after AASTeX deluxetable \tablecomments and the next deluxetable?

The issue is the following: there are two deluxetables (AASTeX) set after another. The \tablecomments of the first extends extends over a page boundary, such that one line of text lands on a new page. ...
2
votes
1answer
58 views

mdframed environment not breaking over pages

I apologise in advance because I cannot provide an MWE. I am writing a book with a custom (Springer) format and I wish to use mdframed to provide an example environment. I adapted an example from the ...
19
votes
1answer
25k views

Make a table span multiple pages

I have a table that takes up a full page, but I want it to start on a page that already has some text and then continue onto the next page (i.e. it's ok if the table gets broken up and spans two ...
3
votes
1answer
62 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 ...
2
votes
1answer
96 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
27 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
117 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
35 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
54 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
57 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
53 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} ...
11
votes
2answers
775 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
144 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 ...
2
votes
3answers
112 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
59 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
62 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
51 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
21 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 ...
2
votes
2answers
125 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
174 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 ...
1
vote
0answers
61 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
87 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
84 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
50 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
2answers
3k 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 ...
34
votes
4answers
18k 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
83 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
97 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
122 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
42 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
58 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
63 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
91 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
42 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
164 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
52 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 ...
21
votes
2answers
20k 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
4k 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
88 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
129 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
54 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
58 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
791 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
151 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 ...
16
votes
3answers
3k views

multicols not wrapping to 2nd column properly?

This question led to a new feature in a package: multicol I am having problem with multicol package, I created a sample demo to show it. When I put 3 minipages of certain height in the ...
45
votes
3answers
1k views

Why no vertical-mode Knuth-Plass?

I have only basic knowledge of the TeX internals, so I hope what I am saying here is not complete nonsense. If I understand correctly, in TeX, horizontal positioning / line breaking is done using a ...
17
votes
2answers
1k 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 ...
2
votes
0answers
57 views

Citations with no bibliograhy at the end in RevTex4-1 (or at least bibliography on a separate page)?

I am trying to suppress the printing of the bibliography at the end of my RevTex4-1 document, however, I would like to keep the citations in the text. While invoking the \nobibliography command in ...