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

Add latexify.function/expression frontends #73

Merged
merged 20 commits into from
Nov 1, 2022
Merged

Conversation

odashi
Copy link
Collaborator

@odashi odashi commented Oct 31, 2022

Overview

  • Add latexify.function and latexify.expression frontend functions.
  • Add use_signature option to latexify.get_latex
  • Deprecate latexify.with_latex

Details

latexify.function is the same with the old latexify.with_latex, while latexify.expression generates LaTeX without the function's signature:

This behavior is controlled by the difference of the default value of the use_signature option in get_latex.

Also, function and expression would be more intuitive than the old name with_latex to express that the decorator generates a specific form.

References

Blocked by

@odashi odashi added the feature label Oct 31, 2022
@odashi odashi added this to the v0.2 milestone Oct 31, 2022
@odashi odashi requested a review from ShigekiKarita October 31, 2022 16:13
Copy link
Collaborator

@ShigekiKarita ShigekiKarita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@odashi odashi merged commit c6c291d into main Nov 1, 2022
@odashi odashi deleted the 54-without-fn-name branch November 1, 2022 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to get latex without getting function name
2 participants