4

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.

marked as duplicate by Mico equations Feb 28 '17 at 6:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

7

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}

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