Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mathjax]

MathJax is is an open source JavaScript display engine for mathematics that works in all modern browsers. It allows LaTeX commands as input which are then rendered similar to the way LaTeX itself does it. Note that questions dealing with installation of MathJax, how it works, or rendering problems are widely considered to be off topic and are at risk of being closed.

5
votes
1answer
90 views

how to improve SVG for math resolution in tex4ht?

make4ht now supports both mathjax and svg for math. I noticed that the math displayed in the browser when using mathjax mode looks sharper/crisper than when using svg for math. So this question ...
2
votes
0answers
38 views

Is it possible to write an upright Greek letter in math mode on Stack Exchange? [closed]

I'd like to write all mathematical constants (this includes some Greek letters) in upright style – here on Stack Exchange (math mode). Is it possible to write an upright pi, for example? It bothers ...
1
vote
0answers
13 views

Splitting fraction numerators in mathjax? [closed]

In standard latex, \splitfrac can be used to split a large numerator across two lines, and you can nest splitfrac to break up a numerator into three or more lines. But mathjax doesn't seem to support ...
0
votes
1answer
36 views

Proper way to semantically enclose several characters as a single name

Answering this question could involve saying something about MathJax. It depends on what turns out to be the answer. I am interested in how things should be done in the LaTeX side, though. LaTeX, as ...
3
votes
1answer
57 views

Work of TeX infix operators

I check a work of TeX infix operators and have some questions. For example, it will be \over. The syntax is {<subformula1> \over <subformula2>}. It is ok, but i noticed that in this case \...
0
votes
0answers
25 views

How to upload a Latex file with images referenced in it,into a mysql database

So I have this php/mysql/latex/mathjax quiz generating system.I can create a latex document of questions and upload the file and my system extracts the questions and answers,stores them in a mysql ...
1
vote
0answers
142 views

Transform 150,000 computer generated TeX images to LaTeX code

The Encyclopedia of Mathematics is based on an encyclopedia that had its formulae written in TeX, which were saved as png images. On its way through the various publishers the original TeX source code ...
2
votes
0answers
34 views

Converting an Overleaf document to a Wordpress post [duplicate]

Good morning! I have a document (math operations) made in Overleaf and I need it as a Wordpress post. Does anyone know if it is possible to perform some sort of conversion with a minimum number of ...
2
votes
1answer
63 views

MathJax - \bbox alignment issues [closed]

I'm working on a post using mostly markdown but for the math side of things I've thrown MathJax in, I've been trying to get a definition for rings inside of a box and I've discovered as per the ...
4
votes
1answer
145 views

Error creating a \newcommand which uses \hspace

None of my \newcommand declarations work for \hspace, with or without arguments; I use the latest MathJax with the general libraries. Attempts so far: \newcommand{hs}[1]{\hspace{#1}} \newcommand{hs}[...
0
votes
2answers
94 views

On using '&' and '\\' with align

When using \begin{align} 'stuff' \end{align} do I use &, \\, or both to get equations to appear on successive lines. For example a=b c=d . . . e=f
0
votes
0answers
38 views

Is there a reduced de Broglie wavelength symbol for mathjax? [duplicate]

I am working in a Jupyter notebook environment (which uses MathJax to typset math symbols in a Markup cell) writing mathematical physics equations and often related Python Numpy Sympy code in ...
0
votes
1answer
223 views

How to use $$ in mathjax to be inline? [closed]

I have used the following code to display inline mathjax <script type="text/x-mathjax-config"> MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}}); </script> <...
1
vote
1answer
78 views

How to put two tables next to each other? [closed]

I'm using MathJax on Math.SE and would like to place two matrices next to one another. When using an array followed by another array, they are not placed on the same line/row as can be seen here (...
1
vote
0answers
127 views

How to build table using MathJax? [closed]

I am a beginner. I am trying to build a table using math Jax but it can't compile. how can I add a table?
1
vote
3answers
373 views

How to make double-struck capital letters italic (e.g. U+1D53C)?

