Skip to content
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

Don't print a * b in latex, print a b #293

Closed
shashi opened this issue May 14, 2021 · 3 comments
Closed

Don't print a * b in latex, print a b #293

shashi opened this issue May 14, 2021 · 3 comments

Comments

@shashi
Copy link
Member

shashi commented May 14, 2021

cc @alanedelman

@ChrisRackauckas
Copy link
Member

@korsbo has a switch in Latexify for \cdot and all of that IIRC

@korsbo
Copy link

korsbo commented Jun 14, 2021

latexify(ex; cdot=false) might do what you want. Is that not already set as a default in https://github.com/JuliaSymbolics/Symbolics.jl/blob/0eddc02c4d9d78a795e5626bd68d5c65add87e0e/src/latexify_recipes.jl#L25 or are you trying to latexify something else?

@karlwessel
Copy link
Contributor

This seems to be fixed.
SymbolicUtils does not support Latexify. And Symbolics correctly latexifies it to xy:

julia> using Symbolics
julia> @variables x y
2-element Vector{Num}:
 x
 y
julia> using Latexify

julia> latexify(x*y)
L"\begin{equation}
x y
\end{equation}
"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants