ϕ(\phi) and φ(\varphi) can not be distinguished in the terminal
SebastianRuffert opened this issue · 1 comments
SebastianRuffert commented
When using CSG constructors in the terminal, φ is used as a keyword specifying the polar angle. Since φ and ϕ look the same inside the terminal version of julia, a very confusing error is produced, when using ϕ as keyword.
julia> EllipticalSurface(ϕ=1)
ERROR: MethodError: no method matching EllipticalSurface(; ϕ=1)
Closest candidates are:
EllipticalSurface(; r, φ, origin, rotation) at ~/SolidStateDetectors.jl/src/ConstructiveSolidGeometry/SurfacePrimitives/EllipticalSurface.jl:43 got unsupported keyword argument "ϕ"
In the terminal this error would look the following
ERROR: MethodError: no method matching EllipticalSurface(; ϕ=1)
Closest candidates are:
EllipticalSurface(; r, ϕ, origin, rotation) at ~/SolidStateDetectors.jl/src/ConstructiveSolidGeometry/SurfacePrimitives/EllipticalSurface.jl:43 got unsupported keyword argument "ϕ"
fhagemann commented
Well, according to this file, varphi and phi should look as intended..
https://github.com/JuliaLang/julia/blob/master/stdlib/REPL/src/latex_symbols.jl