# Help talk:Displaying a formula

Wikipedia Help Project (Rated NA-class, Mid-importance)
This page is within the scope of the Wikipedia Help Project, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks. To browse help related resources see the Help Menu or Help Directory. Or ask for help on your talk page and a volunteer will visit you there.
NA  This page does not require a rating on the project's quality scale.
Mid  This page has been rated as Mid-importance on the project's importance scale.

## Equations broken on iphone

All equations now render as illegibly small on my iphone. Tried safari, chrome, mercury with lots of user agents. Recent within few days of 22 August 2016. 107.77.213.47 (talk) 05:23, 23 September 2016 (UTC)

Yes, this drives me nuts. Unless I happen to be sitting at work, I am usually reading Wikipedia on my iPhone in the Chrome browser—and I tend to consult a lot of math-intensive pages. Is this genuinely not a supported use case? It actually makes me feel unwelcome on Wikipedia. (If this works for other users and is an artifact of my sticking stubbornly to iOS 8, someone let me know and I will quit complaining.) Tracy Hall (talk) 16:31, 11 February 2017 (UTC)

Same happens to me on iPad iOS 8.4, but not on my new iphone with iOS 10. — Preceding unsigned comment added by 80.110.66.133 (talk) 18:28, 12 February 2017 (UTC)

I have the same problem on an iPad 3 with iOS 8.3. Although I have already spent several hours trying to find a solution, I can't seem to find any. — Preceding unsigned comment added by Ilirea (talkcontribs) 15:55, 9 March 2017 (UTC)

## MathML broken again?

This is probably the wrong place to ask this, feel free to direct me elsewhere.

I'm still getting fallback svg images in Firefox, even though I've got MathML in my prefs. It's been broken a long time for me, I'm not sure it ever worked after MathJax was removed. Should this work? Discussion above suggests it was fixed for everyone else in August 2015. Is there some way I can debug this? How is the fallback decision made? Kendall-K1 (talk) 15:28, 2 June 2016 (UTC)

Unfortunately this became more complicated. While the user setting is no longer needed the native MathML plugin is required. See https://www.mediawiki.org/wiki/Extension:Math. The good news is, that there is also information on the font setup, so that really good looking MathML is produced in the end. --Physikerwelt (talk) 16:00, 2 June 2016 (UTC)
(Edit conflict) The relates to T131177 which has changed the default renderer for all users. Part of that change is to was "As a result we reconsidered to decision to delver MathML as default for firefox users. Now they get SVG's as well and need to install a add on which provides really good MathML support."
The discussion about dropping MathML for firefox was at Wikipedia talk:Special:Preferences
You can reenable the MathML with a bit of CSS
.mwe-math-fallback-image-inline {
display: none !important;
}

.mwe-math-fallback-image-display {
display: none !important;
}

.mwe-math-mathml-a11y {
position: inherit;
clip:inherit;
width:inherit;
height:inherit;
opacity:inherit
}

Add this to your Special:MyPage/vector.css and the MathML will reappear. --Salix alba (talk): 16:48, 2 June 2016 (UTC)
Installing the FF plugins did it. Sorry if I missed it, but this really needs to be documented somewhere. Kendall-K1 (talk) 17:16, 2 June 2016 (UTC)

I am not sure if this is related to this section per se, but I see no option to create a new section while not logged in... Something that has been broken for a little while here (maybe a month or two? not sure) is the displayed size of formulae. The bounding box for the svg images is the correct size, but the images themselves appear microscopic. Opening the images in a new tab shows the formulae at the proper size, but this workaround still leaves formula-heavy pages nearly illegible. It also renders the point in the "benefits of TeX" section of the article about formula size being larger in TeX vs. HTML invalid. Regardless of whether user preferences can fix this anomaly, it should not be the case that one must log in before a page can approach legible (hence the intentional being not-logged-in for this comment). 169.235.228.254 (talk) 02:45, 7 July 2016 (UTC)

Thank you Salix alba for the .css snippet - that fixes it. The discussion Wikipedia talk:Special:Preferences does not seem entirely relevant; it addresses the question of the default rendering and it's not clear why this should override user preferences. I had supposed that correct rendering had stopped due to some bug that would eventually be fixed if I was very patient - so thanks again, --catslash (talk) 01:52, 12 March 2017 (UTC)
I've added a new rule to the above css to prevent the display maths produced with the <math display="block"> tag, which is how Visual Editor creates display maths. --Salix alba (talk): 16:29, 28 August 2017 (UTC)

## Some missing amsmath support

I'm not sure where I should bring this up, so I'm trying here first. I just "fixed" a formula that was using \operatorname* -- WP seems not to support the starred version, so the only thing I could really do was to remove the star. This improved the appearance, but it still falls short of the intended typesetting. Is there any way to add support for this feature? Where does one bring up this sort of request anyway? One other missing bit of support that seems crucial is for \genfrac. This is needed a lot, and the workaround(s) are usually less-than-desirable LaTeX. Deacon Vorbis (talk) 00:27, 25 January 2017 (UTC)

If I have any grammar or spelling errors, please feel free to change.

On this page,the example of chemical equations like <chem>{A2}+B2->2AB</chem>;and for beautiful,I suggest changing them to like <chem>A2{+}B2->2AB</chem>.--脂肪酸钠 (talk) 09:00, 2 April 2017 (UTC)

Not sure <chem>A2{+}B2->2AB</chem> (${\displaystyle {\ce {A2{+}B2->2AB}}}$) is bettern than <chem>{A2}+B2->2AB</chem> (${\displaystyle {\ce {{A2}+B2->2AB}}}$). Looking in some text books there seems to be a large space around the plus sign. --Salix alba (talk): 10:45, 22 April 2017 (UTC)

## Accented character

The accented character in $ń\left(D\right)$ causes the tag to not render. Advice? Lfstevens (talk) 21:17, 4 July 2017 (UTC)

Try \acute{n}. --Deacon Vorbis (talk) 22:04, 4 July 2017 (UTC)

## How to start a new line?

It seems that \\ does not work. Golopotw (talk) 00:39, 23 July 2017 (UTC)

It does within certain environments, like align (and related ones), but not otherwise. --Deacon Vorbis (talk) 00:44, 23 July 2017 (UTC)

## LaTeX Incorrect Rendering

(In reference to edit Special:Diff/811387351 on the triangular numbers page) Under what conditions could/would the LaTeX markup (eg "") be displayed instead of the intended formula? Specifically, what could cause all the LaTeX markup in a single section of a page to render that way? (It's possible the issue was caused by my browser not fully loading the page) If possible, please point me to any "best practices" documentation for Wikipedia's LaTeX implemention.

Leopardpaw (talk) 09:02, 21 November 2017 (UTC)

Your Math settings in the appearance section of the preferences would cause that if it were set to "LaTeX source", instead of MathML with SVG and PNG. —TheDJ (talkcontribs) 09:26, 21 November 2017 (UTC)
@TheDJ: Thank you for the quick response. In this case, I am primarily using a mobile browser (which may be part of the issue). It might have been due to a combination of interacting with Wikipedia's mobile site and my browser's setting, since as soon as I pushed my edit, the LaTeX rendered properly.

As a note, I did check the settings you referrenced, and it is set to render MathML. Thanks again. —Leopardpaw 09:48, 21 November 2017 (UTC)