如何使章节标题变为粗体和小写

如何使章节标题变为粗体和小写

章节标题应为粗体+小写字母 (但此代码无法做到这一点)

       \usepackage{titlesec}
       \titleformat{\section}{\Large\sc\bfseries}{}{}{}[]  

完整代码:

\documentclass[a4paper,12pt]{article} 
\usepackage{titlesec}
\titleformat{\section}{\Large\sc\bfseries}{}{}{}[]
\usepackage[utf8]{inputenc} 
\usepackage[english]{babel}
\setcounter{secnumdepth}{0} 

\begin{document} 

\section{1 Introduction}

\end{document}

请仅使其适用于章节标题(不适用于小节\子小节等)。

答案1

搜索https://tug.org/FontCatalogue/

使用并寻找 pdflatex字体fontenc\scshape

https://tug.org/FontCatalogue/newpx/

bb

% !TeX TS-program = pdflatex

\documentclass[a4paper,12pt]{article} 
\usepackage[utf8]{inputenc} 
\usepackage[english]{babel}

\usepackage[T1]{fontenc} % added <<<<
\usepackage{newpxtext}% added <<<<

\usepackage{titlesec}
\titleformat{\section}{\scshape\bfseries\Large}{}{}{}[]

\setcounter{secnumdepth}{0} 

\begin{document} 
    
    \section{1 Introduction}
    
\end{document}

相关内容