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

2
votes
1answer
57 views

Getting rid of blank pages

I have a file with two appendices, each of which contains only a figure, and a blank page is being inserted before each appendix page. I have tried looking for an answer, but it seems like everything ...
1
vote
1answer
34 views

minipage with page break

I'm using LaTeX for writing math tests. Every task I wrap into an environment, which I defined like this: \NewEnviron{beispiel}[1]{\begin{minipage}[t]{0.76\textwidth} \BODY \end{minipage} ...
16
votes
2answers
3k views

Breaking pictures across multiple pages

I am a relative TeX newbie trying to write a new package to generate timelines that can span multiple pages (the existing timeline solutions are not suitable for me, and I would like to write ...
4
votes
1answer
35 views

Issues with tables being moved to next page due to empty space

I have an issue with my tables not wanting to fit onto the pages of my document. As can be seen by the first page, there is plenty of room for the tables, but for some reason on page two there is a ...
6
votes
1answer
76 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 ...
13
votes
1answer
6k 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
1answer
323 views

Pgfpages cleardoublepage

I need to divide A4 into two A5 pages (landscape) which works fine with pgfpages but i also need special double page (like titlepage) where left half-page is empty and right contains text. But this ...
5
votes
3answers
247 views

macro who argument is proxy of next page break or beginning of a new slide

QUESTION: How do I write macros that run a control sequence \C (for example print a figure on the page or slide, a) right after the next page break (or new slide), or b) right before the next page ...
0
votes
1answer
30 views

How to detect pagebreaks and insert text at the top of the typeblock on each new page?

I have a document which pulls in an external .tex file which is procedurally generated from a database and then interpreted into a multiple page table-like graphic written in TikZ. However, when I ...
2
votes
1answer
47 views

Make only one page for each chapter

Is it possible to generate only one page per chapter(or section) without splitting the document file? The page width is fixed but the page height should be automatically adjusted by the content ...
0
votes
0answers
38 views

What is the most precise way of including a Mathematica code in a LaTeX document?

I have tried to insert my Mathematica notebook into LaTeX by converting it as a PDF file and then using \includepdf[pages=1-4]{blablabla.pdf}. However, there are now two problems I faced: This code ...
7
votes
1answer
3k views

Forcing a Document into a Single page

I've been using TeX for a while, so when I suggested my company compile its daily newsletter using LaTex, rather than an hour and a half of someone's time, I got tasked with actual implementation. ...
2
votes
0answers
23 views

Longtable not starting immediately after section tittle [closed]

I have been trying to fix this problem by reading many posts for the last two day and I have not been successful. I have a long table that spreads over three pages and I want to start after the ...
2
votes
0answers
22 views

Using `\displaybreak` in `\split` environment

I want to use \displaybreak in \split environment. I tried to use it locally and just before the \begin{equation}...\begin{split} block, but they both didn't work. As far as I searched, there is no ...
2
votes
0answers
28 views

Can I reuse the window/orphan mechanism of section titles to bind something else (like theorems with their proofs)?

LaTeX layout mechanism can somehow try to avoid window/orphan paragraphs and section titles, i.e. it's very rare (or impossible?) for a section title to appear at the end of a page with the first ...
6
votes
3answers
287 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 ...
3
votes
1answer
52 views

two columns face to face when page breaks

I want to make a command for translated text. My wish is to have two columns facing each other : the original on the left and the translated on the right, with the informations about the text beyond. ...
5
votes
1answer
35 views

How to prevent mdframed from typesetting a widow line that contains just a bit vspace with colored background?

The code below produces a nice box around an equation or a few lines of text but continues the boxes on the following page with an absurd horizontal rule. Of course I can get rid of this outrageous ...
2
votes
1answer
40 views

scrartcl / section / itemize: Why empty page?

I am quite sure it is my fault, but I can't explain this behaviour of LaTeX using the scrartcl class: \documentclass[a4paper,10pt,onecolumn]{scrartcl} \usepackage[ngerman]{babel} ...
3
votes
1answer
36 views

Allowing pagebreaks for shaded theorems using thmtools

I just searched for a way of allowing pagebreaks when using shaded theorem-environments from thmtools. I found my question was, somewhat, answered here (the second solution) with a comment from the ...
0
votes
1answer
40 views

White pages before glossaries appendix

When I use the \printglossaries inside the environment appendices I get two extra white pages I cannot get rid of. Do you know how to remove them? Here a MWE which has such problem: ...
0
votes
0answers
62 views

Bibliography not on new page

I have multiple Bib generated with biblatex/biber. How can I suppress that every bib is on a new page. There would be plenty of space to put two bibs on the same page. Still each \printbibliograpy ...
4
votes
3answers
4k views

How to force a page break in LyX?

Page break, New page, Clear page, Clear double page functions does not work for me in LyX. I tried to enter them via Insert ->.... and via LaTeX code \pagebreak etc. But I desperately need to brake a ...
1
vote
2answers
58 views

Longtable, even pages starting left, have margins [Title changeable]

That my whole codes compiled, some pages are below. odd page even page My problem, the longtable does not start left in even pages. That I want, add to the marginparwidth and marginparsep. Here ...
2
votes
1answer
54 views

Problem with tcblisting at page break

I use a tcolorbox to display my listings and thats actually works pretty well. But if in my listing a page break occurs, then my predefined "basicstyle" property will be removed. And I have no idea ...
1
vote
0answers
25 views

