Previous |  Up |  Next

Article

Keywords:
LuaTeX; widows; orphans; LuaTeX; vdova; sirotek
Summary:
Balíček lua-widow-control pro LuaTeX/LuaLaTeX/ConTeXt/OpTeX odstraňuje vdovy a sirotky bez dalšího zásahu uživatele. Využívá přitom sílu LuaTeXu a přitom nenatahuje žádné vertikální mezery a ani nezkracuje stránky nebo sloupce. Namísto toho balíček automaticky prodlužuje některý z odstavců na té stránce nebo sloupci, kde by se vdova nebo sirotek vyskytli.
Pro použití balíčku postačí většině uživatelů LaTeXu uvést v preambuli dokumentu \usepackage{lua-widow-control}. Žádné další změny v dokumentu nejsou zapotřebí.
Summary:
The lua-widow-control package, for plain LuaTeX/LuaLaTeX/ConTeXt/OpTeX, removes widows and orphans without any user intervention. Using the power of LuaTeX, it does so without stretching any vertical glue or shortening any pages or columns. Instead, lua-widow-control automatically lengthens a paragraph on a page or column where a widow or orphan would otherwise occur.
To use the lua-widow-control package, all that most LaTeX users need do is place \usepackage{lua-widow-control} in their preamble. No further changes are required.
References:
Ambrose, G., Harris, P.: The Layout Book. Bloomsbury Academic. Advanced Level Series. isbn 9782940373536.
Bringhurst, R.: The Elements of Typographic Style. 3rd. Hartley & Marks. DOI 10.47397/tb/43-1/tb133chernoff-widows
Brown, Karl: The Typographical Widow: Who is she? What is she?. Bulletin of the New York Public Library. Vol. 52, no. 1, pp. 3–25. Available from: https://hdl.handle.net/2027/uc1.b3310084
Brown, Karl: The Typographical Widow: Encore. Bulletin of the New York Public Library. Vol. 52, no. 9, pp. 458–466. Available from: https://hdl.handle.net/2027/uc1.b3310084
Chernoff, Max: Automatically removing widows and orphans with lua-widow-control. TUGboat. Vol. 43, no. 1, pp. 28–39. Available from DOI: 10.47397/tb/43-1/tb133chernoff-widows. DOI 10.1111/coin.12165
Hunt, R.: Advanced Typography: From Knowledge to Mastery. Bloomsbury Publishing. isbn 9781350055926.
Isambert, Paul: Strategies against widows. TUGboat. Vol. 31, no. 1, pp. 12–17. ISSN 0896-3207. Available from: https://tug.org/TUGboat/tb31-1/tb97isambert.pdf
jeremie: Paragraph callback to help with widows/orphans hand tuning. [online]. 2017-07. [visited on 2022-11-08]. Available from: https://tex.stackexchange.com/q/372062
Knuth, Donald E.: The new versions of TeX and METAFONT. TUGboat. Vol. 10, no. 3, pp. 325–328. ISSN 0896-3207. Available from: https://tug.org/TUGboat/tb10-3/tb25knut.pdf
Knuth, Donald E.: The TeXbook. Addison–Wesley.
Krüger, Marcel: luametalatex. [online]. 2022-10. [visited on 2022-11-08]. Available from: https://github.com/zauguin/luametalatex
Mittelbach, Frank: A general framework for globally optimized pagination. Computational Intelligence. Vol. 35, no. 2, pp. 242–284. Available from: https://doi.org/10.1111/coin.12165 MR 3953891
Mittelbach, Frank: Managing forlorn paragraph lines (a.k.a. widows and orphans) in LaTeX. TUGboat. Vol. 39, no. 3, pp. 246–251. ISSN 0896-3207. Available from: https://tug.org/TUGboat/tb39-3/tb123mitt-widows.pdf
Mittelbach, Frank: The widows-and-orphans package. [online]. 2021-03. [visited on 2022-11-08]. Available from: https://ctan.org/pkg/widows-and-orphans
Moxon, Joseph: Mechanick exercises: The doctrine of handy-works applied to the art of printing. Vol. 2. London. Available from: https://archive.org/details/mechanickexercis00moxo_0
Olšák, Petr: TeXbook naruby. [TeXbook inside out]. Brno, Czech Republic: Konvoj. isbn 80-85615-64-9. Available from: https://petr.olsak.net/ftp/olsak/tbn/tbn.pdf
Oxford English Dictionary: club, n. [online]. Oxford University Press, 2021-09 [visited on 2022-11-08]. Available from: https://www.oed.com/view/Entry/34788
Oxford English Dictionary: line at end of paragraph. [online]. Oxford University Press, 2021-12 [visited on 2022-11-08]. Available from: https://www.oed.com/view/th/class/195380
Oxford English Dictionary: widow, n. [online]. Oxford University Press, 2021-12 [visited on 2022-11-08]. Available from: https://www.oed.com/view/Entry/228912
Plass, Michael Frederick: Optimal pagination techniques for automatic typesetting systems. Available from: https://tug.org/docs/plass/plass-thesis.pdf PhD thesis. Stanford University.
Saltz, I.: Typography Essentials Revised and Updated: 100 Design Principles for Working with Type. Rockport Publishers. isbn 9781631596483.
Thành, Hàn Thế: Micro-typographic extensions to the TeX typesetting system. Brno. Available from: http://www.pragma-ade.nl/pdftex/thesis.pdf. PhD thesis. The Faculty of Informatics, Masaryk University.
The NTS Team: The ε-TeX manual. [online]. [visited on 2022-11-08]. Available from: https://ctan.org/pkg/etex
Wermuth, Udo: Experiments with \parfillskip. TUGboat. Vol. 39, no. 3, pp. 276–303. ISSN 0896-3207. Available from: https://tug.org/TUGboat/tb39-3/tb123wermuth-parfillskip.pdf
Partner of
EuDML logo