Giter VIP home page Giter VIP logo

mathjax's Introduction

MathJax

Beautiful math in all browsers

GitHub release version GitHub release version (v2) NPM version powered by NumFOCUS
jsdelivr rank jsDelivr hits (npm) npm monthly downloads (full) npm total downloads

MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all modern browsers. It was designed with the goal of consolidating the recent advances in web technologies into a single, definitive, math-on-the-web platform supporting the major browsers and operating systems. It requires no setup on the part of the user (no plugins to download or software to install), so the page author can write web documents that include mathematics and be confident that users will be able to view it naturally and easily. Simply include MathJax and some mathematics in a web page, and MathJax does the rest.

Some of the main features of MathJax include:

  • High-quality display of LaTeX, MathML, and AsciiMath notation in HTML pages

  • Supported in most browsers with no plug-ins, extra fonts, or special setup for the reader

  • Easy for authors, flexible for publishers, extensible for developers

  • Supports math accessibility, cut-and-paste interoperability, and other advanced functionality

  • Powerful API for integration with other web applications

See http://www.mathjax.org/ for additional details about MathJax, and https://docs.mathjax.org for the MathJax documentation.

MathJax Components

MathJax version 3 uses files called components that contain the various MathJax modules that you can include in your web pages or access on a server through NodeJS. Some components combine all the pieces you need to run MathJax with one or more input formats and a particular output format, while other components are pieces that can be loaded on demand when needed, or by a configuration that specifies the pieces you want to combine in a custom way. For usage instructions, see the MathJax documentation.

Components provide a convenient packaging of MathJax's modules, but it is possible for you to form your own custom components, or to use MathJax's modules directly in a node application on a server. There are web examples showing how to use MathJax in web pages and how to build your own components, and node examples illustrating how to use components in node applications or call MathJax modules directly.

What's in this Repository

This repository contains only the component files for MathJax, not the source code for MathJax (which are available in a separate MathJax source repository). These component files are the ones served by the CDNs that offer MathJax to the web. In version 2, the files used on the web were also the source files for MathJax, but in version 3, the source files are no longer on the CDN, as they are not what are run in the browser.

The components are stored in the es5 directory, and are in ES5 format for the widest possible compatibility. In the future, we may make an es6 directory containing ES6 versions of the components.

Installation and Use

Using MathJax components from a CDN on the web

If you are loading MathJax from a CDN into a web page, there is no need to install anything. Simply use a script tag that loads MathJax from the CDN. E.g.,

<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>

See the MathJax documentation, the MathJax Web Demos, and the MathJax Component Repository for more information.

Hosting your own copy of the MathJax Components

If you want to host MathJax from your own server, you can do so by installing the mathjax package using npm and moving the es5 directory to an appropriate location on your server:

npm install mathjax@3
mv node_modules/mathjax/es5 <path-to-server-location>/mathjax

Note that we are still making updates to version 2, so include @3 when you install, since the latest chronological version may not be version 3.

Alternatively, you can get the files via GitHub:

git clone https://github.com/mathjax/MathJax.git mj-tmp
mv mj-tmp/es5 <path-to-server-location>/mathjax
rm -rf mj-tmp

Then (in either case) you can use a script tag like the following:

<script id="MathJax-script" async src="<url-to-your-site>/mathjax/tex-chtml.js"></script>

where <url-to-your-site> is replaced by the URL to the location where you moved the MathJax files above.

See the documentation for details.

Using MathJax components in a node application

To use MathJax components in a node application, install the mathjax package:

npm install mathjax@3

(we are still making updates to version 2, so you should include @3 since the latest chronological version may not be version 3).

Then require mathjax within your application:

require('mathjax').init({ ... }).then((MathJax) => { ... });

where the first { ... } is a MathJax configuration, and the second { ... } is the code to run after MathJax has been loaded. E.g.

