{widows-orphans} is about dealing with (typographic) widows (isolated lines created when paragraphs end on the first line of a page) and orphans (created when paragraphs start on the last line of a page). If you use this tag, add the more general {page-breaking} tag.

learn more… | top users | synonyms (2)

1
vote
0answers
20 views

How to set different \clubpenalty for main text and footnotes?

I am using memoir class to typeset a book containing texts with many footnotes. To control widows and orphans I use the following settings: \clubpenalty=5000 \widowpenalty=5002 \displaywidowpenalty=...
3
votes
2answers
23 views

widow paragraph title with orphan epigraph with epigraph package

When I use an \epigraph{} command (from the epigraph package) just after a paragraph containing a title, I can get a widow paragraph title on a page bottom and an orphan epigraph on the next page top… ...
1
vote
1answer
36 views

When using \widowpenalty and \clubpenalty, how can I prevent spacing increasing?

I use \widowpenalty and \clubpenalty to avoid widow and orphan lines. However, latex automatically increases the line spacing of my document. How do I prevent the increment of line spacing while using ...
3
votes
1answer
1k views

Adding floating space between main text and footnotes

I have to typeset a text with several widows and lots of footnotes. The editor told me to leave an additional blank line between the main text and the footnotes and to use this space to print the ...
13
votes
1answer
123 views

\@clubpenalty leaks out

In the following example the value of \clubpenalty has been reset to the one of \@clubpenalty on the second page: \documentclass[]{book} \usepackage{lipsum} \begin{document} \subsection{abc} blblb ...
7
votes
1answer
60 views

Unnecessary Hyphenation and orphaned words

I get unnecessary and weird hyphenation along with orphaned words at the end of my paragraphs although there is plenty enough room to fit the word into the line before. Some times, they aren't even ...
0
votes
0answers
31 views

Avoiding orphan parts of a command

