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

Two tables (not hard-coded) side-by-side in LaTeX that will page break

I wrote my original question here: (Two tables side-by-side in LaTeX that will page break). Then, I realized I needed to revise my question, by also including an additional problem that comes with it. ...
0
votes
0answers
30 views

Figure + caption + vertical margins that corresponds to multiple of line

In a two columns document I typeset dictionary entries, including photos placed either bellow the entry or at the top of the page (max 1 photo per column). In case in each column of the page there is ...
2
votes
1answer
63 views

Two tables side-by-side in LaTeX that will page break

I am creating a .Rnw file in Rstudio. I then knit it using: knit("code.Rnw","code.tex") I am trying to get two tables side-by-side. In case they are long, I would like them to automatically page ...
0
votes
2answers
31 views

Keep the word Abstract in the same page as the actual abstract

I am writing a report and i am using a specific .cls file for the layout and fonts etc. The abstract is defined as follows: \newenvironment{abstract} { \btypeout{Abstract Page} \thispagestyle{empty} ...
19
votes
3answers
21k views

Add a new empty page

I have a .tex file which is like my main, \documentclass[spanish]{article} \usepackage{times} \usepackage{amsmath} \usepackage{graphicx} ...
7
votes
2answers
103 views

Reacting to a page break in LaTeX

I'm trying to build an environment where if a page breaks in the environment some additional text is automatically printed at the end of the page, while this text is not printed when no page break ...
1
vote
0answers
43 views

How can I stop my affiliation from creating a page break on my title page?

When my code looks like this: \documentclass[12pt]{article} \usepackage[utf8x]{inputenc} \usepackage{float} \usepackage{url} \usepackage{setspace} \usepackage{hyperref} \usepackage{hanging} ...
1
vote
1answer
96 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 ...
1
vote
1answer
16 views

float - Positioning tables and pictures

I want to have a full page table and after it, two full page pictures. But the pictures always appear before the table. If I try using FloatBarrier, it end up producing a page break after the table ...
1
vote
0answers
45 views

Supertabular in twocolumn mode: Unwanted pagebreaks

For my current project I need multiple tables with 2 columns that span over multiple pages, and all in twocolumn mode! Supertabular should be the right choice for this, if I'm not wrong. The problem ...
22
votes
5answers
497 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. ...
0
votes
1answer
22 views

Extra }, or forgotten $ \thispagestyle [closed]

I'm writing a protocol and everything was going fine until I did something (I guess) and I started getting these 4 errors \molspek.tex:101 Missing $ inserted \thispagestyle \molspek.tex:101 Extra }, ...
1
vote
1answer
42 views

Minipages across page breaks

