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.

0
votes
0answers
23 views

Mathjax: use the parameter in the \style [on hold]

Please tell us this is acceptable? I wrote the following sample: <script type="text/x-mathjax-config"> MathJax.Hub.Config({ showProcessingMessages: true, jax: ["input/TeX"], tex2jax: {...
0
votes
0answers
20 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 ...
0
votes
0answers
34 views

The color scheme is gray on blogger

I am Russian. English do not know, I write using online translator, so I apologize for my language. I started writing a blog. Connected thereto Mathjax. I need to create a macro that surround the ...
1
vote
0answers
138 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
33 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
47 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
144 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
36 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
177 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
52 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
101 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
votes
1answer
329 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 a) \mathit{\mathbb{E}} b) ...
3
votes
1answer
63 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
67 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
140 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
105 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
287 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
57 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
50 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
72 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
333 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
561 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
187 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
289 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
129 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
418 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
56 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
180 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
227 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
215 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
414 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
154 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
168 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
89 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
265 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
34 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
262 views

Adding labels to matrix in MathJax? [closed]

How can I do the following kind of matrix in MathJax?
1
vote
0answers
128 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": {...
3
votes
2answers
577 views

Prime factorization

Is there any way that I can create the following in LaTeX which renders using MathJax:
2
votes
1answer
309 views

How to align on same line 2 equations with MathJax

I would like to align the 2 below equations on the same line with MathJax : \begin{equation} H_{x}= \begin{pmatrix} 1 & 2 & 1 \\ 0 & 0 & 0\\ -1 & -2 & -1 \end{pmatrix}...
1
vote
0answers
428 views

Drawing an arc with pstricks and latex2html5 [closed]

I get an issue about drawing an arc with MathJax and latex2html5 (from http://latex2html5.com/). I would like to draw this schema with these 2 libraries above : Unfortunately, I can't get to ...