Page break in float pages

I have an appendix section with half a page of text followed by a lot of tables. I want all these tables to go on float pages for the nice distribution on the pages, so placement specified as [p]. ...
3
votes
0answers
117 views

How to manually typeset text in parallel on facing pages in (Lua)LaTeX?

I want to typeset a bilingual text in parallel on facing pages using LuaLaTeX. The existing solutions to automate this task have proven unsatisfactory as they don't allow for footnotes (parallel), ...
1
vote
2answers
47 views

Bibliography on separate page in Revtex 4-1

How do I force the bibliography in Revtex 4-1 to appear on a new page? The default is that it appears immediately after the main body text. "New Page", "Page Break", "vspace{}" and combinations of ...
0
votes
0answers
38 views

textblock* on every page

I have following: \begin{textblock*}{15mm}(191mm,20mm) \begin{spacing}{6.2}\noindent\thin\color{black} {\fontsize{50}{60}\selectfont M\\ Y\\ T\\ E\\ ...
3
votes
0answers
55 views

Remove page-breaks after chapters in the report class?

So I am using the report class, and every time I try to create a new \chapter it creates it on a new blank page with just the title. I have tried using \usepackage{etoolbox} but I keep getting Latex ...
0
votes
0answers
35 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 ...
11
votes
1answer
8k views

How to put a full-width table at the top or bottom of the same two-column page as the reference text?

I'm posting today because I would like to reduce white space in a document I'm writing. The content is two-columns but I have floating tables that span across both columns (table*). At some point, ...
0
votes
0answers
21 views

No page break in framed

I am trying to avoid framed boxes to break when they span on multiple pages (usually 2). Essentially they should get pushed down when the box is too long to fit on the page. This code for example ...
21
votes
4answers
480 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. ...
12
votes
1answer
197 views

Jumplines (“continued on page…”) in latex?

Many newspapers/newsletters have several articles starting on their front page, yet with only an initial segment of each article on the front page. Each such initial segment ends with a "jumpline" - a ...
2
votes
1answer
46 views

thepage give wrong number

in this document \thepage give me wrong number (in first paragraph of each page) \documentclass{article} \textheight5\baselineskip \begin{document} test -\thepage- test -\thepage- test -\thepage- ...
5
votes
2answers
5k views

\lstinputlisting will not continue to next page

So I have this LaTeX snippet: \section{Appendix} \listoffigures ... \begin{center} \begin{figure} \caption{MacroCell with 8 AND Gate Arrays} ...
2
votes
1answer
25 views

Problem with pagebreak in titlepage

I am trying to make a first page template. At this template I want a box at the bottom of the page with some text, but I can not get TeX to put it at the bottom, but rather it is moved to the next ...
0
votes
0answers
13 views

Linebreak with algorithm environment in two column mode [duplicate]

I want to integrate an algorithm in a two column article, but I'm not happy with the output (screenshot below). I'm wondering why the algorithm environment don't break the code and go on the next ...
3
votes
2answers
134 views

How to tie TeX macros to text or another macro?

Is it possible to tie a TeX macro to some text (e.g. the next paragraph) or another macro? For your information, here is a more specific description of the problem: I am using a set-up macro ...
1
vote
0answers
90 views

Squeezing a paper into a page limit - with IEEEtran

I'm working on this draft for a submission to some conference which - woe is me - uses IEEEtran. I could rant about that class for days, but never mind right now... the point is, I need to squeeze ...
0
votes
0answers
19 views

Preventing page breaks in probsoln problems

I am using the probsoln package to typeset some questions in my class notes. However, I'd like to make sure that for each problem there is no page break half way through the question. I have tried ...
4
votes
2answers
60 views

Start new page with each part

How can I automatically start a new page with each part? I found this answer, which work nicely for section breaks, but was unable to customize the command to works with parts. I looked the titlesec ...
21
votes
1answer
9k views

How to start new chapters on the right hand side

I use the report document class, and I would like that chapters always start on the right hand side, anyone an idea how this could be easily done?
2
votes
1answer
26 views

Longtable goes wrong after page break

I am really new to LaTeX and I am using the following codes to make a long table cross pages: \documentclass[12pt,letterpaper]{report} \usepackage{multirow} \usepackage{longtable} ...
2
votes
2answers
48 views

How to prevent a page break between this colored box and its subsequent text?

In the following code, how to prevent a page break between the colored box and its subsequent text? \documentclass[a4paper]{book} \usepackage{lipsum} \usepackage[showframe]{geometry} ...
1
vote
1answer
47 views

Error in some rare circumstances: babel with french option after listings, active character in moving argument, code in listing across pages

Edit: I have edited my question which initially wrongly focused on labels. This question is related to Code in \lstlisting breaks document (compile error). Let us consider the following MWE: ...
5
votes
2answers
238 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 ...
4
votes
2answers
217 views

Automatic message “continue on next page” in all the pages (except the last)

I have critical document (aka a CV) with just two or three pages. Even when opened on screen it can look as if it has one page, because there is no clue (in the page) that the document continues. Is ...
0
votes
0answers
31 views

how to add a section continued phrase ,Not section heading

I have searched the website, but the only solution i can found is to add a section continued heading after a page break. That's not what I want. I wish it could be written in the paragraph instead of ...