Euro symbol in Jupyter Latex

1.3k views Asked by At

I am new to Jupyter, I am using it with Node Kernel. My problem is I can't get the "euro" symbol in LaTeX. When I type $ 123 \euro $ in a Markdown cell I get 123 \euro.

Do you observe the same behavior ? Any suggestion ?

Thanks in advance,

Nicola

3

There are 3 answers

0
Matt On

The LaTeX support in the live notebook is limited to what mathjax support. MathJax goal indicate:

high-quality display of mathematics notation in all browsers

And in practice, this mean trying to have a narrow scope which is way less than full latex. \euro is probably outside of their scope, so won't render in live notebook.

0
Nicola Mingotti On

Thanks to Matt comment i found a partial solution in this page.

You can define all currency symbols you want in Jupyter placing something linke this in a MarkDown cell:

$ \def\euro{\unicode{x20AC}} $
$ \def\yen{\unicode{x00A5}}  $
$ \def\pound{\unicode{x00A3}} $
$ \def\dollar{\unicode{x024}} $

With the above definitions you can now use \euro, \yen, \pound and \dollar. I defined dollar in this way for consistency only since it can be written as \$. I found the unicode for each symbol in Wikipedia.

1
DRFeinberg On

Copy and paste the symbol from somewhere else.