How to label equation with particular format?

by will_cheuk   Last Updated January 11, 2019 11:23 AM

I have several equations, I want to label equation 1 and 2 to be (eqt1) and (eqt2), any other equations after it use normal equation number, say (1), (2), (3),... How to do it in latex?

E.g.

\begin{align}
 1+1=2 (eqt1)
\end{align}

\begin{align}
 2+3=5 (eqt2)
\end{align}

\begin{align}
 3+3=6 (1)
\end{align}

\begin{align}
 4+3=7 (2)
\end{align}


Answers 1


With amsmath package, you can achieve it with tag environment.

\documentclass[10pt,a4paper]{article}
\usepackage{amsmath}

\begin{document}
    \begin{align}
\label{e1}  1+1=2 \tag{eqt1}
    \end{align}

    \begin{align}
\label{e2}  2+3=5 \tag{eqt2}
    \end{align}

    \begin{align}
\label{e3}  3+3=6 
    \end{align}

    \begin{align}
\label{e4}  4+3=7 
    \end{align}
    I am referring \eqref{e1}, \eqref{e2}, \eqref{e3}, \eqref{e4}. 
\end{document}

Which would give you

enter image description here

Raaja
Raaja
January 11, 2019 10:53 AM

Related Questions


Updated August 09, 2015 17:10 PM

Updated January 22, 2018 04:23 AM

Updated May 20, 2015 20:10 PM

Updated April 24, 2015 23:10 PM

Updated August 08, 2015 14:10 PM