2

I have earlier asked Background margin fill for (first line of) section titles?, but I have a different problem now. I have a document that can be approximated with this MWE:

\documentclass[12pt,twoside,openright]{book}
\usepackage[fixpdftex,cmyk,svgnames]{xcolor}
\usepackage{amsmath}
\usepackage{titlesec}
\titleformat*{\section}{\normalfont\Large\bfseries\color{black}}
\titleformat*{\subsection}{\normalfont\large\bfseries\color{black}}
\titleformat*{\subsubsection}{\normalfont\normalsize\bfseries\color{black}}
% Modify how \chapter, \section, etc. look
\renewcommand{\thesection}{\arabic{section}} % removes the chapter number in front! restored by \numberwithin{section}{chapter}
\numberwithin{section}{chapter}
\usepackage{lipsum}

\begin{document}
\mainmatter
\part{Part one}
\chapter{Chapter one}
\section{Section one}
\subsection{subSection one}
\lipsum[1-5]
\end{document}

I Simply want a thumb-index indicator/"flap?" positioned to the right of each "Chapter" heading, black background possibly with a white part.chapter number inside; printed on both odd and even page (side) of the leaf, can be on the same height where the "Chapter" headings are (they don't have to go "down" for each new chapter).

What packages are my options for doing this "easily" - preferably just by changing some settings in the preamble, so afterwards each time \chapter (or \chapter*) is encountered, the thumb-index indicator is automatically placed?

One of the best overviews of packages I've found so far is from texdocthumbs, version from 2014-03-09:

I tried to read texdoc fancyhdr, but that option at least, seems to requires some more involved manual coding. So what is my best alternative for a "simple" solution? Compilable examples based on the MWE posted here would be appreciated...

sdaau
  • 17,079
  • Why not just use titlesec, your favourite drawing package and afterpage or something? You don't need the complex thumb stuff because you don't want thumbs. – cfr May 08 '15 at 23:28

0 Answers0