Sat, 05 Dec 2026 06:48:53 UTC Log in
Automatically remove widows and orphans from any document 1.13 MB built 2026-10-18 02:58:48 GMT

Description

Unmodified TeX has very few ways of preventing widows and orphans. In documents with figures, section headings, and equations, TeX can stretch the vertical glue between items in order to prevent widows and orphans, but many documents have no figures or headings. TeX can also shorten the page by 1 line, but this will give each page a different length which can make a document look uneven. The typical solution is to strategically insert \looseness=1, but this requires manual editing every time that the document is edited. Lua-widow-control is essentially an automation of the \looseness method: it uses Lua callbacks to find "stretchy" paragraphs, then it lengthens them to remove widows and orphans. Lua-widow-control is compatible with all LuaTeX and LuaMetaTeX-based formats. All that is required is to load the package at the start of your document. To load: Plain LuaTeX: \input lua-widow-control LuaLaTeX: \usepackage{lua-widow-control} ConTeXt: \usemodule[lua-widow-control] OpTeX: \load[lua-widow-control]

Dependencies

13 total
Requires8
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsZstd) <= 5.4.18-1
  • tex(etoolbox.sty)
  • tex(microtype.sty)
  • texlive-base
  • texlive-kpathsea
Provides5
  • tex(lua-widow-control-2022-02-22.sty) = 2026
  • tex(lua-widow-control.lua) = 2026
  • tex(lua-widow-control.sty) = 2026
  • tex(lua-widow-control.tex) = 2026
  • texlive-lua-widow-control = 12:svn77682-4.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

22
Name ascending sort Size
/usr/share/licenses/texlive-lua-widow-control 0.00 B
/usr/share/licenses/texlive-lua-widow-control/other-free.txt 943.00 B
/usr/share/texlive/texmf-dist/doc/luatex/lua-widow-control 0.00 B
/usr/share/texlive/texmf-dist/doc/luatex/lua-widow-control/README.md 2.86 KB
/usr/share/texlive/texmf-dist/doc/luatex/lua-widow-control/lua-widow-control.pdf 566.02 KB
/usr/share/texlive/texmf-dist/doc/luatex/lua-widow-control/lwc-zpravodaj.pdf 371.29 KB
/usr/share/texlive/texmf-dist/doc/luatex/lua-widow-control/tb133chernoff-widows.pdf 502.04 KB
/usr/share/texlive/texmf-dist/tex/context/third 0.00 B
/usr/share/texlive/texmf-dist/tex/context/third/enigma 0.00 B
/usr/share/texlive/texmf-dist/tex/context/third/enigma/t-enigma.mkv 0.00 B
/usr/share/texlive/texmf-dist/tex/context/third/enigma/t-enigma.mkv/t-enigma.mkvi 4.20 KB
/usr/share/texlive/texmf-dist/tex/context/third/lua-widow-control 0.00 B
/usr/share/texlive/texmf-dist/tex/context/third/lua-widow-control/t-lua-widow-control.mkiv 32.00 B
/usr/share/texlive/texmf-dist/tex/context/third/lua-widow-control/t-lua-widow-control.mkxl 4.13 KB
/usr/share/texlive/texmf-dist/tex/lualatex/lua-widow-control 0.00 B
/usr/share/texlive/texmf-dist/tex/lualatex/lua-widow-control/lua-widow-control-2022-02-22.sty 2.95 KB
/usr/share/texlive/texmf-dist/tex/lualatex/lua-widow-control/lua-widow-control.sty 10.19 KB
/usr/share/texlive/texmf-dist/tex/luatex/lua-widow-control 0.00 B
/usr/share/texlive/texmf-dist/tex/luatex/lua-widow-control/lua-widow-control.lua 54.90 KB
/usr/share/texlive/texmf-dist/tex/luatex/lua-widow-control/lua-widow-control.tex 2.65 KB
/usr/share/texlive/texmf-dist/tex/optex/lua-widow-control 0.00 B
/usr/share/texlive/texmf-dist/tex/optex/lua-widow-control/lua-widow-control.opm 1.92 KB
Files 1–22 of 22

Component of

buildroots that installed this RPM

No Buildroots