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.
55
questions
-1
votes
1
answer
101
views
Why are compound formulae not rendering properly using \ce tag?
Basically, everywhere I use the \ce tag on chemistry stack exchange, I get wrong formulae. The subscripts are becoming superscripts while the superscripts are becoming subscripts. Is it just me or is ...
-1
votes
1
answer
50
views
Is a package (e.g., \require {cancel}) still needed for a diagonal strikeout in MathJax?
This post, from six years ago, indicates a diagonal strikeout (e.g., for unit cancellation) can be done by calling the \require {cancel} package:
Additions to MathJax/mhchem: Cancel, Broken Arrows; ...
8
votes
1
answer
71
views
Extra spacing before mhchem super/subscripts
I'm not entirely sure if this is still the correct platform for mhchem issues, but I've noticed a mildly annoying extra space that occurs just before ...
1
vote
0
answers
64
views
problems rendering overbar in square root on Main ChemSE site
On the ChemSE site (Is it better to use a smaller, more accurate measuring cylinder several times or a larger, less accurate one for the same volume?), the following MathJax code renders my square ...
2
votes
1
answer
80
views
Problem in rendering with arrow
Screenshots of MathJax text,
CH3-CHOH ->[H2SO4][\Delta] CH2=CH2
while editing (lower stuffs are cropped):
after editing, on post page (both stuffs are cropped)...
2
votes
0
answers
44
views
How to render a square-scheme reaction using MathJax?
I'm try to write a square-scheme reaction using MathJax. Until now I managed this one.
...
6
votes
1
answer
112
views
Nonconforming MathJax example on the Markdown Editing Help page
The Markdown Editing Help page on Chemistry Stack Exchange (https://chemistry.stackexchange.com/editing-help#latex) includes the following short example for the the use of MathJax:
...
1
vote
1
answer
54
views
Adding tex symbols to post
This is a two part question:
The extent to which tex can be incorporated into a post appears to be outlined here (some links from that question need refreshing btw). Is this the main source of ...
1
vote
1
answer
260
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
1
answer
2k
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
1
answer
445
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
1
answer
136
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
1
answer
34
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
1
answer
42
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}$$
...
6
votes
1
answer
91
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
1
answer
43
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?
...
17
votes
0
answers
376
views
Introducing: Markdown Shortcuts for Stack Exchange
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
1
answer
123
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 ...
6
votes
0
answers
82
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
2
answers
122
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
1
answer
167
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{} ...
13
votes
3
answers
3k
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
1
answer
61
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
1
answer
320
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 ...
0
votes
2
answers
84
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 ...
9
votes
3
answers
3k
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 ...
19
votes
12
answers
2k
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 ...
8
votes
1
answer
115
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
0
answers
75
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
0
answers
47
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 ...