~sthagen/liitos#63: 
Let us be less bold with level 3+ headings

% Can we simply upper case TOC entries for level 1 and 2 sections?
\ExplSyntaxOn
\cs_new_eq:NN \ToUppercase \text_uppercase:n
\ExplSyntaxOff
\renewcommand\addsectiontocentry[2]{%
  \addtocentrydefault{section}{#1}{\texorpdfstring{\expandafter\ToUppercase\expandafter{#2}}{#2}}%
}
\renewcommand\addsubsectiontocentry[2]{%
  \addtocentrydefault{subsection}{#1}{\texorpdfstring{\expandafter\ToUppercase\expandafter{#2}}{#2}}%
}
% unbold level 3 and 4 etc sections
\setkomafont{subsubsection}{\normalfont}
\setkomafont{paragraph}{\normalfont}
% Provide the Shaded and Highlighting environments in case code comes along
\usepackage{color}
\usepackage{fancyvrb}
\newcommand{\VerbBar}{|}
\newcommand{\VERB}{\Verb[commandchars=\\\{\}]}
Status
RESOLVED IMPLEMENTED
Submitter
~sthagen
Assigned to
Submitted
2 months ago
Updated
2 months ago
Labels
Feature

~sthagen REPORTED IMPLEMENTED 2 months ago*

Implemented in commit 0e273505df41520bcc4994d41166c72c429b8c2b and available in v2024.9.29

Register here or Log in to comment, or comment via email.