[comp.text.tex] \hrules in \headline and \footline?

NORM@IONAACAD.BITNET (Norman Walsh) (03/14/91)

This is probably a simple problem but it gave me some difficulty none
the less ;-)
 
I'd like to seperate my headlines and footlines from the body of the
page by an \hrule.  However, the combinations of things that I tried
to put in \headline seemed unwilling to make a \vbox out of two \hboxes.
I guess I should say that my attempted solution to the problem was to
create two-line headers and footers and make one of the lines an
\hbox to \hsize{\hrulefil}.
 
Assuming I've made myself clear ;-) can someone in netland give me a
hint?
 
                                                         ndw

USERARNT@UBCMTSA.BITNET (Bill Arnett) (03/15/91)

In response to Norman Walsh's query:
 
If I understand you correctly, you want to do something like this:
  \headline={\vbox{\line{\hfill Page \folio}
                   \kern-.5\baselineskip
                   \line{\hrulefill}}}
 
This works just fine for me. (using plain TeX.)
 
"\line" expands to "\hbox to\hsize" which you could use instead
if you wish.
 
Note that "\hrulefill" ends with 2 L's, not one as you
accidentally(??) typed in your question.
 
Bill Arnett.