italic이 기본인 theorem 환경의 로마자를 똑바로 세우려고 합니다.
그래서 \usepackage{theorem}하여
{
\theorembodyfont{upshape}
\newtheorem{Exercise}{연습문제}[chapter]
}
라고 하니, Missing \endcsname inserted. <to be read again>. \relax 라는 에러가 납니다.
뭐가 문제인가 보니 \usepackage{amsthm}이 문제였습니다.
이걸 뺐더니, "연습문제"의 로마자가 세워지는 하는데, \begin{proof} ... \end{proof}가 뭔지 모르겠다고 에러가 납니다.
proof 환경도 쓰면서 다른 환경의 로마자를 세울 방법은 없을까요?
\usepackage{amsthm}
\newtheorem{Exercise}{연습문제}[chapter]
로 하면 로마자가 기울어져 나오는 것 빼고는 컴파일 잘 됩니다.
KTUG 한국 텍 사용자 그룹