[OS X TeX] headers and footers

Bruno Voisin bvoisin at mac.com
Sun Apr 10 02:50:49 EDT 2005


Le 10 avr. 05, à 01:09, lichtner a écrit :

> \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.

Tabular environments are one way to get specific alignments in LaTeX, 
without having to specify the width in advance (contrary to \parbox). 
Try something like:

\fbox{%
   \begin{tabular}{@{}l@{}}
     left-aligned line: words, words, words to go \\
     \multicolumn{1}{@{}c@{}}{%
     centered line} \\
     \multicolumn{1}{@{}r@{}}{%
     right-aligned line}
   \end{tabular}%
}

Bruno Voisin
--------------------- 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 MacOSX-TeX mailing list