Avoiding HTML Formatting for Emails

  • Context: LaTeX 
  • Thread starter Thread starter DaveC426913
  • Start date Start date
  • Tags Tags
    Html
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 6K views
DaveC426913
Gold Member
2025 Award
Messages
24,601
Reaction score
8,938
As if you guys don't have enough to do...Latex (and any other HTML formatting) renders email unreadable.

This:

"Then, the speed of light is [itex]c = 1 ly/y[/itex], and [itex]g = 1.032 ly/y^2[/itex]"

becomes this:

Then, the speed of light is < a href="javascript:;" onClick="newWindow=window.open('','latexCode','toolbar=no,location=no,scrollbars=yes,resize=yes,status=no,width=475,height=200'); newWindow.document.write('< HTML >< HEAD >< TI
TLE >LaTeX Source Code< /TITLE >< /HEAD >< BODY topmargin=0 leftmargin=0 BGCOLOR=#F1F1F1 >< table border=0 width=449 >< td bgcolor=midnightblue >< font color=#F1F1F1 >The following code was used to generate this LaTeX image:< /font >< /td >< /tr >< tr >< td width=449 >< br >< br >< font face=courier >< UL >< PRE >< font color=red >[ itex ]< /font >c = 1 ly/y< font color=red >[ /itex ]< /font >< /UL >< /PRE >< /font >< /td >< /tr >< /table >< br >< center >< a href=https://www.physicsforums.com/misc/howtolatex.pdf target=_blank >LaTeX code reference< /a >< /BODY >< HTML >');" >< img src="latex_images/-6.png" border=0 align=top alt='LaTeX graphic is being generated. Reload this page in a moment.' >< /a >, and < a href="javascript:;" onClick="newWindow=window.open('','latexCode','toolbar=no,location=no,scrollbars=yes,resize=yes,status=no,width=475,height=200'); newWindow.document.write('< HTML >< HEAD >< TITLE >LaTeX Source Code< /TITLE >< /HEAD >< BODY topmargin=0 leftmargin=0 BGCOLOR=#F1F1F1 >< table border=0 width=449 >< td bgcolor=midnightblue >< font color=#F1F1F1
>The following code was used to generate this LaTeX image:< /font >< /td >< /tr >< tr >< td width=449 >< br >< br >< font face=courier >< UL >< PRE >< font color=red >[ itex ]< /font >g = 1.032 ly/y^2 < font color=red >[ /itex ]< /font >< /UL >< /PRE >< /font >< /td >< /tr >< /table >< br >< center >< a href=https://www.physicsforums.com/misc/howtolatex.pdf target=_blank >LaTeX code reference< /a >< /BODY >< HTML >');" >< img src="latex_images/-7.png" border=0 align=top alt='LaTeX graphic is being generated. Reload this page in a moment.' >< /a >.
 
Physics news on Phys.org
That's truly a work of art. :biggrin:
 
If you blurr your eyes, and focus past the screen it looks like a picture of Jesus! Its an omen!

a bit like this:
http://bioweb.usu.edu/taste/images/jesus%20toast.JPG
 
Last edited by a moderator: