summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIkiWiki <ikiwiki.info>2023-04-29 20:27:31 +0200
committerIkiWiki <ikiwiki.info>2023-04-29 20:56:08 +0200
commit7968e9b41293446097ddc9520b0a4a9599f04f82 (patch)
tree90fd9d56ad10eaf45e26c0deea803bd7ecb5745c
parent389f65024772251030673bef57581c984475ec50 (diff)
improve widow/orphan handling
-rw-r--r--vuc/ep/guarana.md2
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