How to Install and Uninstall texlive-lua-widow-control Package on openSuSE Tumbleweed

Last updated: November 08,2024

1. Install "texlive-lua-widow-control" package

In this section, we are going to explain the necessary steps to install texlive-lua-widow-control on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install texlive-lua-widow-control

2. Uninstall "texlive-lua-widow-control" package

This guide let you learn how to uninstall texlive-lua-widow-control on openSuSE Tumbleweed:

$ sudo zypper remove texlive-lua-widow-control

3. Information about the texlive-lua-widow-control package on openSuSE Tumbleweed

Information for package texlive-lua-widow-control:
--------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : texlive-lua-widow-control
Version : 2023.208.3.0.0svn65084-53.3
Arch : noarch
Vendor : openSUSE
Installed Size : 76.5 KiB
Installed : No
Status : not installed
Source package : texlive-specs-o-2023-53.3.src
Upstream URL : https://www.tug.org/texlive/
Summary : Automatically remove widows and orphans from any document
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]