如何删除部分页面和参考书目的缩略图?

如何删除部分页面和参考书目的缩略图?

我想使用thumbs但不是在部分页面和参考书目上。

\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}

\newcommand{\thumbforchapter}{\addthumb{Chapter \thechapter}{\Large{\thechapter}}{white}{gray}}

\begin{document}

\pagenumbering{arabic}

\part{Test 1}
\chapter{Intro} \label{chap:1}\thumbforchapter
\lipsum[1-15]\cite{happel}

\part{Test 2}
\chapter{Mid} \label{chap:2}\thumbforchapter
\lipsum[1-9]\cite{happel}

\chapter{End} \label{chap:3}\thumbforchapter
\lipsum[15-19]\cite{happel}

\begin{thebibliography}{9}
\bibitem{happel} 
Patrick Happel.
lipsum -- Easy access to the Lorem Ipsum dummy text.
2014
\end{thebibliography}

\end{document}

我该如何限制thumbs?使用是否更好fancyhdr

此外,在我的实际代码中,在第五章之前,缩略图实际上并没有向下移动。然而,我无法在此 MWE 中重现它。

答案1

将 \clearpage \stopthumb 放在 \part 和参考书目之前。

完整代码:

\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}

\newcommand{\thumbforchapter}{\addthumb{Chapter \thechapter}{\Large{\thechapter}}{white}{gray}}

\begin{document}

\pagenumbering{arabic}
\clearpage \stopthumb
\part{Test 1}
\chapter{Intro} \label{chap:1}\thumbforchapter
\lipsum[1-15]\cite{happel}

\clearpage \stopthumb
\part{Test 2}
\chapter{Mid} \label{chap:2}\thumbforchapter
\lipsum[1-9]\cite{happel}

\chapter{End} \label{chap:3}\thumbforchapter
\lipsum[15-19]\cite{happel}

\clearpage \stopthumb
\begin{thebibliography}{9}
\bibitem{happel} 
Patrick Happel.
lipsum -- Easy access to the Lorem Ipsum dummy text.
2014
\end{thebibliography}

\end{document}

作为证明,请参阅参考书目页面。

在此处输入图片描述

相关内容