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
1
vote
0answers
27 views

Is there any way to tell Pandoc to leave begin equation as is?

I am using Pandoc to convert from Latex to Html with Mathjax, i.e., pandoc --mathjax -s -f latex input.tex -t html -o output.html. The only issue is that \begin{equation} ... \end{equation} is ...
0
votes
1answer
59 views

How to type column vectors in MathJax?

I know I can use bmatrix in MathJax, but for vector the syntax looks a bit verbose. Isn't there a more compact way for inputing just vectors than writing: $\left(\begin{bmatrix} 1 \cr 3 \end{bmatrix} ...
1
vote
2answers
80 views

How to write an integral like this in MathJax/LaTeX?

How can I write an integral with underlined characters evenly spaced between two integral signs like this in MathJax/LaTeX?
1
vote
3answers
118 views

When using a function cases, I only get the curly bracket for the first line, how to resolve the error?

I am using Overleaf to write a piecework function, and I know that in MathJax the function works, I write \begin{cases} \end{cases} and then separate the intervals with \\, but in Overleaf it gives me ...
-1
votes
1answer
46 views

\enclose undefined control sequence [closed]

We noted the following TeX code support in mathjax in referring in the net but it is undefined while compiling in latex, what package I should used here? $$\enclose{circle}[mathcolor="red"]{\color{...
2
votes
2answers
121 views

Where is the error in my LaTeX codes?

I use rogercortesi.com to convert LaTeX codes into images. But the code I wrote below doesn't work. I couldn't understand why. But the same code works very well here. What is the cause of the problem? ...
0
votes
1answer
38 views

Spacing before an operatorname macro

When I write out $2 \operatorname{Re} z$, I get the expected output rendered, which is: However, when I define the macro $\Re$ for it in MathJax as <script type="text/x-mathjax-config"> ...
5
votes
1answer
195 views

Convert LaTeX to HTML with MathJax

I'm student for Computer science. I prefer to write my home work assignments in LaTeX. I'm utilizing tikZ pretty heavily in my specialized science courses. My goal now is to convert my TeX files to ...
1
vote
0answers
48 views

Typing math like in MathStack [closed]

First I'll begin by apologizing if this is not the right place to publish this post. I have been studying math in the academy for a while. For that very reason I have to type a lot of math on the ...
2
votes
0answers
36 views

Is “\begin{align}” a legitimate tag? [duplicate]

This block works well in MathJax \begin{align} a+b \end{align} and causes error in tex. Is "\begin{align}" a legitimate tag? Do I need to import some package?
1
vote
1answer
50 views

Reverse double turnstile in Mathjax/Wordpress [closed]

I'm trying to make a reverse double turnstile on my wordpress site. I do have Mathjax installed. I've tried using $\leftmodels$ and $\Dashv$, but neither of those work. I am able to make the regular ...
1
vote
1answer
49 views

Different parenthesis sizes in frac, how to solve it

In the below equation $\Big(R - \left(\frac{D}{Q} \right) \Big) \Big( R - \left(\frac{D}{P} \right)\Big)$. the \frac{D}{Q} and \frac{D}{P} have different sized parenthesis. However, if we use $$\...
1
vote
0answers
45 views

Asciimath editor [closed]

In HTML, it is easy to use asciimath for combinig text and formulas as you just write: text asciimath expression text. Does there exist an editor which allow the same functionality?
0
votes
0answers
135 views

How to draw and label lines and angles

I can draw graphs of simple functions (straight lines and parabolas) one at a time. But how do you render multiple lines at the same time (and label them neatly)? Is there a code for drawing slant ...
2
votes
1answer
35 views

How to align words outside matrix? [closed]

It is difficult to describe my question, so I give the picture which shows the difficults: Some words are outside of the matrix, both rows and columns. How to align them? It is better to have ...
0
votes
0answers
54 views

Two problems with Latex on a Mac

I've used Latex on Mathematics Stack Exchange but I'm having problems with a version I downloaded for my Mac. Here is a screen shot. The first problem is $mathbf{\text{ something }}$ won't boldface ...
0
votes
0answers
87 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
63 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
44 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
156 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
60 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 ...
2
votes
0answers
52 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
61 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
90 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
58 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
163 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
68 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
155 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
230 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
106 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
59 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
493 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
120 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
167 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
836 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
110 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
102 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
272 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
497 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
2k 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
79 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
31 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
78 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
116 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
692 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
1k 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
287 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
427 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
3k 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
201 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 ...