+2 votes
in General IT Tips by (66.2k points)

I am using \begin{gather} .. \end{gather} to write equations in a latex document. I do not want number for each line in the equation, but gather is putting equation number on each line of the equation. How can I turn it off?

1 Answer

+3 votes
by (281k points)
selected by
 
Best answer

Instead of using \begin{gather} ... \end{gather}, you can use \begin{gather*} ... \end{gather*} to turn off autonumbering for equation. This will not display any number for any equation inside the gather.

If you want to turn off the number for a particular equation inside gather, you can use \nonumber.

Here is an example:

\begin{gather}

a = b+2  \nonumber

d= a+5

\eng{gather}

Equation a=b+2 will not have any number.

Related questions

+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer

...