diff options
author | IkiWiki <ikiwiki.info> | 2023-04-29 20:27:31 +0200 |
---|---|---|
committer | IkiWiki <ikiwiki.info> | 2023-04-29 20:56:08 +0200 |
commit | 7968e9b41293446097ddc9520b0a4a9599f04f82 (patch) | |
tree | 90fd9d56ad10eaf45e26c0deea803bd7ecb5745c | |
parent | 389f65024772251030673bef57581c984475ec50 (diff) |
improve widow/orphan handling
-rw-r--r-- | vuc/ep/guarana.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vuc/ep/guarana.md b/vuc/ep/guarana.md index 3a47bd2..049e933 100644 --- a/vuc/ep/guarana.md +++ b/vuc/ep/guarana.md @@ -29,7 +29,7 @@ format: \KOMAoptions{DIV=last} # avoid widow or orphan lines - text: | - \usepackage[defaultlines=4,all]{nowidow} + \ifLuaTeX\usepackage{lua-widow-control}\lwcsetup{balanced}\else\usepackage[defaultlines=4,all]{nowidow}\fi toc: true toc-depth: 2 bibliography: ref.bib |