RH and LH Double-Quotes in MathJax

  • Context:
  • Thread starter Thread starter Ackbach
  • Start date Start date
  • Tags Tags
    Mathjax
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 4K views
Ackbach
Gold Member
MHB
Messages
4,148
Reaction score
94
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?
 
Physics news on Phys.org
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:
sbhatnagar said:
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.
 
Ackbach said:
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.
 
Sudharaka said:
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} \)
 
Concur with CB - I would add that the unicode method seems to be the only method that works.