I'm making a reference manual using scrbook
. I'd like to include a "tab" that shows the current chapter number in a 1.5cm gray rectangle on the outside edge of every page. Within the rectangle would be the current chapter number. This would allow readers to quickly locate the beginning of a particular chapter by looking at the edge of the printed book.
As an added challenge, the chapter tab needs to move down the page as the chapter number increases. For example, in chapter 1, the chapter tab would be located 1cm from the top of the page; for chapter 2, it would be located 2.5cm from the top of the page (1cm white space, plus 1.5cm for the height of the previous chapter tab), and so on.
Is this possible? If so, how can do implement it?
Best Answer
Here's a possibility using the
background
package (change the settings according to your needs). Using\AddLabels
the tabs are activated;\RemoveLabels
deactivates the tabs: