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.

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

How to make macro as “\qty” on equation? [on hold]

I am a TeX user and I have a question about macro. I usually handle math equations and I uses "physics package" a lot. Using equation on TeX with Physics package, \qty( "Something" ) is the same as \...
0
votes
0answers
13 views

Automatic theorem referencing in MathJax [closed]

I am writing some webpages containing math content (using MathJax), and I am looking for a way to do the equivalent of the LaTeX theorem referencing, as in the following example: \begin{theorem} \...
0
votes
0answers
38 views

Can I use the same math font as MathJax in my article?

Please bear with me, if this is a dumb question, but I'm writing an article for the first time with latex. I'm using overleaf.com and set XeLaTeX as the compiler. I don't like the math font which is ...
0
votes
0answers
24 views

Striking out rows and columns in a matrix with mathjax

I want to write a matrix with a row and a column striking out with blue color. I find a lot of threads about that but using tikz library, but this one is not available with mathjax. In some case I've ...
0
votes
1answer
38 views

Bad Alignment with bordermatrix in mathjax

I'm trying to make a border matrix but the elements outside the pmatrix are badalignment respect the pmatrix using Mathjax. Here's the code: \documentclass[14pt,a4paper,oneside]{article} \usepackage[...
5
votes
1answer
110 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
47 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
19 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
46 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
61 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
40 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
146 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 ...
1
vote
0answers
43 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
97 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
178 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
96 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
41 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
304 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
106 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
155 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
441 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
84 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
84 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
195 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
1answer
359 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
67 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
28 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
67 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
97 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}} \...
1
vote
2answers
479 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
790 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
229 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
336 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
2k 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
158 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
501 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 (...
5
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
226 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
5k 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}...
20
votes
2answers
4k 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
263 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
236 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
487 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
178 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
184 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, ...
9
votes
3answers
7k views

Boxed and align

Remark: The examples in this post are not the real cases, the real one is a web page using MathJax. It seems MathJax has some restrictions about the packages that can be used. In particular, mathtools ...