%20%E3%81%A7%203%20%E8%A1%8C%E7%9B%AE%E3%82%92%E5%A4%AA%E5%AD%97%E3%81%AB%E3%81%A7%E3%81%8D%E3%81%AA%E3%81%84%E3%81%AE%E3%81%AF%E3%81%AA%E3%81%9C%E3%81%A7%E3%81%99%E3%81%8B%20.png)
下の図に示すように、3 行目の単語を太字にしようとしています。
私の完全な MWE は次のとおりです。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\begin{document}
\renewcommand{\labelitemi}{$\blacksquare$}
\renewcommand{\labelitemii}{$\square$}
\renewcommand{\labelitemiii}{\textendash}
\begin{itemize}
\item \textbf{First Line}
\begin{itemize}
\item \textbf{Second Line}
\begin{itemize}
\item \textbf{\(H_{1,1}\):} No bold starting here Third Line
% \item {\textbf{\(H_{1,2}\):}} There
\end{itemize}
\end{itemize}
\end{itemize}
\end{document}
私は次のことを試しました:
\item \textbf{\(H_{1,1}\):} No bold starting here Third Line
そして
\item {\textbf{\(H_{1,2}\):}} There
答え1
数式を太字にするには、\mathbf{}
数式内で (では\( \mathbf{...} \)
なく\textbf{ \(...\) }
)を使用する必要があります。
そうでなければ、悪い方法は「貧乏人の大胆さ」を使うか\pmb{}
、\textbf{}
代わり偽物大胆な。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb}
\begin{document}
\renewcommand{\labelitemi}{$\blacksquare$}
\renewcommand{\labelitemii}{$\square$}
\renewcommand{\labelitemiii}{\textendash}
\begin{itemize}
\item \textbf{First Line}
\begin{itemize}
\item \textbf{Second Line}
\begin{itemize}
\item \textbf{\(H_{1,1}\):} No bold starting here Third Line
\item \( \mathbf{H_{1,1}} \): Math bold font in fourth Line
\item \pmb{\(H_{1,1}\):} Poor man's bold in fifth Line
% \item {\textbf{\(H_{1,2}\):}} There
\end{itemize}
\end{itemize}
\end{itemize}
\end{document}
次のようなものを取得するには:
太字のコロン(:) の 4 行目では、コロンを の中に置きます\ mathbf{}
。つまり、 を使用します\( \mathbf{H_{1,1}:} \)
。
答え2
3 番目の項目であることとは関係ありませんが、\textbf を使用して数式を太字にしようとしています。