CTAN Comprehensive TeX Archive Network

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

In some lan­guages, like Czech or Pol­ish, there should be no sin­gle let­ter words at the end of a line, ac­cord­ing to ty­po­graph­i­cal norms. This pack­age han­dles such sit­u­a­tions us­ing Lua’s call­back mech­a­nism. In do­ing this, the pack­age can de­tect lan­guages used in the text and in­sert spaces only in parts of the doc­u­ment where lan­guages re­quir­ing this fea­ture are used.

Another fea­ture of this pack­age is the in­clu­sion of non-break­able space af­ter ini­tials (like in per­sonal names), af­ter or be­fore aca­demic de­grees, and be­tween num­bers and units.

The pack­age sup­ports both plain Lua and Lua.

BTW: “vlna” is the Czech word for “wave” or “curl” and also de­notes the tilde which, in , is used for “un­break­able spaces”.

Sources/macros/luatex/generic/luavlna
Doc­u­men­ta­tion
Bug trackerhttps://github.com/michal-h21/lu­avlna/is­sues
Re­pos­i­toryhttps://github.com/michal-h21/lu­avlna
Ver­sion0.1b 2018-05-31
Li­censesThe Project Public Li­cense 1.3
Main­tainerMichal Hoftich
Con­tained inTeX Live as lu­avlna
MiKTeX as lu­avlna
TopicsCzech
Lua
Type­set­ting
Slo­vak
Pol­ish
See alsoencxvlna
xevlna

Down­load the con­tents of this pack­age in one zip archive (95.9k).

Com­mu­nity Com­ments

Load­ing...

An­nounce­ments

Here you can see a re­spec­tive di­a­gram in newer browsers.

more

Pack­age Links

Guest Book Sitemap Contact Contact Author