Questions tagged [mathjax]

MathJax is a JavaScript engine for displaying mathematics in general, and (through the mhchem package) chemical formulas and equations in particular on Chemistry Stack Exchange.

Filter by
Sorted by
Tagged with
1
vote
1answer
82 views

Two one-sided arrows from mhchem MathJax extension do not render properly upon conversion to pdf

I am using pdfkit-pythonbased on wkhtmltopdfto convert into pdf a text that contains MathJax ...
3
votes
1answer
95 views

Using mathrm versus rm MathJax index formatting

I do not understand well, why is so much preferred \mathrm to \rm for index formatting ? (by occurrence and by user script formatting support.) Note that I currently use LaTeX/MathJax only in ...
5
votes
1answer
117 views

MathJax mhchem editor

Is there a tool (application, online service) that helps writing the ugly formatting MathJax + mhchem code? I mean things like just typing Ctrl-B to get the selected text to bold is something else ...
7
votes
1answer
62 views

Is there a site on ChemSE to practice mhchem and mathjax?

Is there a site on ChemSE to practice mhchem and mathjax? Or does one just learn while asking or answering a question.
3
votes
1answer
26 views

Eliminate huge-locant-marked (by \overset) atom side space

Is it possible to elegantly eliminate side whitespace around the base under the overset, which is longer than the base? E.g. if we wanted to talk about the 123456789th carbon atom of a huge poly(...
2
votes
1answer
37 views

Formatting problem with \tag markup

I tried adding the following markup to an answer. $$\ce{Zn(s) + Cu^{2+}(aq) → Zn^{2+}(aq) + Cu(s)}\tag{Open Circuit voltage 1.1018 V}$$ ...
5
votes
1answer
75 views

Formatting hints no shown to user

Why are the basic (math/chemical) formatting hints https://chemistry.stackexchange.com/help/notation not always displayed next to the form where users enter new questions, and why is the elementar \ce{...
2
votes
1answer
39 views

Why two different print styles for the x's?

Created the rather nasty markup below. Why are there two different print styles for the x's? ...
16
votes
0answers
169 views

Introducing: Markdown Shortcuts for StackExchange

Inserting Mathjax and making posts look nice is rewarding, but it can often be, well, repetitive and boring :( Well, not any more. I have been testing and improving this userscript for quite some time ...
5
votes
1answer
111 views

What to do if mathrm is hugging physical units?

There was some consensus about how to write physical units from mid-2016 onwards on Chem.SE, as apparent from this post. However, it seems like the damage had already been done by that time. I say so ...
7
votes
0answers
72 views

Wrong alternative invocation of MathJax

It is commonly known that MathJax can be invoked with $...$ for inline mode and $$...$$ for display mode. The more latex-like ...
7
votes
2answers
108 views

Does the rendering of the precipitation and gas symbols need improvement?

Doing some markup and noticed something that annoyed me. I wanted to indicate a precipitate or gas such as: \begin{array}{ll} \text{Markup} & \text{Displays}\\\hline \text{\ce{AgCN v + KNO3}} &...
8
votes
1answer
129 views

Undefined control sequence \pu in official SE Android app

For some reason content produced with \pu{} cannot be rendered properly in official Stack Exchange android app, though \ce{} ...
12
votes
3answers
731 views

How to render Angstrom and Parts-per notations in MathJax?

Summary: Angstrom, Parts per thousand, Parts per Ten-Thousand cannot be displayed. Prior efforts: Searched Google and Detexify. Angstrom. (The letter), (the diacritic mark). The detexify (...
9
votes
1answer
57 views

Should we pay attention to possible bugs of MathJax in the apps?

It is quite well known that the (android) app(s) are behind on which MathJax version they are currently using (see here for an example). I find this very unfortunate as many of the newer features, ...
11
votes
1answer
185 views

MathJax in the Android App

Has anyone else noticed issues with MathJax in the StackExchange app? I'm aware the comments and titles don't render MathJax automatically, but I've also seen questions where certain math expressions ...
1
vote
2answers
79 views

This is a TEST QUESTION, examining MathJax scopes

\require{begingroup} \begingroup $ \require{begingroup} \begingroup \text{begingroup Jax} \def\ce#1{\Huge\color{\purple}{\mathrm{I~love~chemistry!}}} $ This is ...
8
votes
3answers
1k views

Green checkmark or red X with Mathjax/mhchem?

Is there a way to put a green check mark in the body of my text using MathJax/mhchem Syntax? Or a red X to indicate that this thinking is wrong? Something like this: I want to use it while double ...
15
votes
12answers
1k views

What additional formatting features are available to MathJax (possibly via \require{})?

In his answer to a question about crossing out units in dimensional analysis, Loong notes that the \cancel{} LaTeX command can be enabled in MathJax by using ...
9
votes
1answer
89 views

Dimensional analysis with chemistry equations on stack exchange?

I know we use Mathjax/mhchem. What I would like to know, is if its possible to cross out units as part of dimensional analysis. Here is an example of the desirable effect:
7
votes
0answers
57 views

Enable automatic line-breaking for SVG output

The MathJax configuration for the HTML–CSS output processor includes the option linebreaks: { automatic:true }. When using this output processor (right-click on any ...
3
votes
0answers
43 views

mhchem in Android app configured differently

Bugreport. Take a look at How to write physical units in the Android app (I did with version 1.0.89), you will see that \pu does not render on Android, while it ...
10
votes
1answer
83 views

Mhchem broken on mobile

That's how it looks right now. I don't recall this being a problem earlier. It's like this on other questions as well. Link to the answer in question: https://chemistry.stackexchange.com/a/55285/...
15
votes
1answer
513 views

How to write physical units

Units have to be written in an upright font. One normally does it this way: $1.2 \times 10^3\,\mathrm{\frac{J}{mol}}$ $1.2 \times 10^3\,\mathrm{\frac{J}{mol}}$ ...
10
votes
2answers
131 views

Unknown Notations

Are the following notations official? Can I find them in a colored IUPAC book? Do they have a name, I could google for? (I need this to judge whether to support this with mhchem or not.) Stability of ...
6
votes
0answers
71 views

On mobile, mathjax fails to render \geqslant

When I was browsing the Hot Network Questions today, I came across this answer which on my iPhone 4S (iOS 9.1) looks like this: On my laptop it renders just fine, and I couldn't find any existing bug ...
11
votes
3answers
225 views

We need some upgreek, please!

Correct typesetting is what you would expect from an academic community. Chem.SE has always tried to be one, and we always value their standards; and our meticulous editors have always had an eye on ...
14
votes
1answer
199 views

Do we really need to badger everyone to use MathJax for chemical formulas?

I've observed it a few times now that negative comments were posts simply because a user was not using MathJax to format chemical formulas. I don't mean gentle encouragements to properly format a post,...
5
votes
2answers
133 views

Bringing Helping Users Format Their Posts (HUFTP) to a whole new level

Behold A new chatroom is approaching $\ldots$ (It already approached and you weren't there to celebrate) Rightfully named $(L_A)\TeX/\mathcal{M}_{ath}\mathrm{J}^a\mathrm{x}$ help, this is a chatroom ...
8
votes
1answer
210 views

How to solve mhchem/MathJax rendering problems

Edit: This is not a bug, it is a feature, see my answer post. While recently directing a new user to this meta post about formatting using MathJax, I noticed that some components were not rendering ...
7
votes
1answer
159 views

(Title LaTeX test) Why does NMR Ix+iIy ($\hat{I}_x+i\hat{I}_y$)

I wanted to test some $\LaTeX$ in the title for myself, and I didn't know any other way to do so. Why does the transverse magnetization in Fourier Transform NMR consist of Ix+iIy ($\hat{I}_x+i\hat{I}...
8
votes
4answers
157 views

Chemical formulas with fractional numbers are displayed wrongly

According to mhchem manual the following code \ce{0.5H2O} should produce the following result But it does not. Instead, I ...
9
votes
0answers
162 views

Additions to MathJax/mhchem: Cancel, Broken Arrows; SI units

I think sometimes it is necessary to show, that a reaction does not take place, therefore a broken arrow would be a nice thing to have. I played a little in the sandbox and found a somewhat working ...
9
votes
1answer
135 views

A Link to common notation and symbols on the Tour page

Most new joiners do not know about the tools for mathematical and chemical formatting provided by chemistry.SE. The tour page details out the core concept of asking questions very well but I feel the ...
4
votes
0answers
106 views

Clumsy view of well-formatted questions: What to do?

Before you ask, I did see this. No problems should be there now, right? However, I ran into wierd (not to mention funny, I laughed for about 5 minutes non-stop) questions; take a look at the pic: The ...
5
votes
1answer
58 views

Latex Subscripting

How do I write $\ce{C_{2}{v}}$ properly in Latex so that the "2" and the "v" are both subscripted on the same subscript line? If I write it as $\ce{C_{2v}}$ (\ce{C_{2v}), I get an down-arrow symbol ...
4
votes
2answers
82 views

Latex Table Question

Here's a link to a SE question-answer on building tables using Latex. I copied the following bit of Latex code from the top-rated answer and when I pasted it in to an answer on Chemistry SE it didn't ...
5
votes
1answer
180 views

Solutions for structural formulas?

After finding out that the mhchem plugin for MathJaX doesn't support structural formulas (here), I decided to post this question. I would like to know what kind of solutions there are for writing ...
11
votes
2answers
602 views

Is MathJax in titles a problem? And why?

I think the title is self explanatory. I certainly think it looks nicer. I thought it still worked for searches too, as long as it's something $\ce{H2SO4}$ or $\ce{K}_i$ - certainly does on my browser....
16
votes
4answers
787 views

'ce' prepended to equations in url slug?

I asked a question, titled https://chemistry.stackexchange.com/questions/636/reactions-of-metals-with-cehcl-ceh2so4-cehno3, and noticed that the formulas had 'ce' prepended to them in the url: ...
6
votes
1answer
76 views

Mhchem not enabled for mobile

It seems that the chemistry MathJax extension isn't enabled on mobile. Code on main: ...
2
votes
1answer
74 views

Broken markup on some questions (but the preview works)

In at least one questions ( How to compute molecular formula?) there is broken formatting, but only in the posted form. The preview view (if one were to try and edit it) shows what I believe is the ...
19
votes
2answers
1k views

How can I enable MathJax in chat?

Last updated: 9 May 2017 This is an offshoot of ChatJax, which enables MathJax along with mhchem on chat. In order to enable MathJax in chat, please follow the following instructions (courtesy of ...
93
votes
1answer
12k views

How can I format math/chemistry expressions here?

This post is meant to teach new folks how to use MathJax and mhchem formatting on chem.SE
5
votes
1answer
243 views

TeX tutorial too intimidating/extensive

The help sidebar ("How to format") links to http://www.math.harvard.edu/texman/ That's a bit too extensive for us. (And it's for LaTeX proper, not mathjax so it has tons of irrelevant stuff) Can we ...
9
votes
2answers
330 views

Mathjax formatting buttons for you!

After having to add dollar signs and format SI units countless times in the review section on Physics, I finally got fed up and wrote a script.{*} It basically adds buttons/keyboard shortcuts to ...
23
votes
1answer
602 views

Enable mhchem mathjax extension

Mathjax 2.0 supports the mhchem extension. Could we enable it? It will save us lots of time in typesetting chemical formulae. How to enable the extension