Page LayoutFlush-right ToC Heading

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
the_blue_note
Posts: 15
Joined: Mon Oct 24, 2011 9:38 pm

Flush-right ToC Heading

Post by the_blue_note »

Hello to all,

I think that if I get to do this, I'll be done! Is it possible to flush right the title of the ToC (LoF,LoT)? Thanks in advance for your time and help.


Cheers,
Pablo
Last edited by the_blue_note on Sat Oct 29, 2011 12:21 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10334
Joined: Mon Mar 10, 2008 9:44 pm

Re: Flush-right ToC Heading

Post by Stefan Kottwitz »

It would not be hard to redefine those headings, inserting \raggedleft. However, the solution depends on your current code, such as document class, packages, bibliography packages and settings, index package etc. If you would show all relevant code, you would get a solution. Otherwise I just can say, insert \raggedleft at a suitable place.

Stefan
LaTeX.org admin
the_blue_note
Posts: 15
Joined: Mon Oct 24, 2011 9:38 pm

Flush-right ToC Heading

Post by the_blue_note »

Stefan,

thanks a lot for your hint. Indeed, it was just a \raggedleft thing. I'm using fncychap, so it was as simple as:

Code: Select all

\ChTitleVar{\raggedleft\fontsize{30}{32}\usefont{OT1}{phv}{bc}{n}\selectfont}
It also flushes Chapter titles, but I also needed that. Millions of thanks.


Cheers,
Pablo
Post Reply