In Word I am able to include the unicode symbol U+1D53C (write number and press Alt+C) and assign italic formatting: How do I get the same result in LaTeX? I tried: \mathit{\mathbb{E}} {\it \...
3
votes
1answer
66 views

French accent into align environment with htlatex

I am using first latex compiler to generate pdf document. Into .tex source, I have the following equation : \begin{align} \text{tenseur sym\'etrique :}\,\,\,\,& S_{ij}=(1/2)\,(T_{ij}+T_{ji}) \...
1
vote
2answers
72 views

\newcommand works with latex but not with tex4ht( htlatex)

I am working on 2 rendering, the first one with the classical latex command and the other with htlatex command (tex4ht). I have defined the following \newcommand : \newcommand{\btFma}[2]{$\mathfrak{...
1
vote
1answer
153 views

\mathlarger with htlatex not supported : looking for other alternatives

I tried to use \mathlarger with integrals with htlatex but the MathJax page generated doesn't seem to support \mathlarger : you can see the result on this link : Issue with \mathlarger Latex source :...
0
votes
0answers
114 views

open source web based markup editor plugin supporting latex

I have a web project where we provide support for writing (basic) TeX with some additional markup (bold, italic,...). Currently, we use this plugin under MIT license, where the TeX markup is being ...
0
votes
1answer
312 views

Custom color for LaTeX output in Sphinx documentation package

I am trying to customize the color of the LaTeX inline formula when using Sphinx documentation package, and html output. The details: I have a file called func.rst, which includes the following line:...
1
vote
0answers
1k views

Using TikZ in a browser like MathJax [closed]

I'm guessing this has been done in a thread before, but I've just spent two hours reading various threads and cannot get my head around a very basic question. Long story short: I'm trying to create ...
0
votes
1answer
59 views

How can I make a character take up less horizontal space? [closed]

This is the equation, in mathjax: \( sin(\theta)=cos(90°-\theta) \) Which looks like this: If you highlight it you can see how much space the degree symbol is taking up: How can I get rid of the ...
0
votes
0answers
27 views

Mathjax/LaTex code for placing tilde beneath a variable [duplicate]

I know that \tilde{x} will produce but how do I make it that \tilde will be below ?
1
vote
1answer
57 views

Command as default argument of macro

I'm able to create a macro without problems which takes a command as one of its arguments, eg: \newcommand{formatnodefault}[2]{#1 #2} % both of these work \formatnodefault{\mathcal}{ABC} \...
0
votes
1answer
76 views

use CancelColor in mathjax [closed]

I want to use \cancel{·} in mathjax. with a crossed line of different color, explained here. I use \[ enter code here \require{xcolor} \require{cancel} \renewcommand\CancelColor{\color{red}} \...
0
votes
2answers
363 views

How do I math code Product symbol other than type $\prod_{i=1}^{n}$ [duplicate]

I can code symbols of the type $$\prod_{i=1}^{n}$$ but when it comes to: I cannot get the less-than-equal sign placed as shown.Can this be done easily? EDIT: below removed as reason explained in ...
1
vote
1answer
622 views

How to make a chemical diagram with mhchem

I need to write two symbols one below the other, and I referred to the following posts: How to write something vertically below another math symbol How to write below/above the text in LaTeX? ...
1
vote
0answers
198 views

MongoDB to math Latex [closed]

I am working on math quiz application and I want to store the math equations in to database.How to save math equations into mongodb database ?
5
votes
2answers
298 views

How to use `MathJax mhchem \pu{}` command in LaTex?

As title says I would like to use MathJax mhchem \pu{} command in my LaTeX document. FYI it is widely used in chemistry stackexchange for putting units. But when used I get the error: Undefined ...
0
votes
2answers
1k views

What's the symbol for a triangle pointing to the right?

I am looking for a MathJax equivalent of the Unicode symbol called WHITE RIGHT-POINTING POINTER: ▻ It is a little bit longer than \triangleright, which looks like this: Also, I wasn't able to ...
2
votes
1answer
141 views

How can I put arrows above an equation in MathJax?

I'm trying to write the following images in TeX using MathJax rendering: So I have the following equation: \[ \frac{36}{60} = \frac{18}{30} = \frac{9}{15} = \frac{3}{5} \] And I want to display ...
3
votes
1answer
441 views

Pre-compiled mathjax output using mathjax node in make4ht or htlatex

It is possible to convert latex to html with make4ht or htlatex in which mathematics content gets converted into svg. Is it possible to pre-compile mathematics content of latex file into mathjax (...
4
votes
2answers
2k views

Using align inside cases

I was trying to achieve an alignment inside a cases environment. Here is what I was trying to achieve: I actually was able to achieve the above using the following MathJax code: $$ f(x,y) = \begin{...
0
votes
1answer
59 views

What are the corresponding commands in MathJax for \"{o} and \'{o} in Latex? [closed]

In Latex \"{o} is for two dots above o and \'{o} is for uptone above o. And I am creating a website .html with MathJax for mathematical formulae and equations. But they just show as \"{o} and \'{o}. I ...
2
votes
0answers
195 views

Tex4ht/MathJax - Matrix equation with aligned rows

By using tex4ht I'm processing a tex document with a matrix equation where I would like the rows of all different arrays to be aligned (i.e. all row should have the same thickness). The latex document ...
4
votes
4answers
4k views

Splitting lines for long equations

I am copying large formulas from a sympy session into Texmaker. These are along the lines of : \documentclass[]{article} \usepackage{amsmath} \begin{document} $$X''(x) = \left(- 2 C_{1} \sqrt{\lambda}...
19
votes
2answers
3k views

What is the difference between LaTeX and MathJax?

This might be a silly question, but I am rather new to using LaTeX/MathJax, which I use to render chemical equations over at Chemistry SE. I tend to use the term LaTeX and MathJax synonymously, ...
0
votes
1answer
244 views

How to compile my Math Stack Exchange Mathjax into a PDF document?

I have a rather lengthy post on Math SE at the following link. https://math.stackexchange.com/questions/2308162/how-is-the-matrix-of-a-linear-operator-affected-by-a-change-of-bases Now I'd like to ...
1
vote
3answers
1k views

MathJax: Have \displaystyle apply to each case of \begin{cases}

I would like \displaystyle to apply to each of my cases: $$\begin{cases} \displaystyle \frac 1 2 \\ \frac 3 4 \end{cases}$$ But it only seems to apply to the first: How can it be applied to all ...
1
vote
2answers
221 views

cancel package and tables

I have a "friend" who needs to do some kind of strikethrough or cancel but for a whole row or column (or both) of a table at a time. It should ideally be something supported by MathJax, so various ...
1
vote
2answers
433 views

Implies arrow in the northeast direction [closed]

How to create an arrow with a similar shape as the \implies arrow, but not in the right direction, say in the northeast direction. Thanks. Edit: I am using mathjax.
3
votes
0answers
161 views

Lyx: exporting document in a “MathJax compatible” way

When posting a question in math.SE, I like to write my questions in LyX and then export them to LaTeX. But there are several things that I have to do in the resulting LaTeX file in order to copy-paste ...
0
votes
1answer
1k views

How Can I Align The Steps to Solve a Simple Algebraic Equation with MathJax? [closed]

I am 14, and working on depicting the steps to solve a simple algebraic equation like this: 2x - 3 = 7 with MathJax. However, I want to align the required steps as depicted below: My question, ...
1
vote
0answers
171 views

How to get decent math rendering with Tex4ht?

After resolving the hyperref issues with tex4ht, I'm still having issues with the math rendering. The following MWE compiles fine with pdflatex, except for the d operator: \documentclass[a4paper, ...
2
votes
1answer
91 views

Equation number inside equation (not on extreme right), or ref to user-defined counter

Please note that the solution should be compatible with MathJax. I produce the .tex code, but someone else deals with the getting it up onto the web (meaning I don't understand MathJax, but if the "...
2
votes
1answer
279 views

Does \autoref break tex4ht?

While getting started with tex4ht, I noticed a couple of issues. The following MWE compiles fine with pdflatex: \documentclass[a4paper, 12pt, ngerman]{scrartcl} \usepackage[ngerman]{babel} \...
0
votes
0answers
35 views

How to make a smaller gap when using many level of $$$$? [duplicate]

I have the following problem: Where I'm using $$$$ twice to make the equation of the linear model fit horizontally. But I don't like white space that's left between the two lines. Is there a way ...
1
vote
1answer
274 views

Adding labels to matrix in MathJax? [closed]

How can I do the following kind of matrix in MathJax?
1
vote
0answers
134 views

CHTML MathJax sf font [closed]

I use solution for SVG and HTML-CSS from: https://github.com/mathjax/mathjax-docs/wiki/Can-MathJax-use-font-xxxx%3F <script type="text/x-mathjax-config"> MathJax.Hub.Config({ "HTML-CSS": {...