지금까지는 새로운 정의나 정리 등을 만들 때마다 제목(그래서 '정의'라는 단어 등)이 굵게 표시되었습니다. 그런데 '\theoremstyle{remark}'를 추가하려고 하면 제목이 볼드체로 표시되지 않습니다. 이 문제를 해결할 수 있는 방법이 있나요? (즉, 각 제목이 나올 때 개별적으로 굵은 글씨를 표시할 필요가 없습니다.) 이것이 어리석은 질문이라면 죄송합니다. 저는 이 모든 것을 처음 접했습니다.
답변1
이렇게 사용해야합니다.
\documentclass{article}
\usepackage{amsmath,amsthm}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}{Corollary}[section]
\newtheorem{proposition}{Proposition}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{example}{Example}[section]
\theoremstyle{definition}
\newtheorem{definition}{Definition}[section]
\theoremstyle{remark}
\newtheorem{remark}{Remark}[section]
\begin{document}
\begin{definition}
This is a definition
\end{definition}
\begin{theorem}
This is a theorem
\end{theorem}
\begin{corollary}
This is a corollary
\end{corollary}
\begin{proposition}
This is a proposition
\end{proposition}
\begin{lemma}
This is a lemma
\end{lemma}
\begin{example}
This is an example
\end{example}
\begin{remark}
This is a remark
\end{remark}
\end{document}