JunoLab / Juno.jl

MIT License
144 stars 23 forks source link

Phi (possibly also other greek letters) behaving different in comments and code #631

Closed MarcusBecker-GitHub closed 3 years ago

MarcusBecker-GitHub commented 3 years ago

image

In my Juno, \phi in code returns what in LaTeX would be \varphi and vice versa. In the comments however, \phi and \varphi return the expected symbol. The screenshot shows only the use of \phi (Juno 0.12.6, Julia 1.5.3, UTF-8)

pfitzseb commented 3 years ago

That's a font issue -- the italics variant switches phi and varphi. I'd recommend using JuliaMono (or any other consistent font): image