
\textsc{text}
サブセクションのタイトルに追加しようとしています
私は試した \subsection{\textsc{Born-Oppenheimer} approximation}
しかし、変化は見られず、テキスト Born-Oppenheimer はコマンドの影響を受けません\textsc{}
。通常の場合のままです。
注: 私はbookクラスを使用しています:\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」の太字でない(つまり「中太さ」の)小文字を取得します。
太字と小文字の組み合わせを使用するには、この特定の組み合わせを提供するフォント ファミリを使用する必要があります。そのようなフォント ファミリの 1 つが 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}