如何在節或小節使用 \textsc{}?

如何在節或小節使用 \textsc{}?

我正在嘗試添加\textsc{text}我的小節標題

我試過 \subsection{\textsc{Born-Oppenheimer} approximation}

但沒有出現任何變化,Born-Oppenheimer 文本不受該命令的影響\textsc{}。仍然是正常情況。

注意:我正在使用書籍類別:\documentclass[11pt,a4paper]{book}

你知道我該如何解決這個問題嗎?

文檔設定:

\documentclass[11pt,a4paper]{book}
\usepackage[utf8]{inputenc}
\usepackage{babel}[english]
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{multirow}
\usepackage{array}
\usepackage{arydshln}

\usepackage{appendix}
\usepackage{floatrow}   
\usepackage{mathtools}
\usepackage{ mathrsfs }

\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{arrows}
\usepackage{pgfplots}

\usepackage{bigdelim}
\usepackage{cite}
\usepackage{microtype}
\usepackage{hhline}
\pgfplotsset{compat=1.3} 
\usepackage[left=3.50cm, right=2.50cm, top=4.00cm]{geometry}
\raggedbottom
\usepackage{hyperref}
\usepackage{wrapfig}
\hypersetup{colorlinks,%
    citecolor=black,%
    filecolor=black,%
    linkcolor=black,%
    urlcolor=black
}
\usepackage{subcaption}
\usepackage{csquotes}
\usepackage{minitoc}

\usepackage{xcolor}

\usepackage{hyperref}
\hypersetup{colorlinks=true, linkbordercolor=red,linkcolor=red}
\usepackage{enumitem}
\usepackage{pifont}

\usepackage{soulutf8}
\usepackage{xspace}

\usepackage[Lenny]{fncychap}

\begin{document}
\stepcounter{chapter}
\stepcounter{section}
\subsection{\textsc{Born-Oppenheimer} approximation}
\end{document}

答案1

我猜你正在使用一種字體 - 可能是 Computer Modern - 它不提供粗體小號大寫粗細形狀字形組合。如果是這種情況,您需要輸入

\subsection{\textsc{\textmd{Born-Oppenheimer}} approximation}

獲得“Born-Oppenheimer”的非粗體(又稱“中等粗細”)小寫字母。

要使用粗體小號大寫字母,您需要使用提供這種特定組合的字體系列。其中一個字體系列是 Times (New) Roman。

在此輸入影像描述

\documentclass[11pt,a4paper]{book}
\usepackage{newtxtext,newtxmath} % Times Roman clone
\begin{document}
\stepcounter{chapter} % just for this example
\stepcounter{section}

\subsection{\textsc{\textmd{Born-Oppenheimer}} approximation}
\subsection{\textsc{Born-Oppenheimer} approximation}
\end{document}

相關內容