{page-breaking} is about how (La)TeX breaks pages (and, in multi-column documents, columns) and how page/column breaking can be influenced.
4
votes
1answer
50 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
19 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 ...
1
vote
1answer
44 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
19 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 ...
2
votes
2answers
45 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 ...
3
votes
0answers
30 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} ...
4
votes
3answers
75 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
53 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 ...
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 ...
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 ...
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 ...
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 ...
2
votes
1answer
37 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 ...
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 ...
4
votes
2answers
176 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}
...
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
0answers
45 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{
...
2
votes
1answer
50 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 ...
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 ...
11
votes
1answer
75 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 ...
3
votes
1answer
68 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 ...
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}
...
2
votes
1answer
81 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 ...
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
87 views
mdframed being cut across pages
Is there a way to prevent this (see image) from happening when you are going onto another page?
38
votes
3answers
718 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 ...
2
votes
1answer
118 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 ...
1
vote
1answer
86 views
How to break page result of Maple output?
I have a file which Maple out put.
\documentclass{article}
\usepackage[left=20mm,right=20mm,top=15mm,bottom=20mm]{geometry}
\usepackage{maple2e}
\def\emptyline{\vspace{12pt}}
\DefineParaStyle{Maple ...
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 ...
1
vote
2answers
41 views
Place Image and Break Pages
I want to obtain the following format:
Text
Text
Text
Text
endofpage
image
newpage
Text
Text
Text
Text
I have three pages in total. The image occupies whole page and the text in newpage is ...
1
vote
0answers
72 views
Avoiding page break in the Latex bibliography list [closed]
I have a problem, the references are being split by the page break in a such strange manner.
I use IEEE style and already tried \usepackage[section]{placeins} but it influences any other section, ...
11
votes
2answers
227 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}
...
2
votes
1answer
53 views
Is it possible to break the following aligned?
I don't want to use the displayed math environment for which \allowdisplaybreak is designed. Shortly speaking, is it possible to break the following alined by defining something like ...
1
vote
1answer
53 views
Editing a Custom Class File to Eliminate Blank Pages, Fix TOC
I am using a modified BYU Thesis Template for my thesis.
This template has two undesired features that I would like to eliminate:
The template creates blank pages in various places. Examples are ...
2
votes
0answers
23 views
Prevent new sections to start on the lower part of page [duplicate]
Is it possible to redefine the section-command so that it automatically starts on a new page if say less than a quarter of the current page remains?
Below is a minimal working example. In this case ...
1
vote
1answer
88 views
How to use \displaybreak?
I have a very long equation
\begin{equation*}
\begin{aligned}
multiple line equation...
\end{aligned}
\end{equation}
But just using the above code causes the whole equation to start from a ...
10
votes
3answers
247 views
Whitespace that breaks across pages (e.g. for handwritten answers)
I'm creating a document where I want to leave white space of varying heights, e.g. for handwritten answers to questions.
It doesn't matter whether this empty space is bordered or not.
The key thing ...
6
votes
1answer
85 views
How do I make the title 'Figure' appear on the same page as my first figure
This is my code:
\documentclass[twoside, a4paper, 11pt]{article}
\title{}
\author{}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{mathtools}
...
4
votes
1answer
115 views
Inserting a blank left starting page in a Koma-script book
I am finishing my dissertation, and I'm using the Koma-script scrbook class. My text starts on a right page, which is exactly what I want, but for printing I need to add a completely blank, unnumbered ...




