Comments (5)
cc @burnpanck (who wrote the extension)
from mathjax-third-party-extensions.
@burnpanck There is also a problem with \degreeCelsius
. The command works, but the output is weird. It's very small and it does not use the correct font.
Take a look at the screenshot. The first line is \SI{25}{\degreeCelsius}
, the second line is simple text inside the MathJax environment \text{25 °C}
.
from mathjax-third-party-extensions.
Hm. The \percent
definitely is a bug. Maybe I get around to look at it this weekend. For the degree Celsius, one would have to compare the generated Jax. However, I am not an expert on that side, in fact I'm not sure if any of the units is really rendered correctly.
from mathjax-third-party-extensions.
For the degree Celsius, one would have to compare the generated Jax.
You currently generate
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mn>25</mn>
<mspace width="mediummathspace" />
<mi mathvariant="normal">℃<!-- ℃ --></mi>
</math>
Which seems the right way.
However, the issue described above stems from the fact that not all fonts supported by MathJax have a glyph for ℃ (in particular the default fonts don't) and the system fallback font in the above screenshot is doing rather poorly. (It might actually be considered though a bug @SamThilmany if you can provide more info).
Alternatives could be $\mathrm{°C}$
and (as MathML) <math><mmultiscripts><mi mathvariant='normal'>C</mi><mprescripts><none></none><mi>°</mi></mprescripts></mmultiscripts></math>
.
from mathjax-third-party-extensions.
Closining favor of burnpanck/MathJax-siunitx#3
from mathjax-third-party-extensions.
Related Issues (19)
- Add Tom Leathrum's extensions
- Cache breaking HOT 8
- Collection of macros from user group postings etc.
- Add asciimath display-style delimiters extension
- esint extension HOT 1
- Add: xyjax
- [img] add support for alt text HOT 1
- simple stmaryrd extension
- Add: MediaWiki-Math-extension extension HOT 1
- Update readme for v2.7 changes
- Post mathod or Get mathod sending value twice HOT 5
- [siunitx] Support for sisetup and DeclareSIUnit HOT 4
- [IMPORTANT] MathJax CDN end-of-life & suggested changes to third-party extensions HOT 7
- [siunitx] Typesetting uncertainties in scientific notation HOT 2
- [mhchem] Problem with arrows
- Line integral rendering HOT 3
- actuarialsymbol - MathJax Third party extension HOT 3
- add metadata HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mathjax-third-party-extensions.