Welcome to our community

Be a part of something great, join today!

MathJax RH and LH Double-Quotes in MathJax

  • Thread starter
  • Admin
  • #1

Ackbach

Indicium Physicus
Staff member
Jan 26, 2012
4,192
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
Jan 27, 2012
95
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:
  • Thread starter
  • Admin
  • #3

Ackbach

Indicium Physicus
Staff member
Jan 26, 2012
4,192
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
Feb 5, 2012
1,621
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
Jan 26, 2012
890
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} \)
 
  • Thread starter
  • Admin
  • #6

Ackbach

Indicium Physicus
Staff member
Jan 26, 2012
4,192
Concur with CB - I would add that the unicode method seems to be the only method that works.