I have a very basic question that is basically a follow-up of this old one.
How can I have small caps that are boldface in the title of a chapter or a section?
Below a MWE.
\RequirePackage{fix-cm}
\documentclass[10pt]{book}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern} % To switch to Latin Modern
\rmfamily % To load Latin Modern Roman and enable the following NFSS declarations.
% Declare that Latin Modern Roman (lmr) should take
% its bold (b) and bold extended (bx) weight, and small capital (sc) shape,
% from the corresponding Computer Modern Roman (cmr) font, for the T1 font encoding.
\DeclareFontShape{T1}{lmr}{b}{sc}{<->ssub*cmr/bx/sc}{}
\DeclareFontShape{T1}{lmr}{bx}{sc}{<->ssub*cmr/bx/sc}{}
%
\usepackage{titlesec}
\makeatletter
\def\@makechapterhead#1{%
\vspace*{-21\p@}%
{\parindent \z@ \raggedright \normalfont
\interlinepenalty\@M
\huge\bfseries\sc \thechapter.\quad #1\par\nobreak
\vskip 40\p@
}}
\makeatother
\usepackage{tocloft}
\renewcommand{\cfttoctitlefont}{\huge\bfseries\sc}
\title{Title}
\author{Author}
\begin{document}
\maketitle
\tableofcontents
\chapter{Chapter}
\section{Section}
\end{document}
In particular, I am currently using the answer provided by user @Blaisorblade from the link above, along with titlesec, but nothing really happens: as it can be noted, the title of chapter is in small caps, but is not bold face and the same applies to the TOC entry.
Any feedback will be most welcome!