[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] multi-line headers/footers
From: |
maouinin |
Subject: |
Re: [Groff] multi-line headers/footers |
Date: |
Fri, 2 Dec 2011 23:56:33 -0800 (PST) |
Mike Bishop wrote:
>
> On Sun, Nov 20, 2011 at 12:27:07AM -0800, maouinin wrote:
>>
>> Is it possible with or without macro packages, etc. to get multi-line
>> headers
>> in groff? I have been able to do this in LaTeX with the fancyheaders
>> package, but I can't seem to figure out how to do it (or if it is even
>> possible) in groff.
>>
>
> Assuming mm macros, .TP (top of page) and .BS/BE (bottom block) are
> what I use for multi-line page headers/footers. You can redefine
> the TP macro to be whatever you need:
>
> .de TP
> spacing, line length etc instructions
> .tl \" first three part title
> .tl \" second three part title
> ..
>
> Similarly:
>
> .BS
> spacing, font etc instructions
> .tl \" first three part footer
> .tl \" second three part footer
> .BE
>
> see groff_mm(7) for minimal instructions.
>
> Rgds,
> --
> Mike Bishop
> Willow, Alaska
>
>
>
Thanks for your reply.
I have been using .PH "' left part 'center part ' right part' " headers and
I like the format. Your solution worked, but I lost the left/center/right
format
that comes with the PH macro. How would I keep within the multi-line
headers?
Thanks again.
--
View this message in context:
http://old.nabble.com/multi-line-headers-footers-tp32868980p32906984.html
Sent from the Groff - General mailing list archive at Nabble.com.
- Re: [Groff] multi-line headers/footers,
maouinin <=
- Re: [Groff] multi-line headers/footers, Ralph Corderoy, 2011/12/03
- Re: [Groff] multi-line headers/footers, maouinin, 2011/12/06
- Re: [Groff] multi-line headers/footers, Keith Marshall, 2011/12/06
- Re: [Groff] multi-line headers/footers, maouinin, 2011/12/06
- Re: [Groff] multi-line headers/footers, Werner LEMBERG, 2011/12/06
- Re: [Groff] multi-line headers/footers, Keith Marshall, 2011/12/06
- Re: [Groff] multi-line headers/footers, Werner LEMBERG, 2011/12/08
- Re: [Groff] multi-line headers/footers, Ralph Corderoy, 2011/12/06
- Re: [Groff] multi-line headers/footers, lxnf98mm, 2011/12/06
- Re: [Groff] multi-line headers/footers, Denis M. Wilson, 2011/12/07