LaTeX Latex Formatting & HTML ASCII Code Issues

  • Thread starter Thread starter Doc Al
  • Start date Start date
AI Thread Summary
The discussion centers around issues with LaTeX formatting and HTML ASCII codes following a recent update. A user reported problems with editing posts to correct LaTeX due to missing parsing code in the editpost.php script, which has since been resolved. There were specific formatting issues noted, such as equations appearing misaligned with text and problems with using "itex" for equations, which were not displaying correctly. It was suggested that "tex" might be a viable alternative, as it appeared to work properly. The conversation also included attempts to use HTML glyphs, which were eventually fixed. Overall, the main focus was on troubleshooting and resolving LaTeX and ASCII code formatting issues in the forum.
Doc Al
Mentor
Messages
45,578
Reaction score
2,432
Latex problems??

I'm having problems with Latex formatting. (And html ascii codes as well!) Is there a known problem?
 
Physics news on Phys.org
Please describe your problem. We went through an update last night and I forgot to put the LaTeX parsing code into the editpost.php script, meaning that you couldn't edit a post to fix its LaTeX. I have fixed that one already, and everything should be fine in LaTeX land now.

I had to do some muckery to get the ascii codes working last time.. now I have to remember what I did. I'll work on it.

- Warren
 
an example of the problem

I'll try to duplicate something I was writing earlier today (I see in the preview that the same problems appear--the equations appear offset from the text):

Would you agree that the rocket has some proper length L? And thus, from the rocket's viewpoint it takes the rocket a time T_B = L/v to pass (front to rear) clock A. And what time does Clock A measure for this passing? From the A frame, the rocket only has a length of L/\gamma, thus Clock A measures a time of only T_A = (L/\gamma)/v = T_B/\gamma. Clock A always measures a smaller time that clock B.​

I also tried to write a gamma using & gamma ; = γ. (That doesn't work either.)
 
itex formatting not right

Warren,

It looks like using "itex" is still messed up. On the other hand, it seems that using "tex" seems to work OK, even in the middle of text. So maybe we don't need "itex" any longer? In any case, "itex" equations don't seem to be lining up properly with the text line.

Al
 
Test: a^n

- Warren
 
Itex is fixed.. sorry about that.

test... Δ
 
I have to remember what I had to change to get the html glyphs to work...

- Warren
 
Γ Δ

- Warren
 
Okay, fixed.

- Warren
 
Back
Top