I'm studying LaTeX now. From a book, I see the symbol BiBTeX
in a section title. Then I want to reproduce it.
%\usepackage{doc}
\section{\BibTeX}
\BibTeX
With above codes, I obtain the following results:
I don't know why BibTeX is not in small capitals shape. The results are different between setion title and normal content.
From below comments, I think I have known some reasons for the problem. Adding \usepackage[T1]{fontenc} is an anwser.
And I want to ask if my problem above is just caused by the requirement of both small caps and bold as the command \BibTeX is in the curly braces of \section{}


.log. Do you notice any font-related warnings/substitutions? – Werner Dec 02 '22 at 07:03\usepackage[T1]{fontenc}is an anwser. – Vanellope Dec 02 '22 at 08:19.logand find the font-related warning. – Vanellope Dec 02 '22 at 08:22