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.