{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
0answers
79 views

LaTeX is moving my section to a new page

I'm just wondering, why LaTeX always moves my section to a new page, even without using the new page command. This will look like the following, and does only happen for this particular section Do ...
0
votes
0answers
15 views

How to prevent page breaking for lstinputlistings? [duplicate]

In my pdf created from latex sources I can see that sometimes \lstinputlisting will have a page break in the middle just because it happened to be in the end of the page. I would like to prevent it. ...
10
votes
2answers
217 views

\pagebreak[number] only breaks with number = 4

I wanted to try out encouraging of pagebreak using \pagebreak[number]. As far for now it only breaks the page when I define \pagebreak[4] and only then (it won't work on any other circumstances). ...
11
votes
3answers
178 views

Insert newpage before section but prevent pagebreak after part

Maybe some of you can already guess what I'm trying to achieve; I want to redefine some commands with the following result: every \section should start on a new page except for sections which are ...
4
votes
0answers
82 views

Using a package only for certain tables

I am using the tabularx environment since it the X component of the columns is very useful and necessary for the tables I want to produce. However, a single one of my tables is longer that a page, and ...
2
votes
2answers
97 views

Why is there only one question on the second page? Using Exam Class

I am trying to format this exam; however, the number of question per page is horrible. There is no logical reason why there is only one question on the second page and several on the next page and ...
6
votes
2answers
148 views

Group content side by side possibly spanning more than a single page

I have data consisting of groups of key-value pairs and associated images. I'd like the key-value pairs to show in a table to the right of the images. Like this: The above screenshot is produced by ...
3
votes
1answer
87 views

tocloft moving toc onto title page below abstract

I am using the tocloft package in order to reduce the space between the toc header and the table of contents itself. However, the package is causing the table of contents to move up onto the title ...
2
votes
0answers
57 views

long abstract not continuing to next page in ERDC style

I am trying out a report format with the ERDC style, but using pdflatex, the abstract is limited to 1 page - the text just disappears off the bottom of the page and won't continue. I've looked through ...
0
votes
1answer
66 views

Page Layout of Songs Package problems

I'm creating a Songbook from the songs package. Currently I am having an issue with the format of the page. If the song is too long it doesn't break on the page end and goes to the second column. ...
5
votes
2answers
84 views

Extra blank page mysteriously being made to appear (XeTeX)

At https://gist.github.com/8210807 I've gisted the TeXShop Console messages for three runs of the same .tex file along with that file. Now when I typeset that .tex, a strange blank page is created ...
2
votes
1answer
63 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 ...
5
votes
1answer
77 views

Unbreakable section

I would like to know if there is any global command that would prevent any page-breaks inside sections. All my sections are short enough. I read some solutions, such as Absolutely, definitely, ...
5
votes
1answer
65 views

How do \widowpenalty and \clubpenalty interact for a 2-line paragraph?

Sometimes \\* does not suffice to prevent a linebreak. Adding {\widowpenalty10000 \par} or {\clubpenalty10000 \par} helps if the separated line is paragraph-final and stranded at the top of a page ...
9
votes
2answers
107 views

Custom pagebreak in align equation

I got the following problem: Right now I am checking my equations, which are usually written in align. This looks great in most of the cases, but sometimes the pagebreaks are weird, ie there is a lot ...
2
votes
2answers
87 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 ...
2
votes
2answers
176 views

How to force \paragraph to start on a new page

If \paragraph{abc} text text text text text text text text text text ... text is on the bottom of page \paragraph stays at the bottom while the content is moved to top of the next page. How to ...
5
votes
1answer
70 views

Group statements, avoid pagebreak

I make an FAQ document, for this I redefined environments like \newenvironment{question} % no indenting, bold and new paragraph {\setlength\parindent{0pt}\bfseries} {\par} \newenvironment{answer} % ...
3
votes
1answer
40 views

Inserting extra pages without affecting the rest of the text

I am working on a document of the two-column IEEEtran style and I want to "insert" two special pages. So I have these two page-filling figures. I want each figure to appear on its own page, say page ...
3
votes
0answers
29 views

Arrange subfigure according to the text

I have a little issue. I have a figure made by 5 subifgures. They fill perfectly a page. The problem is that, when I have some lines of text before the image, the figure goes to the next page without ...
1
vote
0answers
64 views

IncludePDF with Landscape - No new page

I have a problem with \includepdf combined with landscape and now new page break I found some solutions to my problem but they didn't work. I came close with the following but it is still not what I ...
4
votes
1answer
117 views

Center longtable horizontally over two pages in landscape

I have a longtable in a landscape environment that ranges over two pages, and where I have introduced a page break where it is most appropriate contentwise. The table including descriptions is too ...
3
votes
1answer
54 views

poem indentation different when text is longer than a page

I'm trying to compose a volume of poetry in the memoir class and the verse environment. To set the indent on a per-poem basis, I use \settowidth{\versewidth}{longest line of text here} as ...
4
votes
1answer
79 views

Bleed into margins automatically to prevent orphans?

When I set my papers, it sometimes happens that the last line of a paragraph is very short, in extreme cases just a single word, perhaps a page number. I have set \clubpenalty to 10000, of course, ...
1
vote
2answers
264 views

How to change this \renewcommand\section to prevent page break just after the title? [closed]

I am using the following command in my class (thanks to this answer): \renewcommand\section{\@startsection{section}{1}{\z@}% {3.25ex \@plus1ex \@minus.2ex}% ...
5
votes
1answer
79 views

url in footnote spans two pages

In my document LaTeX has chosen to continue a long footnote on the next page. That's usually just fine. But in this case the page break in the footnote is inside a url, so the whole second page is a ...
3
votes
2answers
32 views

Text does not go to next page, text hidden

When running the file below, there are a few problems: The section "employment history" automatically starts on the 2nd page, instead of the 1st page. The section "employment history" which starts ...
1
vote
0answers
49 views

How to avoid widows-orphans with mdframed?

I have a document with a lot of mdframed boxes ; which option can I set to avoid 'widow' lines at the end of the box (that is, avoid to have small parts of boxes on new pages)? ...
1
vote
0answers
39 views

Tables arrangement [closed]

I have two tables, which are rotated 90 degree to align vertically from bottom to top. That works fine. I want to make two tables on the same page. Now each rotated table is on its own page. I want ...
4
votes
1answer
327 views

longtable misplaced noalign

Question Why am I getting multiple misplaced \noalign errors? Reproducible example \documentclass{scrartcl} \usepackage{longtable} \usepackage{booktabs} \begin{document} \section{Table test} ...
5
votes
1answer
59 views

Preventing a code listing of multiple pages to be split to several parts

I have a lstlisting that doesn't fit on one page. It continues correctly on another page but instead of putting the last lines in the beginning of the next page it actually splits into three parts on ...
8
votes
1answer
139 views

How to generate a “<section> continued” heading after page-break?

This is a follow-up question of the answer to Re-displaying section headings after page-breaks As in the follow-up question, I would like to repeat the section heading after a page break, but ...
15
votes
3answers
166 views

Why do user-defined whatsit nodes affect LuaTeX pagebreaking?

EDIT: A summary of the possible answers is given below. In my current LuaTeX project I am using user-defined whatsit nodes to transfer information between the different stages of a LuaTeX run. On ...
4
votes
1answer
62 views

Limit number of floats on a float page

I'm creating a document with 10 figures, which I specify to sit on float pages using \begin{figure}[p] . All the figures are the same size and each float page can fit 6 of them. However, I would like ...
2
votes
1answer
289 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: ...
1
vote
1answer
54 views

Prevent a line from being the last line on a page

I want to prevent a certain line from being the last line on a page. If necessary, I want whitespace to get automatically inserted before it so that it gets pushed to the beginning of the next page. ...
1
vote
1answer
165 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. ...
1
vote
1answer
75 views

Force the abstract onto a new page

I have a document that has the header "Abstract" at the very bottom of the first page, and then the actual text of the abstract is on the second page. The rest of the first page is taken up with ...
4
votes
2answers
73 views

How to change the page height on current page so as to include each section in one page?

I consider posting some materials as .jpg file on my blog which produced from a .tex document. This document includes lots of sections which is about 1500-2300 words. I need neither header nor page ...
1
vote
0answers
203 views

latex figure (or table) in a new page

I'm curious what's the best way to get the table of figure to appear on the next page in your document. I've tried the \newpage command, which works but is a hassle as I basically need to declare it ...
1
vote
1answer
36 views

Ignore pagebreak at some pages

I need to have no empty lines at some pages of the document. The reason for it is that I'm putting a table on some pages that is pretty long, and I used scalign \scalebox and \centerline for it, but I ...
1
vote
0answers
174 views

Splitting a 2-column very long table into various multiple columns across different pages

I have a 645-row table to be included in one article appendix. Such table has only two narrow columns where each row is composed of a Month-Year in the first cell and one date in the last cell of the ...
3
votes
1answer
90 views

How to output Bibliography on separate page in 2-column layout (LyX)

I'm using LyX with the default document class & settings, except with 2-column layout. How do I get the Bibliography to output on a separate page? I tried inserting a New Page, but that just bumps ...
2
votes
2answers
213 views

Auto-break Cell in longtable Enviroment

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 ...
9
votes
1answer
3k views

Switching from two columns to one column without adding a page break

I am trying to adapt this solution of multiple authors and multiple affiliations, i.e.:                     to a format where, title and authors go ...
4
votes
0answers
79 views

longtable package: Stretch height of last row on page

Consider the following code \documentclass[a4paper]{article} \usepackage{longtable} \usepackage{lipsum} \begin{document} \begin{longtable}{|p{5cm}|} \hline \lipsum[5] \\\hline ...
5
votes
1answer
39 views

Longtable: Keep the last two rows on the same page

I know there are similar questions, but using \\* did not work for me. What I want to achieve is that the last two rows of my table will be on the same page (and therefore no page break between ...
1
vote
0answers
43 views

No separated page for a table of content in a book class document [duplicate]

I am using a book class (exactly scrbook) for my paper. Still I don't want to have a separated page for my table of content -- the paper is a MSc thesis and I want the toc to start at the same page as ...
2
votes
0answers
91 views

split longtable over even and odd pages (2)

I am a first-time user of LaTeX, trying to typeset my thesis. My problem is that some of my tables are large and do not fit on a single page; both in length (many rows) but some also in width (many ...
4
votes
1answer
167 views

Joining lines and text together (and a grey footnote) in a new environment for grey text

I defined an environment called bewertung that's delimeted by two lines. I observe three problems I can not solve: Pagebreaks after the first line (page 1 of MWE PDF). Pagebreaks before the second ...