korsbo / Latexify.jl

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

How can I get `L"(1,(2,3))"` from `latexify(:(1,(2,3)))`? #253

Open hyrodium opened 1 year ago

hyrodium commented 1 year ago

The current output of latexify(:(1,(2,3))) on Latexify v0.15.18 is:

julia> latexify(:(1,(2,3)))
L"$1, 2, 3$"

But I would like to have:

julia> latexify(:(1,(2,3)))
L"$(1, (2, 3))$"

Can we produce this output with some keyword arguments? I have looked for the documentation and tests, but I couldn't find them.