Latex is now defaulting to non-italic

  • Context: LaTeX 
  • Thread starter Thread starter andrewkirk
  • Start date Start date
  • Tags Tags
    latex
Click For Summary

Discussion Overview

The discussion revolves around the rendering of LaTeX in a forum context, specifically focusing on the unexpected display of alphabetic characters in formulas as non-italic rather than the standard italic format. Participants explore potential causes, including browser and operating system differences, and share their observations regarding LaTeX rendering across various platforms.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Exploratory

Main Points Raised

  • One participant notes that LaTeX has started rendering alphabetic characters in formulas as non-italic, which they find non-standard and visually unappealing.
  • Another participant claims they see italic characters, suggesting that the issue may not be universal.
  • A different participant points out that in their view, certain functions like "cos" are rendered in non-italic due to the backslash preceding it, while other characters remain italic.
  • One participant experiences all characters as non-italic in their expression and questions whether this could be related to their browser or operating system.
  • Another participant proposes that the rendering issue might depend on the viewing situation rather than the original LaTeX code, citing their experience with different browsers and setups.
  • Some participants inquire about the handling of fonts by MathJax, noting variations in rendering times and initial font appearances.
  • Several participants report varying experiences with different browsers and operating systems, with some seeing the correct italic rendering while others do not.
  • A participant shares a screenshot illustrating their rendering issues, including misalignment of subscripts and the sequence of rendering changes observed when loading a page with LaTeX.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the rendering issue, as experiences vary significantly based on the browser and operating system used. Multiple competing views remain regarding the cause of the non-italic rendering.

Contextual Notes

Limitations include potential dependencies on specific browser settings, operating systems, and the MathJax configuration used by the forum, which may affect LaTeX rendering.

andrewkirk
Science Advisor
Homework Helper
Insights Author
Gold Member
Messages
4,140
Reaction score
1,741
I've just noticed that, since I last used it (two weeks ago), Latex has started rendering alphabetic characters in formulas as non-italic, which is non-standard, and doesn't look as good.
See for example my post in this thread.
 
Physics news on Phys.org
I see italics.
 
I'm not sure if this -- ##x^2\cos x## -- is what you're talking about, @andrewkirk, but x2 is rendered in italics, while cos x is not. The reason it's not rendered in italics is because of the backslash preceding cos.

I don't see anything different from how LaTeX has been rendering for a long time.
 
Well, something is strange. For me, in this expression: ##x^2 \cos x ~ cos ##, nothing is italic. Everything is normal font. My 1st cos has a backslash but the 2nd doesn't.

Edit: I'm using Firefox on Linux (openSUSE LEAP).
 
Last edited:
Could it be related to the browser or OS that is being used to view the latex? I checked some formulas I wrote a while back and they are showing up as all non-italic too, which suggests it's a phenomenon based on the situation at viewing time rather than when it was written.
I'm at work right now using Internet Explorer on Windows. I didn't notice anything strange this morning when I was posting using Firefox on Linux, so I'll check when I get home and report back.
There may be something incompatible about my employer's setup and the forum software, because the list of icons above an editing window never appears here either (other than the Sigma, for some reason). I have to either remember where they were from using it at home, or float the cursor over them for a popup to tell me what invisible icon lies beneath.
 
What OS and browser? Can you upload a screenshot? We did switch MathJax configs to help speed up processing, perhaps something got tripped up. I can work with Mathjax support.
 
A bit off-topic, but how does Mathjax handle fonts? I ask because I notice sometimes (especially on pages with lots of math that take a long time to process) that the math is first rendered in what appears like Times, before being displayed in Computer Modern.
 
DrClaude said:
but how does Mathjax handle fonts?
TeX is preferred, if not available STIX is used.
 
Greg Bernhardt said:
What OS and browser?
I am seeing the right behavior (italics) with firefox under windows and linux and with IE under windows.
I was seeing the wrong behavior with Safari on my old iPad a few hours ago.
 
  • #10
Nugatory said:
I was seeing the wrong behavior with Safari on my old iPad a few hours ago.
But now it's ok or you just haven't used the iPad since then?
 
  • #11
Italics with firefox under windows, linux and mac.
Italics with safari at a mac.
Italics with chrome under windows.

Tested with http://browsershots.org/ and my own devices, and everywhere ##cos~x## is italic.
 
  • #12
Greg Bernhardt said:
But now it's ok or you just haven't used the iPad since then?
I've been away from the iPad, will check again when I'm with it in a few hours.
 
  • #13
Here is a screenshot of what the above linked page looks like on IE 11 on Windows 7.
upload_2016-1-29_9-34-42.png


[What the post says is a silly mistake, by the way :oops:. But it's a lesson in humility for me to stick with what I originally linked, since this thread is about formatting, not content]
The 'cos' is supposed to be non-italic, because I prefaced it with a backslash in the Latex code. But the x would normally be italic, and isn't.
Also, the subscripts on summations are mis-aligned, as in this pic:
upload_2016-1-29_9-39-26.png

The latex code used for that was

||Ax||_{\infty} = max_i \left\vert \sum_{j} a_{ij} x_j\right\vert\leq max_i \sum_{j} |a_{ij} x_j|

I noticed that when I open a page that has latex on it, the following happens:
- First it shows the latex code
- Next it shows a rendering in all italic
- Last it Shows a rendering in all non-italic.
I don't know if that helps.

I forgot to check at home last night on Firefox+Linux. I'll make a note to check tonight.
EDIT: I'm at home now and have checked it on Firefox+Linux and it looks fine.
 

Attachments

  • upload_2016-1-29_9-29-58.png
    upload_2016-1-29_9-29-58.png
    53.6 KB · Views: 620
Last edited:

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 3 ·
Replies
3
Views
436
  • · Replies 11 ·
Replies
11
Views
3K