
나는 \newtheorem
다음과 같은 형태의 환경을 가지고 있습니다.
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}[theorem]{Lemma}
섹션 번호를 따릅니다.
번호 매기기를 산술식에서 알파벳순으로 어떻게 변경할 수 있나요? 문서 중간에?
답변1
풀버전으로 올려주시면 더 좋을 것 같아요최소한의 작업 예대답은 정리 등에 사용하는 패키지에 따라 달라질 수 있지만 아마도 그렇지 않을 수 있습니다. 어쨌든, 나는 당신이 필요하다고 생각합니다
\renewcommand\thetheorem{\alph{theorem}}
이를 통해 다음을 얻을 수 있습니다.
나는 theorem
섹션이 아닌 카운터만 알파벳순으로 만들고 싶다고 가정합니다. 전체 코드(MWE)는 다음과 같습니다.
\documentclass{article}
\newtheorem{theorem}{Theorem}
\begin{document}
\begin{theorem}first one \end{theorem}
\renewcommand\thetheorem{\alph{theorem}}
\begin{theorem}second one \end{theorem}
\end{document}