0
\documentclass[]{scrreprt}
\DeclareTOCStyleEntry[numwidth=3em]{tocline}{figure}
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\usepackage[outline]{contour}
\usepackage{hyperref}               
\usepackage{url}
\usepackage{cleveref}
\usepackage{ae} 

\begin{document}
 \setcounter{tocdepth}{4}
 \tableofcontents
    \subsubsection{Ecoflex\texorpdfstring{\texttrademark}{t} 00-30}
\end{document}
               

When I define a new subsubsection with a trademark or textregistered symbol, the output of this symbol is not bold. Using \usepackage[outline]{contour} makes the symbols bold in the text but not in the subsection title. Is there any way to bold these symbols in the title?

\subsubsection{Ecoflex\texorpdfstring{\texttrademark}{t} 00-30} leads to

Symbols not bold in section title

Edit: deleting the ae package and replacing it with lmodern resolved my problem.

4
  • 1
    I get a bold trademark in a minimal example (without needing contour). So show a complete example. Oct 27 '20 at 12:19
  • @UlrikeFischer what do you mean by complete example?
    – user227689
    Oct 27 '20 at 13:31
  • 1
    Usually, the idea when giving examples on this site is to make them minimal, yet compilable so that others can reproduce your problem easily. More details are given in the answers on this meta question.
    – Vincent
    Oct 27 '20 at 15:22
  • Remove \usepackage{ae}. It's obsolete and deprecated.
    – egreg
    Oct 27 '20 at 17:28
1

The package ae is obsolete and has been deprecated for about twenty years.

Remove \usepackage{ae} and you'll get the expected output.

You can see the problem in the log file where you find

LaTeX Font Warning: Font shape `TS1/aess/b/n' undefined
(Font)              using `TS1/cmr/m/n' instead
(Font)              for symbol `texttrademark' on input line 13.

No such warning occurs without the deprecated package.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.