Betreff: page header for poem book Hello folks,
I’m having some trouble now in writing my own macro for a page header. I want to publish a poem book in my own design. So I need your help to create a header now. To print the titles of the poems on the odd pages in the right corners is my goal. The title of the even page in the first line an the title of the odd page in the second line of the header. Is the poem longer than one page so the header line is empty respectivly. My groff example is appended. Thank you for minding me. Volker
.de hd \" Page header ' sp .5i . tl '''poem one' . tl '''poem two' ' sp .3i .. .de fo \" Page footer ' sp 1v . tl ''%'' ' bp .. .\" .wh 0 hd \" trap at top of the page .wh -1i fo \" trap one inch from bottom .\" .nf .bp .ds left poem one \*[left] .sp 1 Text Text Text Text Text .bp .ds right poem two \*[right] .sp 1 Text Text Text Text .bp .ex