I have a command that is used to print stuff with a certain structure: \newcommand{\miracle}[2]{ \textbf{#1} #2 \bigskip } How can I ensure that the stuff printed by the ...
0
votes
0answers
39 views

Bad typesetting with sig-alternate - teared headings, widows, orphans and unbalanced columns

This question is related to another one that describes only a part of the problem (sig-alternate class, and twocolumn unbalanced bottom alignment problem). I feel there must be better solution. I'm ...
1
vote
1answer
66 views

Equation at page break forces widow line from previous paragraph

I have a two-column document, and I'm having some weird behavior at an automatic page break. I have some text followed by some equations like this: So that abutting triangles do not double-paint ...
1
vote
0answers
32 views

Can \sloppybottom be turned off mid-document?

For a long document I am experimenting with \sloppybottom of the memoir-class to avoid orphans. Generally it works quite well, but as a side effect two lines of a footnote in my last chapter keep ...
1
vote
1answer
73 views

Orphan created by biblatex

I have a footnote that ends with an awkward orphan. The footnote is so long and the orphan so small that I would normally be able to fix this quite easily by pushing the orphan 12 back up on the ...
1
vote
0answers
86 views

How should I avoid orphan and widow lines in Context

Typesetting a very simple document (no maths etc, just text, quotations and images), I am stuck with several orphan and widow lines. Is there a way to make Context avoid doing this? I can't find any ...
3
votes
1answer
46 views

Is there an alternative for samepage for a multicolumn environment?

In my document, I successfully use samepage to force content to be on the same page. I want to do the same in a 2-column document so that the heading and the text are in the same column. How can I ...
10
votes
2answers
281 views

Preventing widows and orphans in book, keeping facing pages of same length

I have a document in the book class which has a number of widows and orhans when compiled to pdf. I tried to remove the widows and orphans by using the all option of the nowidow package. It seems to ...
4
votes
1answer
83 views

Prevent LaTeX from making pages longer or shorter (i.e. changing the text height)

When I try to prevent widows/orphans by increasing \widowpenaltyand clubpenalty, LaTeX usually decides to either make the page one line shorter (to prevent an orphan) or one line longer (to prevent a ...
5
votes
1answer
553 views

New environment, orphan line

I created three environments for my document: a booklet for a treasure hunt with scrreprt. I created 3 environments (the document is in french): enigma: \newenvironment{enigme}{\refstepcounter{...
3
votes
2answers
3k views

How to avoid heading orphan?

I want to get rid of pages ending with a heading title only. I want at least 2 text rows following the heading title to make a better look. What is the exact value to be passed to \Needspace*{} to ...
21
votes
1answer
631 views

What are the downsides of \widowpenalty10000 \clubpenalty10000?

I am writing a book with the Koma script class (scrbook). Every now and then I get a single line at the bottom or top of a page ("orphans" and "widows", respectively). I am considering to prevent this ...
2
votes
0answers
43 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 ...
6
votes
3answers
461 views

Preventing page break after the first or before the last list item

Is there a way to globally prevent all lists from having a page break inserted between the first and second items or between the last and second-last item? I'm fine with page breaks that are after the ...
1
vote
0answers
115 views

Reducing letter spacing to get rid of a widow, how much is appropriate?

Some times the only way to get rid of a widow is, to reduce the letter spacing in a certain paragraph or footnote. Being addicted to XeLateX unfortunately I can't use the microtype package to achieve ...
2
votes
1answer
105 views

Avoiding widows while keeping text height even across two-page spread

In The Elements of Typographical Style, the author notes (§2.4.8) that widows—single lines occurring at the top of a page—should be avoided. Yet the text height of two facing pages should be the same, ...
9
votes
4answers
244 views

Widow Orphan lstlisting

I have a listing of 6 lines. The listing box does not seem to fit on one page (it is on the bottom of the page) so the rest of the box is printed on the next page. There is nothing actually in the box ...
5
votes
1answer
350 views

Prevent page break after first line of example

I would like to find a way to prevent a page break between the first line of the example in following code. \documentclass{article} \usepackage{lipsum} \usepackage{gb4e} \begin{document} \lipsum[3-...
66
votes
5answers
24k views

How do I prevent widow/orphan lines?

How do I prevent a line from appearing by itself: Orphan: at the bottom of the page, or Widow: at the top of the page?
3
votes
1answer
82 views

Widows and Orphans when using the Verse package

First off, I am using a slightly modified version of the Classic Thesis stylesheet. It's too complicated a document to share it all, so there is that factor. Nevertheless, I've reproduced the issue ...
1
vote
0answers
83 views

Shortening text height across chapter to fill last page

We all know the problem of having a chapter that is just too large to fill the last page conveniently, leaving one or two (or three) lines at the top of the last page. Besides attempting feats of ...
0
votes
0answers
100 views

Orphan lines with memoir

I have read that for memoir in order to set separation between paragraphs you use \abnormalparskip{6pt} However I have a question: Does it fix to 6pt or does it allow a little variation between ...
2
votes
1answer
110 views

Prevent page from overflowing

Occasionally document overflows into the next page by few words or line. Though this can be adjusted manually by changing a font size or spacing, can it be automatically done? By automatic, I mean if ...
48
votes
3answers
2k 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 ...
8
votes
1answer
204 views

Check widows/orphans easily in PDF preview output

I'd like to know if there is a easy way to find in the PDF preview the orphans and widows (as does the draft option to search words out of the margins with a black box).
6
votes
2answers
732 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 ...
7
votes
1answer
645 views

marginpar and orphans

How can I avoid orphan lines if I use \marginpar? For example, here is a two-page document that does not have any orphans: \documentclass[letterpaper]{article} \usepackage{lipsum} \clubpenalty=10000 ...
3
votes
1answer
152 views

How to prevent page break in the last three lines of an environment?

I want to create an environment, thats content should not allowed a page break in the last three lines of the last paragraph. If the last three lines of the text inside the environment reach the ...
4
votes
1answer
161 views

Bleed into margins automatically to prevent orphans?

When I set my papers, it sometimes happens that the last line of a paragraph is very short, in extreme cases just a single word, perhaps a page number. I have set \clubpenalty to 10000, of course, ...
6
votes
1answer
1k views

How do \widowpenalty and \clubpenalty interact for a 2-line paragraph?

Sometimes \\* does not suffice to prevent a linebreak. Adding {\widowpenalty10000 \par} or {\clubpenalty10000 \par} helps if the separated line is paragraph-final and stranded at the top of a page ("...
26
votes
3answers
1k views

How to avoid widow lines after displayed equations

If a displayed equation is close to the bottom of the page, TeX likes to insert a page break even if the current paragraph contains only one more line after the equation, as e.g. in ... it follows ...
2
votes
0answers
89 views

How to avoid widows-orphans with mdframed?

I have a document with a lot of mdframed boxes ; which option can I set to avoid 'widow' lines at the end of the box (that is, avoid to have small parts of boxes on new pages)? \documentclass[a4paper]...
2
votes
1answer
174 views

How to avoid orphans and widows when using the combine class?

Is there a way to avoid orphans and widows when using the combine class? I have already tried this: \widowpenalty10000 \clubpenalty10000 or this: \usepackage[all]{nowidow} but they simply have ...
2
votes
1answer
277 views

How to avoid widows and orphans in ToC?

I want the chapter's author name being shown in the ToC. So I have modified the chapter to add the author there and use it in the page header as follows: \documentclass[10pt,twoside]{memoir} \...
4
votes
1answer
1k views

Widow penalty not working

It seems my Widowpenalty is not working, as nothing changes, even with a value of 10000. Is there some contradictory commands anywhere which may cause this problem? This is what I have \...
2
votes
2answers
193 views

How to handle unnecessary whitespace leading to widows/orphans?

I'm working on my paper using TexMaker and this is what's happening: I'm getting unnecessary whitespace before paragraph 'B'. As a result of the unnecessary whitespace I have a widow/orphan of an ...
26
votes
1answer
575 views

Evaluate typographical beauty of a document (widow, orphans, hyphens, etc) in order to optimize the page geometry

When finalizing documents, one of the last things I do is usually to play with the page geometry to improve the overall layout: get rid of a few orphans or widows, reduce the number of hyphenations, ...
30
votes
2answers
3k 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 ...
11
votes
2answers
442 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} \...
1
vote
0answers
75 views

Avoiding widows by increasing the page size [duplicate]

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 ...
10
votes
1answer
594 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 ...
8
votes
1answer
661 views

Avoid widowed signature lines

I have documents created in XeLaTeX with signature lines appearing at the end of the document. Sometimes these signatures appear on pages by themselves i.e. without preceding content. I would like to ...
4
votes
1answer
452 views

How to avoid widow lines in Table of contents (TOC)

I have a Table of Contents page (the last page, page 3) which just has one line on it. Is there a way of manually editing it so, say, Chapter 3 starts on page 2, as opposed to straddling pages 1 and ...
0
votes
1answer
115 views

How to adjust last text on last page dynamically? [closed]

I am writing report and now improving look and feel of the report. I found that last section appears in last of page and its remaininng part on next page which does not look good. How can i move ...