[texhax] centering a header in a TOC

Roberto Viau rviau at ufm.edu.gt
Sun Sep 5 10:08:18 CEST 2004


hi, I've been looking for this for quite some time. I am starting to 
write my thesis on LaTeX.  University guidelines require a TOC like this


                                                                       
Página
A. Title ..............................................................  1
    1. Subtitle .....................................................  2
B. Title2 ............................................................  2

Bibliography .......................................................3

I'm having trouble aligning "Página" with the page number. "Página" must 
be centered, relative to the page numbers, so
\addtocontents{toc}{\hfill Página\endgraf}
is not working properly.


Thanks for your help

Bob.




More information about the texhax mailing list