Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q31 如何插入公式并在文中引用。 #38

Open
Lihua1990 opened this issue Jan 30, 2020 · 1 comment
Open

Q31 如何插入公式并在文中引用。 #38

Lihua1990 opened this issue Jan 30, 2020 · 1 comment

Comments

@Lihua1990
Copy link
Collaborator

Lihua1990 commented Jan 30, 2020

\usepackage{amsmath}

\begin{equation}
a^2+b^2=c^2\label{eq: MCC}
\end{equation}

according to Equation \eqref{eq:  MCC}.
@EthanDeng
Copy link
Owner

\eqref\ref 是的特殊形式,使用 \ref 的话不会有括号,而 \eqref 会有括号,另外 label 一般写在 equation 后。

\usepackage{amsmath}

\begin{equation}\label{eq:MCC}
a^{2}+b^{2}=c^{2}
\end{equation}

according to Equation~\eqref{eq:MCC}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants