diff options
Diffstat (limited to 'example.t')
-rw-r--r-- | example.t | 26 |
1 files changed, 18 insertions, 8 deletions
@@ -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 |