From 7968e9b41293446097ddc9520b0a4a9599f04f82 Mon Sep 17 00:00:00 2001 From: IkiWiki Date: Sat, 29 Apr 2023 20:27:31 +0200 Subject: improve widow/orphan handling --- vuc/ep/guarana.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vuc/ep') 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 -- cgit v1.2.3