Previewing a message with an equation environment with line numbers

  • Context: Bug 
  • Thread starter Thread starter Eclair_de_XII
  • Start date Start date
Eclair_de_XII
Messages
1,082
Reaction score
91
Okay, here is the deal: Whenever I try to preview a message with an equation environment, the equation numbers keep on incrementing over again by the total number of lines in the message. For example, if you keep previewing a message with this code, the line numbers increment by three every time. The same thing happens if you feel like editing your message in case you make a rather embarrassing mistake in your message.

Code:
\begin{align}

f(x)&=&x^2+8x+25\\

&=&(x^2+8x+16)+9\\

&=&(x+4)^2+3^2

\end{align}

Example after doing this more times than I kept track:

\begin{align}

f(x)&=&x^2+8x+25\\

&=&(x^2+8x+16)+9\\

&=&(x+4)^2+3^2

\end{align}

Edit: The equation numbers fix themselves after refreshing the page. Please disregard.
 
Last edited:
Physics news on Phys.org
The plugin keeps counting the equations it has numbered since the page was loaded, basically. Every time you update the preview it increases. Not sure how this could be avoided without breaking everything. The preview has no effect on what's ultimately in the post.

Don't rely on the numbering in posts, basically. If you add or remove an equation in your post then the numbers in my post will change:

$$\begin{align}

f(x)&=&x^2+8x+25\\

&=&(x^2+8x+16)+9\\

&=&(x+4)^2+3^2

\end{align}$$
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
Replies
19
Views
2K
Replies
2
Views
2K
Replies
12
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
8
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K