-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
\text choice in recipes #317
Comments
I'm not sure I understand the problem, could you write an mwe? |
using Symbolics, Latexify
@variables myvariable
latexify(myvariable) produces |
Something like
would do it if julia> set_default(; variable_style="text")
julia> @variables x y
julia> latexify(x+y)
L"\begin{equation}
\mathrm{x + y}
\end{equation}
" , it arises from the fact that |
Thanks, that's all I needed to see. I was able to figure out how to add it directly JuliaSymbolics/Symbolics.jl#1305 |
I'm cleaning up the Symbolics latexify output:
You can see that the compound equations don't look quite right. I am fixing the
+
stuff manually, but I don't know how to make the symbol names use \text{capacitor.v} instead of just being directly written out. Also an option for \textrm would be nice.The text was updated successfully, but these errors were encountered: