1

I would like to have the complete TOC without setting the top level in boldface. In the past I used tocloft but KOMA throws a warning and suggests to use tocbasic. Unfortunately, I didn't understand from the documentation how to implement it.

Do you have a starting point to get the parts underlined in the attached figure red in normalfont? figure

Here is the MWE:

% Magic comments for TeXstudio
% !TeX spellcheck = en_US
% !TeX program = lualatex

% define class: scrreprt, scrartcl
\documentclass{scrartcl}

% load packages
\usepackage{ifluatex}
\ifluatex
    \usepackage{fontspec}
\fi
\usepackage{blindtext}

\begin{document}
\tableofcontents
\blinddocument
\end{document}

I use KOMA Script v3.30 in TeXlive 2020.

1 Answer 1

2

It's just one \setkomafont away.

\documentclass{scrartcl}

\usepackage{ifluatex}
\ifluatex
    \usepackage{fontspec}
\fi
\usepackage{blindtext}

\setkomafont{sectionentry}{\normalfont}

\begin{document}

\tableofcontents
\blinddocument

\end{document}

MWE output

1
  • Thanks! And it is chapterentry when using scrrprt class.
    – Dirk
    Commented Jul 3, 2020 at 6:02

You must log in to answer this question.

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