How do I modify the equation serial number and its caption?
Now the equation show the serial number as (7.1).
But I want the string of the caption of the equation as (Eq7.1).
How do I modify the command of equation?
\documentclass{book}
\usepackage{amsmath}
\renewcommand{\theequation}{Equation \arabic{chapter}.\arabic{equation}}
\begin{document}
\chapter{Dummy Chapter}
\begin{equation}\label{eq:fermat}
x^n+y^n=z^n
\end{equation}
As we see in \ref{eq:fermat}
\end{document}
I assumed that you were using book as your document class; of course, you can adapt my example according to your needs.
gmedina,thank you! It works. But how about the matrix?
My matrix does not have the serial number.
How do I add the serial number to the matrix and use the \ref with "{Matrix \arabic{chapter}.\arabic{matrix}}"?