[OS X TeX] headers and footers

lichtner lichtner at lanl.gov
Sun Apr 10 01:09:00 CEST 2005


\parbox worked! Except for one little problem: I wanted the first line 
in the footer to be left justified and the second line (the date) right 
justified. I tried using \hfill on the second line but it didn't take 
effect. I am trying to mimic a msword.doc format for a conference 
proceedings, but maybe I am close enough.
...Peter

On Apr 9, 2005, at 16:52, Herb Schulz wrote:

> On 4/9/05 5:37 PM, "lichtner" <lichtner at lanl.gov> wrote:
>
>> I should be more precise: is there a way to put a box around a 
>> multiple
>> line footer---it works fine with a single line using \fbox{}, but I
>> can't get the box to work with 2 lines.
>> ...Peter
>>
>
> Howdy,
>
> The problem is that boxes can only have a single line (or a box that 
> acts
> like a single line) inside them. The way you would have to do this is 
> to use
> a \parbox inside the \fbox. Unfortunately, you have to set the width 
> of a
> \parbox unless you write a macro that checks the width of the 
> individual
> lines and makes it the width of the longest line.
>
> Any other (undoubtedly better!) answers? Could \vbox be used?
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest.com)
>
> --------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>            & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>
>

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list