2

I require chapter names unbold in Table of Contents. Please guide me how I unbold the heading of chapter names only in Table of Contents.

1
  • 2
    Please provide us with a minimal working example (MWE) so we can better help you. The ToC depends on the document class and perhaps other packages that you might be loading.
    – Werner
    Sep 1, 2014 at 5:26

1 Answer 1

4

With the default report and book document classes, use etoolbox to patch \l@chapter and remove the use of \bfseries:

enter image description here

\documentclass{report}
\usepackage{etoolbox}% http://ctan.org/pkg/etoolbox
\makeatletter
\patchcmd{\l@chapter}{\bfseries}{}{}{}% \patchcmd{<cmd>}{<search>}{<replace>}{<success>}{<failure>}
\makeatother
\begin{document}
\tableofcontents
\chapter{A chapter}
\section{A section}
\end{document}

With tocloft you need only redefine \cftchapfont and \cftchappagefont to some that doesn't include \bfseries:

enter image description here

\documentclass{report}
\usepackage{tocloft}% http://ctan.org/pkg/tocloft
\renewcommand{\cftchapfont}{}
\renewcommand{\cftchappagefont}{}
\begin{document}
\tableofcontents
\chapter{A chapter}
\section{A section}
\end{document}

memoir provides similar functionality to that of tocloft:

enter image description here

\documentclass{memoir}% http://ctan.org/pkg/memoir
\renewcommand{\cftchapterfont}{}
\renewcommand{\cftchapterpagefont}{}
\begin{document}
\tableofcontents
\chapter{A chapter}
\section{A section}
\end{document}

Using KOMA-script, you can \setkomafont for chapterentry and chapterentrypagenumber accordingly:

enter image description here

\documentclass{scrreprt}
\setkomafont{chapterentry}{}
\setkomafont{chapterentrypagenumber}{}
\begin{document}
\tableofcontents
\chapter{A chapter}
\section{A section}
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .