korsbo / Latexify.jl

Convert julia objects to LaTeX equations, arrays or other environments.
MIT License
562 stars 59 forks source link

Unicode dot not retranscribed #282

Closed Doublonmousse closed 2 months ago

Doublonmousse commented 7 months ago

It is possible in julia to add a dot to variables doing \dot + <TAB> so that θ̇ and are valid variables.

But (probably because of unicode parsing), these dots are not parsed to a \dot command by Latexify.

Hence

(@latexify θ̇)

returns L"$θ̇$" and that renders weirdly

image

Same for other symbols :

(@latexify ẋ)

returns L"$\textnormal{\.{x}}$" and renders

image