diff style @ 218:8be9e84be526

style: Replaced .Lp macro with .ZZ macro, including enhancements. This is to enlarge or shorten the text block on a page.
author markus schnalke <meillo@marmaro.de>
date Sat, 14 Jul 2012 18:05:19 +0200
parents ff303d854771
children 49d3aa0d128a
line wrap: on
line diff
--- a/style	Sat Jul 14 18:04:32 2012 +0200
+++ b/style	Sat Jul 14 18:05:19 2012 +0200
@@ -65,9 +65,16 @@
 ..
 .wh -1u _M
 
-.	\" Lp - enlarge the current page by one line to avoid widows
-.de Lp
-.ch FO -\n(FMu+1v
+.	\" ZZ - enlarge or shorten the text block on the current
+.	\"      page to avoid widows
+.	\"  .ZZ      -> enlarge by one line
+.	\"  .ZZ +3   -> enlarge by three lines
+.	\"  .ZZ -2   -> shorten by two lines
+.	\"  .ZZ +1c  -> enlarge by one centimeter
+.	\"  .ZZ ""   -> reset to the default
+.de ZZ
+.ie \\n(.$=0 .ch FO -\\n(FMu+1v
+.el .ch FO -\\n(FMu\\$1
 ..
 
 .	\" CW - Set text in CW font (similar to .B and .I)