{page-breaking} is about how (La)TeX breaks pages (and, in multi-column documents, columns) and how page/column breaking can be influenced.
1
vote
1answer
34 views
How do I force LaTeX to show tables in the section where they are made? [duplicate]
I have the following problem:
My section 7.2 contains a lot of tables. Now it shows 2 tables, and then there is a space left on the page, that is not big enough for the next table.
Therefore, ...
1
vote
0answers
24 views
Custom environment splitting between pages
I created a custom environment for theorems using mdframed package:
\newtheorem{theorem}{Theorem}
\newtheorem{twierdz}[theorem]{Twierdzenie}
\newenvironment{twierdzenie}
...
5
votes
1answer
54 views
How to create a group of minipages that can be spanned across columns but can't be broken in two pages?
I'm trying to diagram an exam for an educational purpose. I'm using the package multicols to display questions in two columns. Each question of this exam is divided in three blocks:
base text
...
0
votes
0answers
21 views
continued ctable: footnotes only at end of table OR only items referenced on respective page
The ctable package enables nice typesetting of footnotes in tables. However, I have very long and wide tables which I set with the sideways option and split them up so that each subset of rows fits in ...
5
votes
0answers
31 views
How can one ensure that footnotes page-wrap only from verso (back, even-numbered) to recto (front, odd-numbered) pages?
How can one ensure that footnotes page-wrap only from verso (back, even-numbered) to recto (front, odd-numbered) pages?
With the following code, the line to which the second footnote is attached ...
3
votes
1answer
31 views
Aligned equation which can break through pages [duplicate]
I'm writing long sequences of aligned math equations, and LaTeX interprete them as single, unbreakable objects... which is Ok if the equation is nowhere near the end of the page.
Q: Is there a way to ...
2
votes
2answers
46 views
How to create space at the bottom of a the 1st page only
How should I add space at the bottom of a particular page? I want to create a space at bottom of 1st page and it should not followed for other pages. Suppose I want the last four line to go to the ...
1
vote
1answer
45 views
Longtable and multicolumn
I've been having some issues with the longtable package. I'm creating a table for some UML Case Details but there must be something that I cannot find which is continuously giving me an error ...
0
votes
0answers
20 views
How to prevent page break before first/single subitem? [closed]
In an enumerate environment I've got some items that all have a single subitem. One of these items however gets a pagebreak before its subitem. How do I get rid of this page break respectively make ...
3
votes
0answers
31 views
How to avoid page overrun using scrreprt document?
I'm in the process of writing a requirements document and have been using a template based on the scrreprt document class. The problem I'm running into is that when I compile my document, in certain ...
0
votes
0answers
29 views
Spanning a procedure of an algorithm more than 1 page [duplicate]
I am unable to do this in LaTeX. Please help.
And people who have marked this as duplicate, please mention the link to the question as I could not find any..
\begin{algorithm}
\begin{algorithmic} ...
5
votes
1answer
10k views
Explicit frame break with beamer class
I am looking for a way to insert explicit frame breaks. I'd like to use the built-in frame title continuation feature. The only way I have found is to play with different values of the ...
4
votes
3answers
76 views
Table of content only on right-side pages
Is there any way I can force all the pages of table of contents (and its family) to be printed only on the right side ?
Presently I am having it as :
\phantomsection
\tableofcontents
...
2
votes
2answers
37 views
New page at end of subsection (not start!)
In order to keep everything neat and tidy in my document (in particular with regards to floats floating all over the place), I want each subsection to end with a \clearpage. I originally had the ...
2
votes
2answers
55 views
Code listing spanning multiple pages with captions at top
Is it possible to span a lstlisting environment or lstlistinginput on multiple pages, such that the caption is repeated on each page (the listing counter stays the same), as well as being able to ...
4
votes
1answer
95 views
place symbol or some command on page break within lstlisting [duplicate]
Whenever I have a page break splitting my lstlisting on different pages, I would like to have a symbol or generally spoken some command inserted automatically. I can accomplish that manually by using ...
2
votes
1answer
56 views
Keeping two rows on one page using longtable
I am creating a longtable which spreads over multiple pages. The problem is that the coefficients and standard errors which are in two consequential rows sometimes get separated. How to I hold those ...
4
votes
1answer
27 views
pageskip when loading text from external file
I have the following MWE, using REVTeX:
\documentclass[aps, prl, twocolumn]{revtex4-1}
\begin{document}
\title{Title}
\author{Dog}
\date{\today}
\begin{abstract}
...
-1
votes
0answers
34 views
hyperref package adding blank page [closed]
\documentclass[conference]{IEEEtran}
\usepackage{algorithmic}
\usepackage{algorithm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[euler]{textgreek}
...
3
votes
1answer
35 views
Splitting ToC into two parts, each in one page
The Table of Contents in my LyX document is multiple pages long, but LyX splits it at an undesirable position. I want to split the Table of Contents manually. An equivalent to \newpage but only inside ...
0
votes
0answers
41 views
How to prevent Latex to make a single line page break [duplicate]
I'm writing a memoir and sometimes I get this:
... Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim ...
4
votes
2answers
180 views
Boxed text between pages
I've made boxed text into a manuscript using tikz by following the example in texamples, it works like a charm as long as the box is short enough to fit into a page.
\documentclass{article}
...
4
votes
1answer
844 views
How do I make figure captions span multiple pages?
How do I make figure captions span multiple pages?
I have a very long caption for a figure and would like it to carry on to the next page.
EDIT: I would like this to work in both one sided and two ...
1
vote
0answers
46 views
“align” inside “table” because of table caption - how to do pagebreak?
I have a table:
\begin{table}
\begin{align}
\nonumber
b_{1} & = 0,200 & \beta_{1} & = z \\
\nonumber
b_{2} & = 0,022 ...
7
votes
1answer
3k views
Algorithm over 2 pages
I am writing a few rather large pseudocode functions using algorithm and algorithmic, i.e. my code looks something like:
\begin{algorithm}
\caption{Coolest Algorithm ever} ...
4
votes
2answers
105 views
Looking for a mid-page break solution
I'm trying to write bios in a column document in which the employee's description appears next to their picture in the adjacent column. I'm trying to get the pictures to align perfectly with the bio ...
5
votes
1answer
86 views
Preventing page break in register between reference and page number (ConTeXt)
Problem: The page number of an reference in the register is set to th next page - pake breaking between the reference and the page number.
I do not know how to produce a smaller Example:
...
5
votes
1answer
50 views
Removing a white page between Appendix heading and Appendix A
I tried looking through all the similar questions but couldn't find a similar case. I am writing in article class, this is my preamble:
\documentclass[10pt,twocolumn]{article}
...
4
votes
2answers
75 views
Dynamically insert full-page image at nearest page break
The situation: I have a document that essentially consists of many pages of plain text. I would like to include a full-page image at the page break nearest to a given line. It is important that the ...
2
votes
1answer
40 views
Fancyhdr package and page numbering issues
I am using the fancyhdr package and I have got big issues with the page numbering. Indeed, the pages appear for each new title, but then I don't have anymore page numbers,
Here is the code furnish by ...
0
votes
1answer
48 views
Floating image spanning over newpage
I m wiring one report in which i need to add images in each section. Each section start on new page but i found when there is not enough space on one section, image float to another section and there ...
16
votes
2answers
365 views
Column-wise break of extra wide tables
I have to plot geochemical data tables that are like this table
, i.e. with a header column, but that have much more sample columns. When having too many columns, the table has to be broken at a ...
3
votes
1answer
69 views
Split mdframed environment occasionally skips page
I'm currently using the mdframed package for a custom environment for my master's thesis. In rare cases, the environment shows some rather strange behaviour — the correctly split environment (i.e. the ...
3
votes
1answer
24 views
Leading space in samepage environment after equation
When used directly after the an equation, the samepage environment inserts a leading space. Is this the intended behavior? How do I remove it?
Compare the output of
...
9
votes
3answers
64 views
Avoid page break between line and quote environment
I encountered a little problem while writing my homework in LaTeX.
I wrote the following code:
\documentclass{article}
\begin{document}
\center{Title}
\vspace{18cm}\\
This line should be on the same ...
25
votes
2answers
1k views
Widow word on a page? I thought LaTeX wouldn't do that
Just had a surprise. I have a section in an article followed by a figure. The text flows over a page and ... one more word on the next page (which also includes the figure).
Yes, I added a ~ before ...
38
votes
3answers
719 views
Why no vertical-mode Knuth-Plass?
I have only basic knowledge of the TeX internals, so I hope what I am saying here is not complete nonsense. If I understand correctly, in TeX, horizontal positioning / line breaking is done using a ...
0
votes
3answers
74 views
How to start document with empty page followed by table of contents?
In a book class document, I am trying to insert one empty page before the table of contents.
I tried with the following code :
\documentclass[a4paper]{book}
\begin{document}
...
2
votes
1answer
51 views
specifying a longtable not to split
I am using longtable in my report as I have many tables that are longer than a page. To make it consistent, I am using longtable for all the tables. Many times because of page settings, a small table ...
2
votes
0answers
46 views
Ensure float appears directly after `\afterpage` and `landscape`
I have a large (full page) landscape figure that I would like to appear on the page opposite to a large (full page) portrait figure. The landscape figure is generated like so:
\afterpage{
...
11
votes
1answer
76 views
Is something the first item on a page?
How can i identify logically, whether something is the first item on a page, i.e. there is nothing above it (apart from header)?
Consider the following, is is basically a feature environment, which ...
0
votes
0answers
28 views
How to pagebreak within listings? [duplicate]
I have a quite big txt file, and the problem is, if I include it with listings, latex tries to put it on one page, but it is too big for one page. So a part is missing. I am wondering, if Latex could ...
2
votes
1answer
119 views
Horizontal dashed line on page break in listings environment
Well, the title says it all. I have code scripts that span over multiple pages. Is it possible to display a dashed line at the bottom and/or top of the page in which the listings environment ...
2
votes
1answer
82 views
How do I put list of figures and list of tables on separate pages?
When I put \usepackage{tocloft} in the preamble the pages that had list of figures and list of tables have been shifted forward. List of figures now starts on the contents page and list of tables ...
4
votes
3answers
77 views
Same page and multicols
I use multicols at times for specific blocks in my thesis, which has a title, and a block of stuff similar to the following:
\documentclass{article}
\usepackage{lipsum}
\usepackage{multicol}
...
11
votes
2answers
228 views
How to avoid orphan or widow when using tcolorbox?
My MWE below should not be simplified anymore to avoid breaking my real scenario. The settings are tightly coupled.
\documentclass{article}
\usepackage[a6paper,vmargin=15mm,hmargin=5mm]{geometry}
...
3
votes
1answer
43 views
Force Poem Title and graphics on the same page
I've been using \needspace{4\baselineskip} to keep Poem Titles with a graphic produced by lilypond-book (music typesetting engine) together. In a 184p. document with 79 different Poem Titles followed ...
0
votes
0answers
48 views
Put a break after authors
I want to put a page break after the authors as there is a small space between the authors block and the abstract.
7
votes
1answer
88 views
mdframed being cut across pages
Is there a way to prevent this (see image) from happening when you are going onto another page?
0
votes
0answers
41 views
Chapter header is not placed right before pagebreak
I have a document that is followed by a set of appendices. In one of these appendices, I want to include flowcharts as figures that take a whole page. The way I want it to look is as follows:
First ...
