# Equation Numbering and Referencing in MathJax

Yao Yao on September 18, 2014

## 1. Equation Numbering

### 1.2 Manually

and \tag{} can be used to override the usual equation number with your own symbol instead.


Y \approx \beta_0 + \beta_1 X
\tag{1.1}



$$$Y \approx \beta_0 + \beta_1 X \tag{1.1}$$$

## 2. Equation Referencing

\label{}\ref{}。类比一下：

• \label{xxx} 就是 <a name="xxx"></a>
• \ref{xxx} 就是 <a href="#xxx"></a>


Y \approx \beta_0 + \beta_1 X
\tag{1.1}
\label{eq1.1}



$$$Y \approx \beta_0 + \beta_1 X \tag{1.1} \label{eq1.1}$$$

According to $\ref{eq1.1}$, we have ...


According to $\ref{eq1.1}$, we have …

According to $\eqref{eq1.1}$, we have ...


According to $\eqref{eq1.1}$, we have …