LaTeX How can I fix messed up LaTeX in my old posts?

  • Thread starter Thread starter Fredrik
  • Start date Start date
  • Tags Tags
    Latex Tags
AI Thread Summary
The discussion revolves around issues with LaTeX formatting in a post, specifically how the expression C:(a,b)→ℝ⁴ is displaying incorrectly. The formatting problem causes the number 4 to appear on a new line, disrupting the paragraph's layout. The user inquires about better solutions than using "plain" tags to fix the issue. It is revealed that changes were made to smilie codes, which contributed to the formatting errors. The confusion stems from some plain text being interpreted as LaTeX and vice versa, leading to the display issues observed in the linked thread.
Fredrik
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
Gold Member
Messages
10,876
Reaction score
423
I noticed that the LaTeX in one of my old posts is messed up. The problems start with this piece:

##[/color]C:(a,b)\to \mathbb R^4##[/color]

The result should look like this:

##C:(a,b)\to \mathbb R^4##

But instead it looks like this:

##C:(a,b)\to \mathbb R^4##.

Actually it's even worse. The 4 is on a new line, and the rest of the paragraph is messed up even worse. https://www.physicsforums.com/threads/active-and-passive-lorentz-transformation.679890/#post-4316036

Is there a better fix for this than to use "plain" tags as I did above?
 
Physics news on Phys.org
Did you change something? The two lines in Fredrik's post look exactly the same here (apart from the period at the end).
 
mfb said:
Did you change something? The two lines in Fredrik's post look exactly the same here (apart from the period at the end).
yeah I changed some smilie codes
 
  • Like
Likes PeroK
Thanks Greg.

For those who found this thread after Greg made the change: There was a sad smiley after the C. In the thread I linked to, the 4 after the ^ appeared on a new line, and then the rest of the paragraph was messed up. Some plain text was interpreted as LaTeX and some LaTeX was interpreted as plain text.
 
  • Like
Likes dlgoff

Similar threads

Replies
3
Views
2K
Replies
2
Views
2K
Replies
3
Views
2K
Replies
13
Views
554
Replies
4
Views
4K
Replies
2
Views
2K
Back
Top