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
1answer
44 views

The font for constructible universe L

How do I type L, HOD and V as in the snippet below :
1
vote
0answers
44 views

How to prevent others from copying my mathJAX code in browsers? [closed]

In web browsers, people can right-click/hold on a math equation (s) and "view TEX commands". From there they can copy entire math code. This is very problematic if your website/blog is math ...
1
vote
0answers
31 views

Gentzen-style proof tree

I would like to produce the following proof tree. This is my current attempt: \def\ae\qquad\mathbf{\forall Elim} \def\ai\qquad\mathbf{\forall Intro} \def\be\qquad\mathbf{\leftrightarrow Elim} \def\bi\...
0
votes
1answer
81 views

Aligning linear system in optimization problem

There are a lot of similar problems I found on stackexchange, but none quite worked for my problem. Given an objective function and a set of (in-)equalities, I want to neatly align the variables in ...
1
vote
1answer
38 views

How to write proper mathematical sign with Mathjax [closed]

// I first put this question stackoverflow, but was suggested to place the question here as more appropriate I would like to write P[theta | X] in mathematical notation with MathJax. So I used below ...
1
vote
1answer
25 views

texh4t produces bad table of content when some math is used with mathjax mode

This is problem specific to tex4ht only. I noticed when I have some math in section names, sometimes the table of content is corrupted, even though the same math displayed OK in the body of the ...
2
votes
1answer
23 views

In Jupyter, creating label with tag does not work with aligned

In my Jupyter notebook I am left-aligning equations, and label them manually using \tag{}. I need to manually label them because in Jupyter, the equation numbering gets reset between cells. For the ...
3
votes
1answer
58 views

ConTeXt to HTML conversion for multiple math-heavy documents

My primary goal is to convert my extremely math-heavy writings in ConTeXt to HTML so that I can put them up on the internet. I followed this answer by @Marco, but all my mathematics comes up as plain ...
0
votes
0answers
14 views

Using Lyx to export documents in “MathJax” compatible way

It's more comfortable writing my questions in LyX then copying the text as MathJax code and post it in MathExchange. the problem is that every time I need to do this copy and paste I need to delete ...
0
votes
1answer
46 views

how can I import package for multiline equation in codemirror

I am using codemirror render-math(https://github.com/cben/CodeMirror-MathJax). My code: \documentclass{???????} %% please complete \usepackage{???????} %% please complete and add all packages ...
0
votes
0answers
51 views

Labeling rows/columns of a matrix in MathJax

Note: This is effectively a cross post of this post from Mathematics Meta SE. There are many posts on LaTeX SE about how to add labels to rows/columns of a matrix, e.g. Label rows of a matrix by ...
3
votes
1answer
57 views

tex4ht removes space causing mathjax to fail

This is tex4ht specific issue only. This MWE \documentclass[11pt]{article} \usepackage{amsmath} \begin{document} $ 2\ x\ {\arcsin x} $ \end{document} is valid latex. It compiles using lualatex to ...
1
vote
1answer
51 views

Is this CAS generated Latex invalid? tex4ht with mathjax problem

The following is Latex generated by CAS called Fricas. It compiles OK in lualatex (but get a warning about it using \over) but the end result looks correct. But when I try to compile the same latex ...
0
votes
0answers
35 views

Graphics with fixed size boxes around formulas in HTML slides

I'm writing reveal.js slides using pandoc, and I need to include some simple graphics involving formulas within boxes of fixed size. Something like this, or just slightly more involved: \begin{split} ...
2
votes
2answers
104 views

parallel arrows in MathJax

How do I type 2 parallel arrows in MathJax ? And even in LaTeX ? Without an enviroment. From object $A$ to an obeject $B$.
0
votes
2answers
162 views

Line breaks in really long sqrt expresssion

I am asking a question that has appeared many times on TeX StackExchange but none of the answers seem to work for my use case. I am trying to introduce line breaks, programmatically, into really ...
2
votes
0answers
152 views

Color boxes with tcolorbox in Jupyter notebook [closed]

I can't understand how to get a formula, inside a box with a background color, into a notebook. I try it as follows and it doesn't work properly. What is my mistake?. Best regards \usepackage{...
5
votes
0answers
183 views

Teaching with LaTeX during a Pandemic: corrections on a file pdf [closed]

I should correct my students' handwritten exercises that them send me with a .pdf file for distance learning due to the closure of schools in Italy and I don't know for how much longer. I'm using or ...
1
vote
0answers
48 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
321 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
105 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
177 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
101 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
128 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
41 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
480 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
84 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
37 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
94 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
58 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
95 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
164 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
47 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
104 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
52 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
219 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
64 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
71 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
65 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
125 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
83 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
175 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
113 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
232 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
288 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
143 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
85 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
677 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
155 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
189 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?