Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: phi and varphi are not properly render in code / markdown #2755

Open
jankoslavic opened this issue Aug 14, 2017 · 2 comments
Open

BUG: phi and varphi are not properly render in code / markdown #2755

jankoslavic opened this issue Aug 14, 2017 · 2 comments

Comments

@jankoslavic
Copy link

jankoslavic commented Aug 14, 2017

I very much like the Jupyter Notebook. I found some strange behavior with varphi and phi in the cell..

To replicate the bug:

  1. define a code cell and write \phi[press tab]. what will show up is actually \varphi
  2. define a code cell and write \varphi[press tab]. what will show up is actually \phi
  3. define a code cell and write \varphi[press tab] what will show up is actually \phi, but if you convert the cell to markdown it will show up as \varphi!

EDIT: I am using Chrome v60

@lucainnocenti
Copy link

lucainnocenti commented Aug 14, 2017

I can't reproduce the problem, but I also see incorrect behaviour on Chrome
For reference, here are \phi and \varphi as rendered by latex:
screenshot 2017-08-14 13 12 32

With Chrome on Mac Os both are rendered as \phi, though in a sligthly different way:

screenshot 2017-08-14 12 57 48
With Firefox on Mac Os I instead see the correct behaviour (the same given by latex, as shown for example here):
screenshot 2017-08-14 13 02 13
With Safari on Mac Os \phi and \varphi are also rendered correctly:
screenshot 2017-08-14 13 10 41

@zhaiyusci
Copy link

zhaiyusci commented Nov 16, 2022

I can reproduce this issue with Firefox 106 on Windows. I find this is (partly) because a wrong monospace font is used.

In my case, this is because the default monospace font is Consolas, and for some reason the designer of Consolas decided to use varphi as phi and vice versa.

See discussion here JuliaLang/julia#8429

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants