방정식 번호 표시 문제

방정식 번호 표시 문제

\eqref두 개의 서로 다른 방정식( \eqref{eq1}및 )을 참조 했지만 \eqref{eq2}아래 이미지와 같이 동일한 이상한 모양이 표시됩니다. 방정식 번호는 1과 2입니다. 도움이 되셨나요?

오류

답변1

라벨을 정의해야 합니다.이내에equation외부가 아닌 (또는 ) 환경 align:

여기에 이미지 설명을 입력하세요

\documentclass{article}
\usepackage{amsmath}% http://ctan.org/pkg/amsmath
\renewcommand{\thesection}{\Roman{section}}
\begin{document}
\section{A section}
\begin{equation} f(x)=ax^2+bx+c \end{equation}
\label{eqn:first}
See~\eqref{eqn:first} and~\eqref{eqn:second}.
\begin{equation} f(x)=ax^2+bx+c \label{eqn:second} \end{equation}
\end{document}

관련 정보