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

Custom multiplication behavior (option to use \cdot everywhere) #156

Closed
ZibingZhang opened this issue Dec 8, 2022 · 1 comment
Closed
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@ZibingZhang
Copy link
Contributor

Description

The current behavior of multiplication is as follows

>>> def f(x):
    return 3 * 5 * x
>>> latexify.get_latex(f)
f(x) = 3 5 x

I personally like having \cdot, and there are other options for multiplication as well: \times, *, etc.

I think we should support specifying the multiplication operator due to the number of options.

Ideas of the solution

Add it as a config option.

@odashi odashi added the duplicate This issue or pull request already exists label Dec 9, 2022
@odashi
Copy link
Collaborator

odashi commented Dec 9, 2022

#89 was accidentally closed, but this issue should be a part of it.

@odashi odashi closed this as completed Dec 9, 2022
@odashi odashi removed the feature label Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants