MathJaxRH and LH Double-Quotes in MathJax

Ackbach

Indicium Physicus
Staff member
Anyone know how to do handed double-quotes in Mathjax? I know how to do it in normal $\LaTeX$, but the code

Code:
$$\frac{d}{dx}\,f(x)\;\text{is one notation''}$$
yields

$$\frac{d}{dx}\,f(x)\;\text{is one notation''}$$

So that doesn't quite work like it normally does in $\LaTeX$. The alternative

Code:
$$\frac{d}{dx}\,f(x)\;\text{"is one notation"}$$
yields

$$\frac{d}{dx}\,f(x)\;\text{"is one notation"}$$

So that doesn't work, either. How to do this?

sbhatnagar

Active member
You can use \unicode command to produce the proper character.

Code:
\unicode{x201C}\text{Hello Ackbach!''}
will give

$\unicode{x201C}\text{Hello Ackbach!''}$

Last edited:

Ackbach

Indicium Physicus
Staff member
You can use \unicode command to produce the proper character.

Code:
\unicode{x201C}\text{Hello Ackbach!''}
will give

$\unicode{x201C}\text{Hello Ackbach!''}$
Wow, that is a hack. But it works! Thanks much.

Sudharaka

Well-known member
MHB Math Helper
Anyone know how to do handed double-quotes in Mathjax? I know how to do it in normal $\LaTeX$, but the code

Code:
$$\frac{d}{dx}\,f(x)\;\text{is one notation''}$$
yields

$$\frac{d}{dx}\,f(x)\;\text{is one notation''}$$

So that doesn't quite work like it normally does in $\LaTeX$. The alternative

Code:
$$\frac{d}{dx}\,f(x)\;\text{"is one notation"}$$
yields

$$\frac{d}{dx}\,f(x)\;\text{"is one notation"}$$

So that doesn't work, either. How to do this?
Hi Ackbach,

I asked this question from the MathJax community and here is the reply.

Kind Regards,
Sudharaka.

CaptainBlack

Well-known member
Hi Ackbach,

I asked this question from the MathJax community and here is the reply.

Kind Regards,
Sudharaka.
Their unicode method does work:

\unicode{x201C} \text{ some text }\unicode{x201D}

$$\unicode{x201C} \text{ some text }\unicode{x201D}$$

Ackbach

Indicium Physicus
Staff member
Concur with CB - I would add that the unicode method seems to be the only method that works.