# HG changeset patch # User markus schnalke # Date 1331127279 -3600 # Node ID 2136d3e29f12ef7ce7d582461d2ae530ce946761 # Parent 8cc0af0724c27ac402332759439633744ff46625 style: added H2, added BU, rework in NH. diff -r 8cc0af0724c2 -r 2136d3e29f12 style --- a/style Wed Mar 07 14:33:53 2012 +0100 +++ b/style Wed Mar 07 14:34:39 2012 +0100 @@ -91,24 +91,11 @@ .if !\\n(.$ .nr NS 1 .if !\\n(NS .nr NS 1 .nr H\\n(NS +1 -.if !\\n(NS-4 .nr H5 0 -.if !\\n(NS-3 .nr H4 0 -.if !\\n(NS-2 .nr H3 0 -.if !\\n(NS-1 .nr H2 0 -.if !\\$1 .if \\n(.$ .nr H1 1 -.if ,\\$1,S, \{\ -. nr NS \\n(.$-1 -. nr H1 \\$2 0 -. nr H2 \\$3 0 -. nr H3 \\$4 0 -. nr H4 \\$5 0 -. nr H5 \\$6 0 -.\} +.if \\n(NS<2 .nr H2 0 +.if \\n(NS<3 .nr H3 0 .ds SN \\n(H1 -.if \\n(NS-1 .as SN \&.\\n(H2 -.if \\n(NS-2 .as SN \&.\\n(H3 -.if \\n(NS-3 .as SN \&.\\n(H4 -.if \\n(NS-4 .as SN \&.\\n(H5 +.if \\n(NS>1 .as SN \&.\\n(H2 +.if \\n(NS>2 .as SN \&.\\n(H3 .. .de H0 @@ -158,20 +145,41 @@ .sp . nr PS +2 . nr VS +2 -. NH 2 +.if '\\$2'no' .SH +.if \\n(.$=1 .NH 2 . lg 0 . tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ -\&\\*(SN \\$1 +.if !'\\$2'no' \&\\*(SN +\\$1 . br . tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz . nr PS -2 . nr VS -2 . lg . RT +.if !'\\$2'no' \{\ .ds _S "\\$1 . XS \\*(SN \\$1 . XE +.\} +.nr PP 0 +.. + +.de H2 +.br +.ne 5 +.if '\\$2'no' .SH +.if \\n(.$=1 .NH 3 +.if !'\\$2'no' \&\\*(SN +\\$1 +. RT +.if !'\\$2'no' \{\ +.ds _S "\\$1 +. XS + \\*(SN \\$1 +. XE +.\} .nr PP 0 .. @@ -185,6 +193,10 @@ .nr PP 0 .. +.de BU +.IP \(bu +.. + .am QP .ps -1 ..