5

I have an equation, such as:

\documentclass{report}

\begin{document}

\chapter{hello}
\begin{equation}
x=1
\end{equation} 
\end{document}

And the equation appears as "x=1 (1.1)".

What I want is "x=1 (1)" ignoring the chapter number. How do I get that?

Thank you.

11

You can use the package chngcntr

\documentclass{report}
\usepackage{chngcntr}
\counterwithout{equation}{chapter} % remove the chapter number
% \counterwithin{equation}{chapter}  % add the chapter number
\begin{document}
\chapter{hello}
\begin{equation}
x=1
\end{equation} 
\end{document}
| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.