
일반 정리 스타일 을 변경하여 \slshape
. \itshape
나는 다음을 통해 내 스타일을 정의할 수 있다는 것을 알고 있지만 \newtheoremstyle
스타일 매개변수의 현재 값을 검사(아마도 런타임에)하는 방법을 모르므로 필요한 것만 변경하고 나머지는 그대로 둘 수 있습니다.
답변1
amsthm.sty
배포판 어딘가에 있는 파일 에서 볼 수 있습니다.
\thm@style{plain}
\newtoks\thm@bodyfont \thm@bodyfont{\itshape}
\newtoks\thm@headfont \thm@headfont{\bfseries}
\newtoks\thm@notefont \thm@notefont{}
\newtoks\thm@headpunct \thm@headpunct{.}
\newskip\thm@preskip \newskip\thm@postskip
\def\thm@space@setup{%
\thm@preskip=\topsep \thm@postskip=\thm@preskip
}
이것은 일종의 사용자 수준의 배변 버전이며 훨씬 더 명확한 \newtheoremstyle
명령입니다. 이미 정의된 스타일을 조작하는 것은 권장하지 않지만 처음부터 수행했다면 그렇게 했을 것입니다(그래도 확인하지는 않았습니다).
\newtheoremstyle{plain}{\topsep}{\topsep}{\itshape}{}{\bfseries}{.}{.5em}{}%
답변2
이를 수행하는 가장 쉬운 방법은 \def \th@plain {\slshape}
이상인 것 같습니다. \def \th@slanted {\slshape}
그런 다음 \theoremstyle{slanted}
. 이를 위해 의도된 매크로도 있습니다 \theorembodyfont
. 그러나 그것이 어떤 패키지에 있는지 잘 모르겠습니다.