I have defined a command that uses the minipage environment to format an "example" question within my document. \newcounter{Example} \newcommand{\example}[3]{% \refstepcounter{Example} ...
2
votes
1answer
21 views

Put some environment on left column and some others on right in article with twocolumn option

I use the article class with the twocolumn option. I would like to put definition environments on the left column and example environments on the right column. For example : ...
1
vote
1answer
27 views

Conditional page break to start a new section

I am trying to have a conditional page break for a section if there is not enough space in the bottom. To be clear, when an new section starts I want to check if there is enough space (25% of the text ...
11
votes
4answers
12k views

How do I force \section's to start on a new page if they don't fit on current page?

So I am writing a programming book, and I use \section for each topic. For example, I'd write, \section{Another way to double-space a file} \begin{lstlisting} awk 'BEGIN { ORS="\n\n" }; 1' ...
3
votes
3answers
105 views

Optional newpage command

Does there exist a command (which I will call \newpageoptional) which acts in the following way: Text and code 1 \newpageoptional{ Text and code 2 } Text and code 3 The effect ...
2
votes
3answers
34 views

Preventing page break within quoting environment

I'm trying to typeset some sanskrit verses, surrounding them by a quoting environment for indentation. One line contains half a verse, the first half ended by |, the second by ||, and I would like to ...
2
votes
0answers
22 views

Penalty between paragraphs

How do I modify the penalty given to a pagebreak between paragraphs? I looked everywhere and could not figure out. If I really need to I can redefine \par but I'm unsatisfied with such a hack.
9
votes
1answer
98 views

Can LuaTeX change the PAGE-breaking algorithm

One of the often highlighted features in LuaTeX is the ability to replace the default TeX line-breaking algorithm by something else. I wonder if it is similarly possible to replace the page-breaking ...
2
votes
1answer
28 views

Don't break page for new chapter unless chapter heading won't fully fit on current page

I am using the memoir class. I'm trying to ensure that new chapters happen on the same page as the last one, except in cases where parts of the chapter heading would have been split across two pages. ...
1
vote
0answers
49 views

How to make glossary use the full textheight?

I am using the package glossaries to create a glossary in my document. My glossary is too long to fit on one page, therefore LaTeX automatically continues the table on the next page. However, the ...
6
votes
1answer
90 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 ...
3
votes
2answers
39 views

Theorems spanning pages without losing width

I use declaretheoremstyle to declare a theorem environment. I like the format of shaded, it gives a special background color without shorten the width of a text. But one problem is that a theorem ...
2
votes
1answer
26 views

Verbatim without breaks

Hi I found a lot of questions which suggest something like How to box verbatim to prevent page break? to prevent breaks in a Verbatim environment. However this does not work for me as I display some ...
0
votes
0answers
30 views

Starting chapters on a right-hand page not working

As document class I'm using itsas_pfc, with the content I pasted below. I know it's big but, as I'm not very familar with LaTeX, I dont want to touch a lot the code so better if I post the entire ...
0
votes
1answer
21 views

Nested inputs with unwanted pagebreak

Let's say I have a document for which all sections and subsections are separate .tex-files. As I cannot nest \include, I'm using \input. \documentclass[a4paper,11pt,titlepage]{article} \title{...} ...
1
vote
0answers
23 views

Table is flushed to next page despite ample room on current page

I tried inserting a table below some text. The issue is, it seemed to have shifted the table to the next page although there is ample room for it to fit in the page with text. This is what I ...
0
votes
0answers
20 views

How can I solve the missing of the empty page after a certain chapter

I m using memoir to write a thesis. There is openright option in my template. Actually, before today everything is normal. I changed a computer today so that something happened to the empty page after ...
1
vote
1answer
20 views

Trouble putting text on a new page after a table

I have several large tables in my thesis that I want to isolate on a page by themselves as only two lines of text can fit underneath them. I have tried the \newpage and the \pagebreak commands, even ...
0
votes
0answers
36 views

Set Page numbers at Bottom in Memoir Class

I am using memoir class and am getting page numbers differntly positioned for even and odd numbered pages. I am using : \settrimmedsize{297mm}{210mm}{*} \setlength{\trimtop}{0pt} ...
2
votes
2answers
2k views

How to avoid heading orphan?

I want to get rid of pages ending with a heading title only. I want at least 2 text rows following the heading title to make a better look. What is the exact value to be passed to \Needspace*{} to ...
2
votes
1answer
25 views

Creating a newline breaks entire page?

I'm using LuaLaTeX and I tried using a template found at: http://www.latextemplates.com/template/deedy-resume-cv However, when I try running it using Texmaker, the page splits into 2. Any idea how I ...
13
votes
1answer
225 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
2answers
77 views

book table of contents: avoid page breaks after parts

I have a book with three parts, each introduced with \part{}, and using custom part pages that add a graphic to the Part page. e.g., \part[Exploratory and Hypothesis-testing Methods]% {Exploratory ...
23
votes
2answers
26k views

Start new chapter on same page

I am using report document class. When I create a new chapter, it starts it on a new blank page in which only the chapter name appears. I want to be able to start new chapters on the same page as the ...
2
votes
1answer
31 views

Marginnote right after \section: how to prevent page break?

Another update: when applying John Kormylo's answer to karlkoeller's answer from Making marginnote to appear either side of twocolumn, twoside document, make sure that \marginnote is followed by %, ...
2
votes
1answer
83 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
49 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
45 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 ...
14
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
328 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
250 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
38 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
53 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
50 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
26 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
33 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 ...