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

1
vote
1answer
37 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 ...
1
vote
0answers
42 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
14 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 ...
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 ...
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 }, ...
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 ...
1
vote
0answers
42 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 ...
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.
2
votes
1answer
27 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
1answer
41 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} ...
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
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 ...
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 ...
1
vote
0answers
48 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 ...
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
35 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
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 ...
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} ...
2
votes
2answers
76 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 ...
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
81 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} ...
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 ...
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 ...
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 ...
2
votes
0answers
29 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 ...
3
votes
1answer
55 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
39 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
47 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} ...
0
votes
0answers
70 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 ...
0
votes
1answer
47 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: ...
1
vote
2answers
62 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 ...
1
vote
0answers
26 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]. ...
4
votes
0answers
160 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), ...
0
votes
0answers
47 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\\ ...
2
votes
1answer
57 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
1answer
94 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 ...
3
votes
0answers
68 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
25 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 ...
2
votes
1answer
60 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- ...