require('mathjax').init({
  loader: {load: ['input/tex', 'output/svg']}
}).then((MathJax) => {
  const svg = MathJax.tex2svg('\\frac{1}{x^2-1}', {display: true});
  console.log(MathJax.startup.adaptor.outerHTML(svg));
}).catch((err) => console.log(err.message));

Note: this technique is for node-based application only, not for browser applications. This method sets up an alternative DOM implementation, which you don't need in the browser, and tells MathJax to use node's require() command to load external modules. This setup will not work properly in the browser, even if you webpack it or bundle it in other ways.

See the documentation and the MathJax Node Repository for more details.

Reducing the Size of the Components Directory

Since the es5 directory contains all the component files, so if you are only planning one use one configuration, you can reduce the size of the MathJax directory by removing unused components. For example, if you are using the tex-chtml.js component, then you can remove the tex-mml-chtml.js, tex-svg.js, tex-mml-svg.js, tex-chtml-full.js, and tex-svg-full.js configurations, which will save considerable space. Indeed, you should be able to remove everything other than tex-chtml.js, and the input/tex/extensions, output/chtml/fonts/woff-v2, adaptors, a11y, and sre directories. If you are using the results only on the web, you can remove adaptors as well.

If you are not using A11Y support (e.g., speech generation, or semantic enrichment), then you can remove a11y and sre as well (though in this case you may need to disable the assistive tools in the MathJax contextual menu in order to avoid MathJax trying to load them when they aren't there).

If you are using SVG rather than CommonHTML output (e.g., tex-svg.js rather than tex-chtml.js), you can remove the output/chtml/fonts/woff-v2 directory. If you are using MathML input rather than TeX (e.g., mml-chtml.js rather than tex-chtml.js), then you can remove input/tex/extensions as well.

The Component Files and Pull Requests

The es5 directory is generated automatically from the contents of the MathJax source repository. You can rebuild the components using the command

npm run make-es5 --silent

Note that since the contents of this repository are generated automatically, you should not submit pull requests that modify the contents of the es5 directory. If you wish to submit a modification to MathJax, you should make a pull request in the MathJax source repository.

MathJax Community

The main MathJax website is http://www.mathjax.org, and it includes announcements and other important information. A MathJax user forum for asking questions and getting assistance is hosted at Google, and the MathJax bug tracker is hosted at GitHub.

Before reporting a bug, please check that it has not already been reported. Also, please use the bug tracker (rather than the help forum) for reporting bugs, and use the user's forum (rather than the bug tracker) for questions about how to use MathJax.

MathJax Resources

mathjax's People

Contributors

0xflotus avatar basvandertol avatar calebkester avatar cben avatar cclauss avatar christianp avatar dainiak avatar dpvc avatar ericdunsworth avatar fred-wang avatar gerhobbelt avatar grahack avatar ivanistheone avatar jaredwindover avatar jasondavies avatar jdh8 avatar koodough avatar matrixfrog avatar mitya57 avatar nineff avatar nivit avatar papergenie avatar physikerwelt avatar pkra avatar prog1dev avatar samccone avatar shogun70 avatar stakx avatar uhoreg avatar zorkow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mathjax's Issues

mathjax depends on unaltered nobr css styles

Equations show up incorrectly if the nobr element is styled, for example, with: nobr { white-space:normal; }

Yes, this is an illogical rule to set on the nobr element, but it can come, for example, as a part of the Tripoli css-reset (http://devkick.com/lab/tripoli/).

So mathjax should ensure that nobr is rendering normally inside of the MathJax classed div by including the following css in the inserted styles:
.MathJax nobr { white-space: nowrap; }

Add entities for greek letters

A user reported problems associated with &epsilon; in a MathML block. Should we add more entities to the MathML entities list?

Davide

Poor multilingual support in MathJax TeX fonts

It is not easy to get accented Roman letters in the MathJax TeX fonts (see discussion at http://groups.google.com/group/mathjax-users/browse_thread/thread/83dde5155764d076?hl=en and http://groups.google.com/group/mathjax-dev/t/2a5176f0d63b343d?hl=en for examples).

More generally, the treatment of unicode characters that are missing from the MathJax fonts is not great. We may need a better strategy for this. While most browsers will find these characters in other fonts, when they are available, IE does not look past the first font that it actually finds on the system, so this is not going to be easy to handle in a way that works uniformly across browsers.

I have font charts for the MathJax and STIX fonts, and it might be good to make them available so authors know what characters they can rely on.

Davide

\subsetneq and \supsetneq not in docs

Reported by nageh:

Figured that \subsetneq and \supsetneq are supported as part of the
AMS package though it's not listed among the supported LaTeX commands.

We should probably run another sanity check to see if anything else is left out.

the tex2jax and jsMath2jax preprocessors interfere with each other

It looks like tex2jax and jsMath2jax can cause problems for each other. In particular, it looks like the preview for one can get translated by the other one (e.g., when the preview includes a LaTeX environment, which will look like math to be processed by the other one).

This needs to be looked into more carefully to see what is actually going on. It may be enough to check that the parent element is not of class MathJax_Preview.

See http://groups.google.com/group/mathjax-users/browse_thread/thread/40ba5ea8541d93cf/6394fd166c7c6c02?hl=en#6394fd166c7c6c02 for details.

Davide

missing right brace

The following TeX code generates a "Missing Close Brace" error in MathJax:

$$\sigma _{\rm time} 
\left ( \tau ^{\ast } \right ) = {{ 1}\over { c_{1} \lambda h\left ( \tau 
^{\ast } \right )-{T}^{\prime}\left ( \tau ^{\ast } \right )}}\sqrt {\lambda 
c_{2} H_{2} \left ( \tau ^{\ast } \right )} \eqno{\hbox{(6$^\prime$)}}$$

See http://screencast.com/t/PPsz94FMKPs and http://screencast.com/t/TKkyh48Gx

This occurs fairly frequently in a collection of IEEE documents, and thus is probably not uncommon in general.

Increase delay between blocks of typesetting to improve responsiveness

It might be worth trying out a longer delay between spurts of typesetting to see if that improves the browser's responsiveness during the typesetting phase. This may make the typesetting take longer, since there will be longer delays during the process, but currently the responsiveness is pretty bad. Not sure if it will really help, because when the typesetting os a single equation gets to be long enough, there isn't much we can do to be responsive while that is going on.

Davide

\color macro not consistent with LaTeX

LaTeX's \color macro is a switch (i.e., it doesn't take an argument to be colored) whereas in MathJax you pass the material to be colored to it. We should look into changing that for consistency.

Self-closing MathML tags cause following elements to be ignored

In HTML pages, self-closing tags are not actually self-closing, and so something like <mspace width="1em" /> will be treated as an open tag, and the rest of the MathML will become children of the <mspace>, which MathJax then ignores (since mspace isn't supposed to have children).

problem with TeX \cases construct

There is a problem with the \cases command. It doesn't seem to be working properly in MathJax. The cases test from TeXbook pg 175 runs as follows:

$$ |x|=\cases{x,&if $x\ge0$;\cr -x,&otherwise. \cr}$$

MathJax appears to typeset the text in math italic whereas TeX typesets it in an upright font with normal text spacing. See http://screencast.com/t/eX3lcHOJGu for image.

Is anyone else running into this?

RFE: Use PNG post-processing compression improvement tools

Request For Enhancement

Please consider the use of PNG post-processing compression improvement tools as one of the final steps before "packaging a release distribution". Using the PNG compression tools

And the command (in the MathJax/fonts/HTML-CSS/TeX directory of the v1.0.1a zip distribution):

find png -type d -exec sh -c "optipng -q -o7 {}/*.png ; advpng -q -z4 {}/*.png" \;

I was able to reduce the size of the png directory by approximately ~381 KBytes. Granted, it's not much, maybe 1.2% or so of the total, but each little bit helps. The above find command is obviously just a quick hack, season to taste.

Obviously doing a PNG optimization pass on the 'originals' will produce the most benefit the first time it's run. This is a fairly trivial step to add and once the results are 'checked in' it will produce lasting benefits. Again, season the specifics to your projects work-flows taste.

\newcommand can be used to crash javascript

(See http://meta.mathoverflow.net/discussion/869/russells-paradoxon-for-mathjax)

In any forum running MathJax, it seems like a malicious user can cause serious trouble with \newcommand{\x}{\x}\x . For example, I've added such a post to http://faketestsite.stackexchange.com/questions/113 (WARNING: this page will cause trouble if you have javascript enabled. In Chrome I can kill the tab. In Firefox, it eventually gives me the option to stop the script. I haven't tried other browsers. Visit at your own risk.)

Is there a reasonable way to fix this without disabling \newcommand and \def? If no, how can those commands be disabled?

Lack of non-whitespace before initial equation causes problem in IE

It looks to me like there is a problem in IE if there is no non-whitespace character in the enclosing paragraph of the first MathJax equation in a document. I get the following:

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; MathPlayer 2.20; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.3)
Timestamp: Tue, 2 Nov 2010 15:27:35 UTC
Message: 'parentNode' is null or not an object
Line: 35
Char: 3
Code: 0

Inserting a single character fixes the problem. See

http://173.11.52.201/~robertm/mathjax/test/IE-initial-space-bug-bad.html
http://173.11.52.201/~robertm/mathjax/test/IE-initial-space-bug-good.html

for repro pages. Hard to believe, but it seems to have been there a long time. It also affects the main test/index.html page in the distribution. Can anyone else repro, or have I hacked into something somewhere that I've forgotten about that broke it for me?

Opera 11 fails to open "About MathJax" box

When the "About MathJax" menu item is selected from the contextual menu, no abotu box appears. This is due to the loop looking for the various Jax versions; it should use hasOwnProperty to make sure JAX[id] is appropriate for testing. I will put together a patch branch for this.

Davide

more work on \vec for physics

MathJax is sensational! However, I do think \vec, used crucially 7366 times (and additionally in graphics) in my online modules, needs to be made consistent with its output appearance in Tex with respect to arrow shape and also with arrow breadth over combinations of letters (much as in overline and underline). Or perhaps I am missing something!

'git status' always shows the fonts/ folder

If you checkout MathJax from github, 'git status' always shows the fonts/ folder as an "untracked file" -- there should be a .gitignore file and "fonts/" should be in it.

Some equations being misplaced under Chrome 7 on Windows and OS X.

There have been several bug reports on MathOverflow (c.f. the MathJax bug report thread there) of equations being misplaced on the page when running Google Chrome 7.

Here are some examples:

  1. http://mathoverflow.net/questions/45730/transitive-semigroups-of-2-times-2-matrices (which renders incorrectly for some users with Chrome 7 on Windows)
  2. http://mathoverflow.net/questions/42629/can-all-n-manifolds-be-obtained-by-gluing-finitely-many-blocks/44500#44500 (renders incorrectly for some users with Chrome 7 on OS X)

In both cases, it's the last equation in a paragraph appearing before the beginning of the paragraph, instead of inside the text.

Display \text content in page font instead of math font

See http://groups.google.com/group/mathjax-users/browse_thread/thread/74446172390fe049

nageh wants to know if we will support adding an option to display content in \text blocks with the page's font instead of the normal math font inside MathJax blocks. I don't know if this is possible, but here are some use cases that make sense to me:

f(x) = \begin{cases}
1 & \text{if } x \text{ is prime},
0 & \text{if } x \text{ otherwise}. \end{cases}

\mathit{COMPOSITE} = {x\in\mathbb N:x=pq \text{ for integers } p, q >
1 }

Just an aesthetics issue, but it seems to fit in with our future plans to support other fonts and such. I would say it's low-priority until after 1.1.

Erroneous error about mismatched braces

A user reports that

$$\eqalignno{
{{da_1 }}\over{{dt}} &= !\left(! { - {1 \over {2\tau _{{\rm total},1} }} + i(\omega _1 + \Delta \omega _1 -
\omega {{\rm wg}})}!! \right)a_1 + \kappa s{1 + } + \kappa s_L\cr
&&{\hbox{(1)}}\cr
{{da_2 }}\over{{dt}} &= !\left(! { - {1\over {2\tau _{{\rm total,}2} }} + i(\omega _2 + \Delta \omega _2 - \omega
{{\rm wg}})} !!\right)a_2 + \kappa s_R + \kappa s{2 + } .\cr
&&{\hbox{(2)}}
}$$

produces a mismatched brace error in MathJax 1.1b. According to TeX the braces are correct, so it seems like a MJ problem.

IE accessibility calls returning wrong span from MathJax equations

Some assistive technology vendors use a method, IHTMLDocument2::elementFromPoint(), that returns an accessibility interface for the HTML element at a given x,y location. In particular, this is how certain AT programs obtain an interface from MathPlayer to obtain speech text for math.

When MathJax is configured to render with MathPlayer in IE, it generates markup of the form

<DIV class="MathJax_MathML" style="FONT-SIZE: 100%">
<SPAN class="MathJax_MathContainer" style="DISPLAY: inline-block; POSITION: relative">
    <SPAN style="DISPLAY: block; TEXT-ALIGN: center">
      <math display="block">...</math></SPAN>
    </SPAN>
    <SPAN style="DISPLAY: inline-block; WIDTH: 0px; POSITION: relative; HEIGHT: 0px">
        <SPAN style="DISPLAY: inline-block; LEFT: -111px; WIDTH: 111px; 
             POSITION: absolute; TOP: -38px; HEIGHT: 69px; ..."></SPAN>
     </SPAN>
</SPAN>
</DIV>

IHTMLDocument2::elementFromPoint() returns the span inside the second span, instead of the math element in the first span. This has the effect of rendering MathJax equations inaccessible in those AT clients.

Is the second span necessary in this case? We are looking at whether the order of the first and second spans matter, since that also might offer a solution. We will add info as we learn more.

Remap unicode Greek characters to latin glyphs in MathJax TeX fonts

The MathJax TeX fonts only include the capital Greek letters that are not the same as Latin glyphs. It would be good to update the REMAP data to redirect the unicode positions to their corresponding Latin glyphs, in case anyone uses \unicode{} in TeX, or specifying these explicitly in MathML.

MathJax Chrome 8.0.552.224 Rendering Issue

Hi, we are using the latest MathJax from github with the following MathML:

mml:mrowmml:mfracmml:mrowmml:mfracmml:mn1</mml:mn>mml:mn2</mml:mn></mml:mfrac>mml:mo+</mml:mo>mml:mfracmml:mn1</mml:mn>mml:mix</mml:mi></mml:mfrac></mml:mrow>mml:mrowmml:mfracmml:mn1</mml:mn>mml:mn4</mml:mn></mml:mfrac>mml:moโˆ’</mml:mo>mml:mfracmml:mn1</mml:mn>mml:mrowmml:msupmml:mix</mml:mi>mml:mn2</mml:mn></mml:msup></mml:mrow></mml:mfrac></mml:mrow></mml:mfrac></mml:mrow>

In chrome, this shows up as http://oi56.tinypic.com/148gnyb.jpg - which is clearly wrong
The expected output is http://oi55.tinypic.com/21e45zc.jpg

How would we go about fixing this so that it outputs correctly in Chrome as it seems to work fine in other browsers?

Greek letters not displayed unless mathvariant="italic"

If a Greek letter is used in <mo> or other tags that don't default to mathvariant="italic", the HTML-CSS output jax doesn't find the Greek letter. See http://groups.google.com/group/mathjax-users/browse_thread/thread/32ce7d8ffc99c297?hl=en for original user report.

Possible fix: either remap these locations to the italic font in the TeX/fontdata.js file, or add the italic font into the font list for "normal" so that if the character is not in the Main font, MathJax will look into the italic font. (Should other fonts be listed there, too, like the AMS fonts?)

IE problem introduced in SVN 621

In SVN 621, I changed the TeX preprocessor to fix a problem with Firefox and empty text nodes when they appear in pre-formatted text (it caused unwanted blank lines to appear). Apparently, IE removes these nodes automatically, so the fix causes an error when it tries to remove them again (the parentNode is null).

The fix is to add a check for null parentNode in tex2jax.js line 213, changing

if (search.open.nodeValue === "") 
  {search.open.parentNode.removeChild(search.open)}

to

if (search.open.nodeValue === "" && search.open.parentNode)
  {search.open.parentNode.removeChild(search.open)}

This is in my fork of MathJax. Sean, can you review this so that I can make the change? Thanks.

Davide

-webkit-column-count crashes Mathjax in Chrome

Bug was observed using

  • MathJax version: 1.01a
  • Chrome version: 8.0.552.231 for mac, 8.0.552.224 for linux

With any number of columns > 1, the -webkit-column-count styling for divs crashes mathjax when
superscripts or subscripts are used. Removing sub/superscripts solves the problem.

Minimal example exhibiting crash below.

<html> <head> 
<script src="path.to/MathJax/MathJax.js" type="text/javascript"></script> 
</head><body> 
<div style=" -webkit-column-count:2;"> $P^1$ </div> 
</body></html>

Problem with \boxed

The \boxed{} contruct seems to be broken.
Initially I thought it was a local problem, but the same error occurs on:

http://math.stackexchange.com/questions/ask

Enter the following in the text area, and see the preview below:

$\boxed{1+2=3}$

I see only two out of four sides of the boxed, and for some reason the left edge are curved.
I have tried both Chrome and Safari for OS X.


Originally reported by
http://soegaard.myopenid.com/ ( http://soegaard.myopenid.com/ ) - 2010-10-31 06:47:50 CDT

Performance improvements

I've made a performance branch of my fork that includes two updates: the reduced processUpdateTime for better responsiveness, and the separate class for during the typesetting that IE can use to set position:relative to get measurements right.

See dpvc@f86e817
and dpvc@1e4efb3 for details.

Davide

Support for xleftarrow and xrightarrow

A user reports a need for "xleftarrow" and "xrightarrow". Perhaps we should add support for these.

Obviously, this is tied to the question of whether appropriate characters are in STIX and our own MathJax fonts, and whether they should be composited out of glyph pieces.

Stretched braces jumbled up in IE 8

This HTML file:

<html>
  <head>
    <!-- mathjax stuff -->
    <SCRIPT SRC="MathJax/MathJax.js">
    </SCRIPT>
  </head>
  <body>
    <p><script type="math/tex">\left\{\begin{array}{l}a \\ b \\ c \\ d \end{array} \right .</script> left brace is jumbled</p>
    <p><script type="math/tex">\Bigg\{</script> meant to be a big left brace</p>
  </body>
</html>

produces this output in IE8 (and 7):
braces

This displays correctly in chrome and IE9, as far as I can tell. I'm using MathJax 1.0.1a and the latest version off github.

Opera does not handle many glyphs on STIX fonts

Opera has never properly displayed most of the STIX fonts. In the past, this has prevented MathJax's font detection from locating the STIX fonts, so they were never used. It appears that Opera has updated its font handling so that MathJax now detects the STIX fonts, but most of the glyphs still can't be displayed.

MathJax may need to make an explicit exception to using STIX with Opera.

Davide

Problem with \boxed

The \boxed construct seems to be broken.
Initially I thought it was a local problem, but the same error occurs on:

http://math.stackexchange.com/questions/ask

Enter the following in the text area, and see the preview below:

$\boxed{1+2=3}$

I see only two out of four sides of the boxed, and for some reason the left edge are curved.
I have tried both Chrome and Safari for OS X.

NB: I were unaware the bug tracker moved to GitHub, so this bug were initially submitted
to the old bug tracker.
http://sourceforge.net/tracker/?func=detail&aid=3099827&group_id=261188&atid=1240827

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.