.png)
thmtools
패키지를 사용하여 정리 목록을 만드는 방법을 알아냈습니다 . 이에 대한 내 질문은 다음과 같습니다.
\renewcommand{\listoftheoremname}{...}
오류가 발생 하면 제목을 어떻게 변경합니까LaTeX error: \listoftheoremname undefined
?- 제목이 다르고 다양한 종류의 정리 목록을 여러 개 만들려면 어떻게 해야 합니까?
(xxx는 정리의 제목, ... 목록에 나타나는 레이블, yyy 정리 종류)
[name=xxx,label=thm:...]
뒤에 추가하면 정리 레이블이 지정됩니다.\begin{yyy}
위 첨자 및 아래 첨자(지금은 첨자만 시도함\mathbb
) 이외의 수식을 레이블에 넣으려고 하면missing \endcsname inserted
.aux 파일 줄과 관련된 오류가 발생합니다. 어떻게 해결하나요? MWE:\documentclass[a4paper]{report} \usepackage{thmtools,amssymb} \declaretheorem[name=Definizione]{defi} \begin{document} \begin{defi}[name=$\mathbb R$,label=thm:$\mathbb R$definizione] Ah beh, s\`i beh. \end{defi} \listoftheorems \end{document}
이는 다음을 제공합니다:
. 레이블에
를 배치해도 동일한 오류가 발생합니다 . \ref
실제로 \mathbb
쉼표 때문에 $(0,1)$를 거기에 넣으려는 것처럼 [] 안의 어느 곳에나 문제가 발생합니다.
- (4여야 함) 그리고 마지막으로 번호 매기기와 함께 정리를 사용하고 있습니다
[subsection]
. 이제 목록에서 숫자가 정리 종류와 겹칩니다(즉,1.2.1.1
겹침이 발생합니다Definizione (Spazio Metrico)
). 어떻게 해결하나요?
답변1
이를 통해 시작할 수 있습니다. 그러나 명확한 사양이 없으면 더 정확하게 말하기가 어렵습니다.
\documentclass{article}
\usepackage{amsthm,thmtools}
\declaretheorem{theorem}
\declaretheorem[style=definition]{definition}
\begin{document}
\renewcommand{\listtheoremname}{List of theorems}
\listoftheorems[ignoreall,show=theorem]
\renewcommand{\listtheoremname}{List of definitions}
\listoftheorems[ignoreall,show=definition]
\begin{theorem}[Sum]
$1+1=2$
\end{theorem}
\begin{definition}[Nice numbers]
A number is \emph{nice} if it looks beautiful.
\end{definition}
\begin{theorem}[About $C^{1}(0,1)$]
The set $C^{1}(0,1)$ is interesting.
\end{theorem}
\end{document}