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

Breaking equation through pages

In a former post I learnt how to break an align equation by using the \allowdisplaybreaks command on the preamble. However, I found the package breqn, which is impressive! So far I've been unable to ...
6
votes
1answer
103 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
1answer
87 views

Change side wallpapers between pages

My document has graphics on its left and right border on each page, I use the package wallpaper for that: \newcommand{\dsaSetDefaultPageBorders}{ \ULCornerWallPaper{}{./fanpaket/balken-links.png} ...
1
vote
1answer
42 views

Figure location in the bottom of the document

In my paper the last page should contain reference only, but my figures keep popping in the last page. How can I force them not to appear in the last page / force the last page to consist of reference ...
2
votes
0answers
74 views

penalize page breaks in \lstlistings [closed]

I have a document with some rather lengthy \lstlisting's (source code snippets). It looks really bad if there is a page break within a listing/snippet. Thus I tried to avoid page breaks in listings by ...
5
votes
3answers
144 views

Proper vertical spacing and pagebreaks in custom environment

I would like to design a simple environment which displays examples. This is what I got so far: \documentclass{article} \usepackage{xcolor} \usepackage{parskip} \usepackage{lipsum} \makeatletter ...
0
votes
1answer
37 views

Getting no pagebreaks in numbered paragraph mode using eledmac

Could someone help with getting no page breaks while typing 4 line-paragraphed texts in \pstart and \pend paragraph groups in eledmac. I'm typesetting a multilingual critical edition using XeLaTeX ...
3
votes
0answers
199 views

Creating flashcards with LaTeX

As the current semester is almost over and my lecturenotes-typesetting project draws to a close, I start learning the definitions with flashcards. I've created the flashcards automatically with a ...
2
votes
1answer
72 views

Bad pagebraks in longtable (empty table on second page)

I have some strange problem with my longtables. In some tables there is a pagebreak after the last row and on the second page there is the table header printed again without following content. I use ...
12
votes
2answers
326 views

Splitting verbatim inside figure across pages

I want to include a long section of verbatim text, which is too long for a single page, inside a figure with a caption. Unfortunately, when the verbatim environment is put into a figure, it does not ...
5
votes
2answers
125 views

How to override a subclass of book to get TOC on even page?

I am trying to get my table of contents on a verso page (i.e., an even-numbered one). I have seen several threads on similar topics here, and many of them recommend making your own command more or ...
1
vote
1answer
104 views

How to avoid footnote split? [duplicate]

Maybe the second footnote is too long, it splits into two parts at the bottom of the page as following picture shows. What should I do to avoid this? Thanks
0
votes
0answers
75 views

prevent page break while returning to twocolumn

I'm writing a IEEE conference paper. The format of paper is \documentclass[conference]{IEEEtran} For inserting a wide image i switched to one column using \onecolumn The image took half of my page. ...
4
votes
2answers
84 views

clean, breakable left-aligned array-like environment

The centered, yet left-aligned aspect of \begin{array}{lll} ... \end{array} is what I usually go with to give a list of conditions. My only problem with it, is that it is not breakable, so I try to ...
4
votes
1answer
105 views

Treat floatbarriers like page borders?

When I use the figure environment I like using [bt] options. I now have subsections acting as floatbarriers (using the extraplaceins package), and [b] / [t] does not work due to my restraining ...
4
votes
1answer
394 views

Splitting an algorithm across two columns

Consider the following short example, where a two column page is selected, and the algorithm is split across the two columns using a manual \pagebreak within the algorithm's code: ...
3
votes
4answers
141 views

Vertical spacing for writing answers

I couldn't find any answers to this issue, so I hope you LaTeX gurus can help me out. I am formatting a study guide with the KOMA scrbook class. Throughout there are (enumerated) lists of discussion ...
6
votes
1answer
78 views

Suppress something if at the end or beginning of a page

I would like to suppress the horizontal rule between the mdframed boxes if it occurs at the top or bottom of a page. I found this partial solution which makes use of \cleaders. But it is nor working. ...
0
votes
0answers
44 views

Overfull vbox - text paragraph not page breaking

I've got what seems to me to be a fairly simple article document. The issue is that the first page doesn't break onto the second (it seems until there's a new section or subsection). Whatever is there ...
3
votes
1answer
140 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
17 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. ...
11
votes
2answers
314 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
765 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
121 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
135 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
165 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
145 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
94 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 ...
1
vote
1answer
107 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
126 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
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 ...
5
votes
1answer
91 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, ...
6
votes
1answer
282 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 ...
10
votes
2answers
351 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
3answers
146 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
464 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
105 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
51 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
34 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
180 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
594 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
81 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
100 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
869 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
100 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
49 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 ...
2
votes
0answers
61 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
44 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 ...
6
votes
2answers
1k 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
77 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 ...