1

I am using shortoc package to create a brief contents page for my book.

I used the command:

\shorttoc{\sffamily BRIEF CONTENTS}{1} 

to create it so only the sections are displayed without the subsections.

Now I need to unbold the section headings. Is there a way to do it with the shortoc package?

enter image description here

1 Answer 1

1

Here is a solution based on etoolbox package.

\documentclass{book}
\usepackage{shorttoc}
\usepackage{etoolbox}
\patchcmd{\shorttoc}{\@startshorttoc {toc}}{{\let\bfseries\normalfont\@startshorttoc {toc}}}{}{}

\begin{document}
\shorttoc{\sffamily BRIEF CONTENTS}{1} 
\chapter{Foo}
\section{Foo bar}
\tableofcontents
\end{document} 
1
  • This works perfect! Much thanks
    – alkabary
    Dec 9, 2019 at 18:57

You must log in to answer this question.

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