# 孤行与寡行

**孤行与寡行**是两种排版缺陷，指段落被分页、分栏或分区断开后，其中单独一行与段落其余部分隔离开来。最常见的用法中，孤行（widow）指段落的最后一行单独出现在页面顶部，寡行（orphan）指段落的第一行单独滞留在页面或栏的底部。<sup>[1](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/widows)</sup><sup> • </sup><sup>[2](https://practicaltypography.com/widow-and-orphan-control.html)</sup> 两者都被视为缺陷，因为它们破坏视觉流畅性，并造成别扭的空白。<sup>[3](https://github.com/bergside/typeui/blob/main/skills/fundamentals/typography-principles.md)</sup>

| 关键事实 | 详情 |
|---|---|
| 孤行 | 段落的最后一行单独出现在页面或栏的顶部；长度不限，甚至可以只有一个词<sup>[1](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/widows)</sup><sup> • </sup><sup>[2](https://practicaltypography.com/widow-and-orphan-control.html)</sup> |
| 寡行 | 段落的第一行单独滞留在页面或栏的底部，其余部分转到下一页或下一栏<sup>[2](https://practicaltypography.com/widow-and-orphan-control.html)</sup><sup> • </sup><sup>[3](https://github.com/bergside/typeui/blob/main/skills/fundamentals/typography-principles.md)</sup> |
| CSS 属性 | `widows` 和 `orphans` 设定分页、分栏或分区断点所产生的片段顶部和底部最少显示的行数；两者默认值均为 2<sup>[4](https://web-platform-dx.github.io/web-features-explorer/features/widows-orphans/)</sup><sup> • </sup><sup>[5](https://llmsx.org/tree/editorial-micro-typography-type-craft-defects/)</sup> |
| CSS 适用范围 | 仅作用于分片断点：分页媒体（打印）以及多栏或分区布局；连续滚动的页面没有断点，因此这些属性在那里不起作用<sup>[6](https://web-tutorial.com/css/reference/orphans.html)</sup><sup> • </sup><sup>[7](https://www.smashingmagazine.com/2019/02/css-fragmentation/)</sup> |
| 浏览器支持 | Chrome 25（2013 年）、Edge 12（2015 年）和 Safari 1.3（2005 年）支持这些属性；Firefox 不支持（Mozilla 缺陷 137367）<sup>[4](https://web-platform-dx.github.io/web-features-explorer/features/widows-orphans/)</sup> |
| 严重程度准则 | 应避免末行短于行宽（measure）的 20%；短于行宽三分之二的寡行比孤行更糟<sup>[8](https://www.bloomsburyvisualarts.com/app/downloadpdf?cachepagetype=$cachepagetype&chapterPdfId=9781350055940.ch-009.pdf&citationExist=true&currentTime=Sun+Aug+03+2025+17:00:00+Pacific+Daylight+Time&docIdS=b-9781350055940-chapter9&documentId=b-9781350055940&epdfIsbn=undefined&lang=en&mlaCitation=&openAccess=false&productLogo=bloomsbury_assets/bva-hub/images/BVA_Logo-H-3f48cc-1100x240.jpg&productName=bva-hub&territory=&tocId=b-9781350055940-chapter9&tocPage=false&type=encyclopedia&workloc=$workPath&xmlPath=bva-hub/48/content-types/encyclopedia/9781350055940_txt_xml.xml&xsltPath=/content-types/encyclopedia/chapter-download.xsl)</sup> |
| 自动控制 | Adobe 报告称，将孤行/寡行控制设为 2 行可自动解决 87% 的情况<sup>[9](https://www.foglioprint.com/blog/widows-and-orphans-in-typography)</sup> |

## 定义与术语

标准定义来自印刷排版。设想一个段落从一页底部开始，在下一页顶部继续：如果只有段落的最后一行出现在第二页顶部，那一行就是孤行；如果只有第一行出现在第一页底部，那一行就是寡行。<sup>[2](https://practicaltypography.com/widow-and-orphan-control.html)</sup> 一个相关术语“短尾行”（runt）指段落中任何位置的短末行，不限于页面或栏的断点处。<sup>[5](https://llmsx.org/tree/editorial-micro-typography-type-craft-defects/)</sup>

用法并不统一。托尼·塞登（Tony Seddon）是一位专攻书籍设计与印刷设计的自由设计师、艺术总监和作家，其已出版作品包括《字体的演进》（*The Evolution of Type*，2015 年）。他考察了这一领域，发现有些资料把两个术语颠倒使用，有些资料对两者的定义几乎相同，还有些资料用“孤行”泛指任何短行或孤立行。他的结论是，多数观点与上述标准定义一致，但在实践中，设计师提到任一术语时，无论听者个人用哪套词汇，都能被理解。<sup>[10](https://yalebooks.yale.edu/2016/10/28/widows-and-orphans-tony-seddon-on-type-terms/)</sup> 理查德·亨特（Richard Hunt）是《高级排版：从知识到精通》（*Advanced Typography: From Knowledge to Mastery*，Bloomsbury Visual Arts，2020 年）中“文字排印”一章的作者，他也注意到同样的争论，并补充说多数从业者干脆就说“修一下孤行寡行”，并不区分两者。<sup>[8](https://www.bloomsburyvisualarts.com/app/downloadpdf?cachepagetype=$cachepagetype&chapterPdfId=9781350055940.ch-009.pdf&citationExist=true&currentTime=Sun+Aug+03+2025+17:00:00+Pacific+Daylight+Time&docIdS=b-9781350055940-chapter9&documentId=b-9781350055940&epdfIsbn=undefined&lang=en&mlaCitation=&openAccess=false&productLogo=bloomsbury_assets/bva-hub/images/BVA_Logo-H-3f48cc-1100x240.jpg&productName=bva-hub&territory=&tocId=b-9781350055940-chapter9&tocPage=false&type=encyclopedia&workloc=$workPath&xmlPath=bva-hub/48/content-types/encyclopedia/9781350055940_txt_xml.xml&xsltPath=/content-types/encyclopedia/chapter-download.xsl)</sup> 有些团队偏爱更温和的说法“吊死鬼”（danglies），以避免带有贬义色彩的语言。<sup>[3](https://github.com/bergside/typeui/blob/main/skills/fundamentals/typography-principles.md)</sup>

一个传统助记法出自罗伯特·布林赫斯特（Robert Bringhurst），他是排版师、《排版风格要素》（*The Elements of Typographic Style*）的作者。该助记法按方向区分两者：“寡行有未来而无过去”（其段落延续到下一页，但在它自己所在的页面上，它前面什么也没有）。<sup>[11](https://mirror.math.princeton.edu/pub/CTAN/info/memdesign/memdesign.pdf)</sup>

## 严重程度与判断

两种缺陷都是程度问题。亨特建议按比例而非绝对标准来思考：应避免末行短于行宽的 20%，而在长行上看起来像孤行的情况，在短行上可能并无不妥。他还认为，短于行宽三分之二的寡行比孤行更糟，因此如果调整前文的间距能防止出现寡行，那就值得一做。<sup>[8](https://www.bloomsburyvisualarts.com/app/downloadpdf?cachepagetype=$cachepagetype&chapterPdfId=9781350055940.ch-009.pdf&citationExist=true&currentTime=Sun+Aug+03+2025+17:00:00+Pacific+Daylight+Time&docIdS=b-9781350055940-chapter9&documentId=b-9781350055940&epdfIsbn=undefined&lang=en&mlaCitation=&openAccess=false&productLogo=bloomsbury_assets/bva-hub/images/BVA_Logo-H-3f48cc-1100x240.jpg&productName=bva-hub&territory=&tocId=b-9781350055940-chapter9&tocPage=false&type=encyclopedia&workloc=$workPath&xmlPath=bva-hub/48/content-types/encyclopedia/9781350055940_txt_xml.xml&xsltPath=/content-types/encyclopedia/chapter-download.xsl)</sup> 马修·巴特里克（Matthew Butterick）是排版师、《实用排版》（*Practical Typography*）的作者，他指出孤行通常比寡行更分散注意力，因为寡行至少总是完整的一行，而孤行可以缩到只剩一个词。<sup>[2](https://practicaltypography.com/widow-and-orphan-control.html)</sup>

## 自动控制

页面布局和文字处理软件提供孤行与寡行控制。[Adobe InDesign](https://www.edgepedia.org/zh/adobe-indesign) 的“保持选项”包括“保持行在一起”和“与下段同页”，可以强制每个段落开头和结尾至少显示若干行，并让标题与其后的文字保持在一起。<sup>[9](https://www.foglioprint.com/blog/widows-and-orphans-in-typography)</sup><sup> • </sup><sup>[5](https://llmsx.org/tree/editorial-micro-typography-type-craft-defects/)</sup> 文字处理器提供更简单的开关：在 [Microsoft Word](https://www.edgepedia.org/zh/microsoft-word) 中，段落 → 换行和分页 → 孤行/寡行控制；在 Apple [Pages](https://www.edgepedia.org/zh/pages-word-processor) 中，是一个“防止孤行和寡行”复选框。文字处理器中的这类控制是全有或全无的；孤行和寡行无法分别调节。<sup>[2](https://practicaltypography.com/widow-and-orphan-control.html)</sup>

控制的原理是移动行。寡行被连同其段落其余部分推到下一页；消除孤行则是把行从一页底部移到下一页顶部。副作用是页面底部出现空白，巴特里克认为这有时比缺陷本身更恼人，他建议只在孤行和寡行造成明显问题时才使用控制。<sup>[2](https://practicaltypography.com/widow-and-orphan-control.html)</sup> 在 TeX 排版系统中，同样的思路以惩罚值（penalties）表示，例如 `\widowpenalty=10000`，即对孤行的最大惩罚值。<sup>[12](https://schemer.in/books/type/pdf/the-well-set-typographer.pdf)</sup>

## 网页上的修复

在连续滚动的网页上，CSS 的 `widows` 和 `orphans` 属性不起作用，因为没有分页；它们在打印样式表和多栏布局中才有意义，在那里它们作用于分片断点。<sup>[6](https://web-tutorial.com/css/reference/orphans.html)</sup><sup> • </sup><sup>[7](https://www.smashingmagazine.com/2019/02/css-fragmentation/)</sup> 在支持的浏览器中，它们也适用于报纸式分栏布局，这类布局同样会遇到印刷中那种孤立行问题。<sup>[13](https://demosthenes.info/blog/946/css-last-line-controlling-widows-)</sup>

对于普通的单栏网页文本，较新的 CSS 解决了短末行这一相关问题。从 Chrome 117 起，`text-wrap: pretty` 会在段落末尾重新评估断行以避免寡行，并且在段落末尾连续多行以连字符结尾时调整断词和两端对齐；它只处理寡行，不处理孤行，且与 `orphans` 属性不同。<sup>[14](https://developer.chrome.com/blog/css-text-wrap-pretty)</sup> WebKit 的实现由 WebKit 团队的设计师兼开发者倡导者珍·西蒙斯（Jen Simmons）描述，将同样的思路扩展到短末行、参差边缘（rag）以及一般的断词处理。<sup>[15](https://webkit.org/blog/16547/better-typography-with-text-wrap-pretty/)</sup> 相比之下，`text-wrap: balance` 不防止寡行，而是把词均匀分布到各行，推荐用于标题和短段落。<sup>[14](https://developer.chrome.com/blog/css-text-wrap-pretty)</sup><sup> • </sup><sup>[3](https://github.com/bergside/typeui/blob/main/skills/fundamentals/typography-principles.md)</sup>

手动网页修复方法包括：在标题最后一个词前插入不换行空格（`&nbsp;`），把它拉到上一行；或者将容器加宽或缩窄几个字符。<sup>[3](https://github.com/bergside/typeui/blob/main/skills/fundamentals/typography-principles.md)</sup> 巴特里克警告不要用硬换行来修复断行，因为文本一旦重新排版，硬换行又会造成新的断行。<sup>[2](https://practicaltypography.com/widow-and-orphan-control.html)</sup> 在书籍和长文档工作中，从业者还报告说，自动控制留下的残余情况，通常用约 ±5 个单位的手动字偶距或整体字距调整以及不换行空格来修复。<sup>[9](https://www.foglioprint.com/blog/widows-and-orphans-in-typography)</sup>

## References

1. [`widows` CSS property, MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/widows)
2. [Widow and orphan control, Matthew Butterick, Practical Typography](https://practicaltypography.com/widow-and-orphan-control.html)
3. [Typography principles: widows, orphans, the rag, typeui (GitHub)](https://github.com/bergside/typeui/blob/main/skills/fundamentals/typography-principles.md)
4. [Web features explorer: Widows and orphans](https://web-platform-dx.github.io/web-features-explorer/features/widows-orphans/)
5. [Editorial Micro-Typography & Type-Craft Defects, LLMS-Explorer](https://llmsx.org/tree/editorial-micro-typography-type-craft-defects/)
6. [CSS `orphans` property reference, Web-Tutorial.com](https://web-tutorial.com/css/reference/orphans.html)
7. [Breaking Boxes With CSS Fragmentation, Rachel Andrew, Smashing Magazine (2019)](https://www.smashingmagazine.com/2019/02/css-fragmentation/)
8. [Richard Hunt, "Setting type," Advanced Typography: From Knowledge to Mastery, Bloomsbury Visual Arts, 2020](https://www.bloomsburyvisualarts.com/app/downloadpdf?cachepagetype=$cachepagetype&chapterPdfId=9781350055940.ch-009.pdf&citationExist=true&currentTime=Sun+Aug+03+2025+17:00:00+Pacific+Daylight+Time&docIdS=b-9781350055940-chapter9&documentId=b-9781350055940&epdfIsbn=undefined&lang=en&mlaCitation=&openAccess=false&productLogo=bloomsbury_assets/bva-hub/images/BVA_Logo-H-3f48cc-1100x240.jpg&productName=bva-hub&territory=&tocId=b-9781350055940-chapter9&tocPage=false&type=encyclopedia&workloc=$workPath&xmlPath=bva-hub/48/content-types/encyclopedia/9781350055940_txt_xml.xml&xsltPath=/content-types/encyclopedia/chapter-download.xsl)
9. [Widows and Orphans in Typography: An Author's Guide, Foglio Print](https://www.foglioprint.com/blog/widows-and-orphans-in-typography)
10. [Widows and Orphans: Tony Seddon on Type Terms, Yale University Press (2016)](https://yalebooks.yale.edu/2016/10/28/widows-and-orphans-tony-seddon-on-type-terms/)
11. [A Few Notes on Book Design (memdesign), CTAN](https://mirror.math.princeton.edu/pub/CTAN/info/memdesign/memdesign.pdf)
12. [The Well-Set Typographer](https://schemer.in/books/type/pdf/the-well-set-typographer.pdf)
13. [CSS last-line: Controlling Widows & Orphans, demosthenes.info](https://demosthenes.info/blog/946/css-last-line-controlling-widows-)
14. [CSS text-wrap: pretty, Chrome for Developers blog (2023)](https://developer.chrome.com/blog/css-text-wrap-pretty)
15. [Better typography with text-wrap pretty, Jen Simmons, WebKit blog (2025)](https://webkit.org/blog/16547/better-typography-with-text-wrap-pretty/)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 25, 2026 · Edited: Sep 30, 2026; Oct 25, 2026 · Last review: Oct 25, 2026*

Topic: 艺术与文化 › 视觉艺术与设计 › 平面设计与字体排印 › 字体排印与字体

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/widows-and-orphans

English original: https://www.edgepedia.org/widows-and-orphans
