I asked a similar question yesterday in which asked how to remove thumbs
from parts and bibliography. @Pieter van Oostrum commented with the solution which is to put \clearpage
\stopthumb
before \part
and \printbibliography
. However, I also mentioned that the thumbs did not shift down properly, which I found out later is caused by refsection
in some of the chapter (I am writing a collection of manuscripts so I need individual bibliographies in addition to the main bibliography at the end). The MWE's main.tex
is:
\documentclass[pdftex,10pt,b5paper,twoside]{book}
\usepackage[lmargin=25mm,rmargin=25mm,tmargin=27mm,bmargin=30mm]{geometry}
\usepackage[Glenn]{fncychap}
\ChNameVar{\Large\fontfamily{cmbright}\selectfont\color{black}}
\ChNumVar{\Huge\fontfamily{cmbright}\selectfont\color{black}}
\ChTitleVar{\Large\fontfamily{cmbright}\selectfont\scshape\color{black}}
\usepackage[height={2cm},distance={5mm},topthumbmargin={auto},bottomthumbmargin={auto}]{thumbs}
\usepackage{fancyhdr}
\usepackage{lipsum}
\usepackage[backend=biber, natbib=true, style=authoryear, sorting=nyt, maxbibnames=99, maxcitenames=2, uniquename=false, uniquelist=false]{biblatex}
\addbibresource{bibliography.bib}
\newcommand{\thumbforchapter}{\addthumb{Chapter \thechapter}{\Large{\thechapter}}{white}{gray}}
\begin{document}
\pagenumbering{arabic}
\part{Introduction}
\chapter{Intro} \label{chap:1}\thumbforchapter
\lipsum[1-5] \cite{lipsum}
\clearpage \stopthumb
\part{Manuscripts}
\begin{refsection}
\chapter{Manuscript $1$} \label{chap:2}\thumbforchapter
\lipsum[6-10] \cite{lipsum}
\printbibliography[title={BIBLIOGRAPHY},heading=subbibliography]
\end{refsection}
\begin{refsection}
\chapter{Manuscript 2} \label{chap:3}\thumbforchapter
\lipsum[11-15] \cite{lipsum}
\end{refsection}
\begin{refsection}
\chapter{Manuscript 3} \label{chap:4}\thumbforchapter
\lipsum[16-20] \cite{lipsum}
\clearpage \stopthumb
\end{refsection}
\part{Conclusion}
\chapter{Conclusion} \label{chap:5}\thumbforchapter
\lipsum[21]
\clearpage \stopthumb
\printbibliography
\end{document}
The MWE's bibliography.bib
is:
@Manual{lipsum,
title = {lipsum -- Easy access to the Lorem Ipsum dummy text},
author = {Patrick Happel},
year = {2014},
note = {\LaTeX~package version 1.3},
url = {https://www.ctan.org/pkg/lipsum},
}
How do I prevent refsection
from interrupting with the thumbs
?
Also, is it possible to remove thumbs
from the chapter page?