Linked Questions
18 questions linked to/from Absolutely, definitely, preventing page break
198
votes
46
answers
24k
views
What are the most common mistakes that beginners of (La)TeX and Friends make?
I want to collect the most common mistakes, misconceptions, pitfalls, etc that (La)TeX and Friends users make. Please one answer for each mistake, misconception, pitfall, etc.
I am only interested in ...
29
votes
1
answer
27k
views
When does \nopagebreak work?
There are many examples where \nopagebreak doesn't work as expected:
Nopagebreak nopagebreak nopagebreak - why won't LaTeX listen to me?
How to make longtable respect \nopagebreak in the ...
14
votes
1
answer
21k
views
How to Label and Caption a Tikzpicture inside a tabular environment
What is the correct way to label and captionize a tkizpicture inside a tabular environment? (Since figures are not allowed inside a tabular)
Excerpt from my .tex:
\begin{tabular}{l r}
&
\...
12
votes
3
answers
6k
views
How to prevent page break between section heading and longtabu table?
I have created a minimal working example (MWE) consisting of a section and a longtabu table.
\documentclass{report}
\usepackage{longtable,tabu}
\begin{document}
An initial line of text
\vskip 47....
9
votes
2
answers
1k
views
Why is it so hard to prevent a page break?
Why won't LaTeX just let me keep things together on one page whenever I want to? Why isn't this straightforward to do? There is this:
Absolutely, definitely, preventing page break.
Maybe that works, ...
2
votes
2
answers
2k
views
Prevent table rows from being split across pages
I have a twocolumn document with a very long supertabular table.
Within the table, I have "subsections" that I want clumped together; not split over multiple pages. For this example, each "subsection"...
2
votes
1
answer
1k
views
Force paragraph to stay on same page where it began
I am organizing several abstracts for a conference booklet; some of them are too long, thus inducing a page break.
After finishing the booklet layout I am going to edit the abstracts to make them ...
4
votes
1
answer
476
views
Unwanted page break before align
I am having some issues with the positioning of a page break with align.
My code is roughly the following.
\documentclass{article}
\usepackage{amsmath, amsthm}
\begin{document}
%Lots of text to ...
1
vote
1
answer
950
views
Image going down in the next page, shifted towards right
\documentclass[12pt]{exam}
\newtheorem{theorem}{Theorem}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{commath}
\usepackage{epstopdf}
\usepackage{tikzpagenodes}
\...
1
vote
2
answers
506
views
Connection of two specific paragraphs
I have a specific kind of text. It looks like a big paragraph from several lines and than goes one another paragraph on one line (and consists of one reference to a link). But the text is too big, so ...
1
vote
1
answer
469
views
Flexibly start a new page for proof environment
I would like to redefine my proof environment so that if the content of the proof environment is only, say, 3 lines or fewer, then the entire proof environment will just start on a new page. Here is a ...
1
vote
2
answers
157
views
Highest Variable Value on Every Page
I am writing a document where each paragraph is categorized. I'm encoding the category as a simple numeric variable: 1, 2, 3, &c. On each page I want to know and possibly display the highest ...
0
votes
1
answer
239
views
Spacing between "clamped" paragraphs bad at end/start of page
I defined a new command that would "clamp" text together to prevent it from breaking across a page.
I wanted to be able to switch from clamped to unclamped text with no jarring issues with line ...
1
vote
2
answers
121
views
Vertical spaces in htlatex \ScriptEnv
I am using htlatex to generate the HTML version of book and I am having
problems with vertical spacing. I have configured an environment like this:
\ScriptEnv{tawny}
{\begin{samepage}\IgnorePar\EndP\...
1
vote
0
answers
75
views
How can I make sure that an *arbitrary* part of a document is printed on the same page?
I want to make sure that an arbitrary part of the document is always printed on the same page.
Note 1:
My problem focuses on lists and tables. However, I believe that the solution (if there is one)...