From 373a72a06939960180137813c8936afea8c7e60e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 22 Jun 2021 15:21:56 +0200 Subject: example.t: Make small addition --- example.pdf | Bin 84913 -> 85106 bytes example.t | 26 ++++++++++++++++++-------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/example.pdf b/example.pdf index c0146d3..4325f6d 100644 Binary files a/example.pdf and b/example.pdf differ diff --git a/example.t b/example.t index 87f6bd0..ea1b653 100644 --- a/example.t +++ b/example.t @@ -1,17 +1,20 @@ .so g.tmac . +.\" configure header and footer +.eo .de @h . sp |36p -. tl ''-%-'' +. if \n%>1 .tl ''-%-'' . sp |1i .. . .de @f -. sp |\\n(.pu-48p -. tl ''\\*(%e'' +. sp |\n(.pu-48p +. tl ''\*(%e'' .. +.ec . -. \" configure environments +.\" configure environments .@e p . nr sq \n(sp . nr sp 0 @@ -23,7 +26,7 @@ . ta 3n +3n +3n +3n .@e . -. \" define macros +.\" define macros .eo .de n . if !'\$1'' \{\ @@ -41,7 +44,7 @@ .. .ec . -. \" start document +.\" start document .t .x Mg , a simple macro package for troff @@ -491,9 +494,11 @@ For example, if you wanted to write a document with the New Century Schoolbook font at 9 points and a vertical spacing of 12 points, -you would start the document like this: +you would start the document like this +(before you call any +.i mg +macros): .l -\&.so g.tmac \\" include mg \&.fam N \&.ps 9p \&.vs 12p @@ -523,6 +528,11 @@ How do I customize the default appearance of the margin text? .l \&.(e @m \\" margin environment \&.ps +1p +.p +You can also set such settings in your redefinition of +.c @h +or +.c @f . . .w s ll .s -- cgit v1.2.3