\endcsname 및 다중 정의 레이블.

\endcsname 및 다중 정의 레이블.

나는 라텍스를 처음 접했지만 그것을 사용하여 몇 가지 문서를 작성했는데 큰 오류는 없었습니다. 현재 논문을 작성 중인데 그림을 삽입한 후 오류가 발생합니다.

오류를 일으키는 코드는 다음과 같습니다.

\begin{figure}[h]
\centering
\includegraphics[width=0.5\textwidth]{helix.jpg}
\caption{$\alpha$ -helix formation}
\label{fig:$\alpha$ -helix formation}
\end{figure}

$\alpha$ 부분을 주로 생각하는데, 수치 목록에 포함되어 있기 때문인 것 같습니다.

나는 또한 다중 정의 레이블이 있다는 것을 방금 확인했습니다.

[5] [6] (./DissertationLayout.aux
./DissertationLayout.aux:38: Missing \endcsname inserted.
<to be read again> 
                   \alpha 
l.38 ...ha $ -helix formation\relax }{figure.3}{}}

? 
./DissertationLayout.aux:38: Missing $ inserted.
<inserted text> 
                $
l.38 ...ha $ -helix formation\relax }{figure.3}{}}

? 
./DissertationLayout.aux:38: Extra \endcsname.
\@newl@bel ... \bbl@tempa \csname #1@#2\endcsname 
                                                  \def \bbl@tempb {#3}\@safe...
l.38 ...ha $ -helix formation\relax }{figure.3}{}}

? 
)

LaTeX Warning: There were multiply-defined labels.

관련 정보