GeneralHow to put the chapter number in a box on outside of page

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Scot_B
Posts: 4
Joined: Mon Jun 02, 2008 11:04 pm

How to put the chapter number in a box on outside of page

Post by Scot_B »

Hi,

I would like to put the current chapter number in a colored background box that is located on the very right edge of the page for right side pages and on the very left edge for left side pages and that I can specify the vertical placement, similar to what you would see in a dictionary where they would have tabs with the first letter found on the page. Thanks for any help.

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How to put the chapter number in a box on outside of page

Post by localghost »

Perhaps the titlesec package will be your friend.


Best regards
Thorsten
Post Reply