{page-breaking} is about how (La)TeX breaks pages (and, in multi-column documents, columns) and how page/column breaking can be influenced.
11
votes
1answer
69 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
0answers
42 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 ...
2
votes
1answer
86 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
58 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
68 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
214 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
33 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
43 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
67 views
mdframed being cut across pages
Is there a way to prevent this (see image) from happening when you are going onto another page?
28
votes
2answers
351 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
0answers
31 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
1answer
51 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 ...
1
vote
0answers
41 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, ...
1
vote
2answers
40 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 ...
6
votes
1answer
118 views
Conditional page breaking
I have used LaTeX on and off for a number of years now for several large documents with evolving versions over long lifetimes. But every time it seems like, powerful and wonderful as LaTeX is, there ...
2
votes
1answer
50 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 ...
10
votes
2answers
143 views
\paragraphfootnotes with text colour
I am having some trouble with my footnotes becoming coloured in certain situations. In particular, I am wanting to use memoir's \paragraphfootnotes, but all the footnotes for a page become coloured if ...
1
vote
1answer
35 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
70 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 ...
6
votes
1answer
76 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
329 views
Prevent column break in multicolumn index
I am using imakeidx to generate a multicolumn index with makeindex.
Here is an excerpt from my .ind:
\item \BRbooktitlestyle {\BRepistlenumberstyle {1}Jean}
\subitem ...
5
votes
2answers
648 views
How can I force bibliography items not to be split across pages? [duplicate]
Possible Duplicate:
How can I prevent page break between lines of a paragraph or bibliography entry?
\documentclass{mwrep}
\usepackage[nodisplayskipstretch]{setspace} \setstretch{1.9}
...
14
votes
2answers
3k views
How can I split a beamer bibliography across two slides?
I have several citations in a beamer-based presentation. Is it possible to split the bibliography across two slides? I'm using natbib / bibtex. And I currently just have:
\begin{frame}
\tiny
...
2
votes
1answer
327 views
Bad looking table of contents (on entire page)
\documentclass[12pt,a4paper]{mwrep}
\usepackage{polski}
\usepackage[cp1250]{inputenc}
\usepackage{indentfirst}
\frenchspacing
\linespread{1.3}
\author{Me}
\title{My title}
\begin{document}
...
10
votes
3answers
230 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 ...
13
votes
1answer
314 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 ...
4
votes
1answer
81 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 ...
4
votes
1answer
78 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:
...
0
votes
1answer
35 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 ...
3
votes
1answer
44 views
Using longtable with \cmidrule: page-breaking issues
Here's a (minimal?) working example that illustrates both the issues I am having:
\documentclass{article}
\usepackage{longtable,booktabs,lipsum,array}
\usepackage{pgfplots}
...
6
votes
1answer
100 views
How to not have widows and orphans without using raggedbottom
I know I can set \clubpenalty and \widowpenalty to 10 000 to make them “really bad”, but then TeX sees it equally bad to cut the page short when there is no vertical stretch (i.e. \parskip=0pt), and ...
1
vote
1answer
55 views
Creating title page in revtex with twocolumn layout
I'm trying to create a separate title page for a report in revtex. This works fine if I have single column layout however I want the report to be in two column format. When I have this even including ...
3
votes
1answer
336 views
Breaking framed boxes across pages - or, a better design for a homework problem set?
My school's recommended homework document class file uses a boxedminipage to typeset problem statements so they appear in a box. However, this has the unfortunate consequence that they can't be broken ...
3
votes
1answer
50 views
How to break a pseudocode box between two pages [duplicate]
I am using the method here to generate my pseudocode, however my code is long and after running the tex file, instead of breaking the code box into two parts, it moves the whole code to the next page. ...
14
votes
2answers
582 views
A special example environment
How can I define an environment named "example" so that:
can be broken over pages
has a horizontal line above "Example \chap.\no" (e.g. Example 4.10),
and vertical line that is spread to the whole ...
2
votes
1answer
68 views
how to add new page (page break) to article
This is my code, I am learning how to use the TikZ package and am trying to put different examples on different pages. I would like to have a page break between lines 22 & 24 if at all possible. ...
7
votes
0answers
131 views
How to put one big image on each page [duplicate]
Possible Duplicate:
How to include a picture over two pages, left part on left side, right on right (for books)?
The problem is the following:
I am formatting a twopage book on latex and I ...
0
votes
1answer
41 views
Using exam class, text entered in \fullwidth{} messes up pagebreaks
I am using the exam class to write up a document with questions, but with long passages of text between the questions. In order to get the indentation correct, I have been using \fullwidth{} for ...
3
votes
2answers
61 views
\clearpage after every subsubsection
I'd like to clear the page at the end of every \subsubsection. I tried
\usepackage{titlesec}
\newcommand{\subsubsectionbreak}{\clearpage}
But this appears to force a \clearpage at the start of ...
2
votes
1answer
61 views
Awful page breaking when very long multicolumns items are used
I am using ltablex with \multicolumns. My problem is that I have to introduce a lot of text inside of single \multicolumn items, then when it automatically breaks the table on two different pages, it ...
0
votes
1answer
91 views
Allow frame breaks in multicolumn environment
I want beamer to automatically split my text over multiple frames (as many as is required) while retaining the format of the specified number of multicolumns (in this case 3). I do not want to have to ...
6
votes
4answers
2k 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'
...
5
votes
2answers
502 views
How to disable pagebreak on \hline in longtable?
How to disable pagebreak on \hline in longtable?
This is an example illustrating my problem:
\documentclass[12pt,a4paper,oneside]{letter}
\usepackage{longtable}
\begin{document}
...
4
votes
1answer
95 views
How to prevent a page break between paragraphs
I would like to typeset something like a "quote plus attribution", e.g. at the beginning of a book chapter. It should look like this:
CHAPTER TITLE
This is an introductory quote.
...
3
votes
1answer
161 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, ...
1
vote
0answers
57 views
Avoiding widows by increasing the page size
Two related questions:
I think atm I feel that the best and easiest way to avoid widows and orphans is to let the affected pages differ a little in size. Almost no one would recognise it and -- even ...
1
vote
0answers
14 views
Minted in listing: break code across pages? [duplicate]
I'm using minted to highlight code. And I put that into listings -- in order to get those numbered. By it self minted breaks code across pages. But when I put it into listings -- I get code on a ...
8
votes
1answer
407 views
Using mdframed after a section heading
The following is a very contrived example, but it illustrates a problem I am unable to solve with the mdframed package. When the mdframed environment follows a section heading but there is ...


