Not bad at all :)
Thanks
Henri
Le 28/09/2016 à 13:20, Simon Danisch a écrit :
The best adhoc solution I could find looks like this:
1̲2̲ ̲/̲ ̲2̲0̲
200
So not impossible... I'll see how we can integrate this
Am Mittwoch, 28. September 2016 12:05:36 UTC+2 schrieb Simon Danisch:
Good news everyone!
I've written a small library that offers various transformations
of text to special Unicode characters.
The most prominent one is the latex-string to latex-unicode:
"\\itA \\in \\bbR^{nxn}, \\bfv \\in \\bbR^n, \\lambda_i \\in
\\bbR: \\itA\\bfv = \\lambda_i\\bfv"
==> "𝐴 ∈ ℝⁿˣⁿ, 𝐯 ∈ ℝⁿ, λᵢ ∈ ℝ: 𝐴𝐯 = λᵢ𝐯"
It doesn't support the whole range of latex, but I hope it will be
enough for simple formulas.
I will obviously use this library for latex label support in
GLVisualize <https://github.com/JuliaGL/GLVisualize.jl>, but I
hope that this library can also be usable in other contexts! (REPL
latex renderer?)
Enjoy with a simple *Pkg.add("UnicodeFun") *(since its freshly
registered, a Pkg.update() might be needed)
Please feel free to report latex strings that are not working, or
help adding new transformations! :)
Best,
Simon