CTAN Comprehensive TeX Archive Network

luavlna – Prevent line breaks after single letter words, units, or academic titles

In some languages, like Czech or Polish, there should be no single letter words at the end of a line, according to typographical norms. This package handles such situations using Lua’s callback mechanism. In doing this, the package can detect languages used in the text and insert spaces only in parts of the document where languages requiring this feature are used.

Another feature of this package is the inclusion of non-breakable space after initials (like in personal names), after or before academic degrees, and between numbers and units.

The package supports both plain Lua and Lua.

BTW: “vlna” is the Czech word for “wave” or “curl” and also denotes the tilde which, in , is used for “unbreakable spaces”.

Sources/macros/luatex/generic/luavlna
Documentation
Bug trackerhttps://github.com/michal-h21/luavlna/issues
Repositoryhttps://github.com/michal-h21/luavlna
Version0.1m 2024-05-02
LicensesThe Project Public License 1.3
MaintainerMichal Hoftich
Contained inTeX Live as luavlna
MiKTeX as luavlna
TopicsTypesetting
Polish
Lua
Slovak
Czech
See alsoencxvlna
xevlna

Download the contents of this package in one zip archive (97.4k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Package Links

Guest Book Sitemap Contact Contact Author