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

Adding functionality to render Latex as SVG. #61

Closed
wants to merge 5 commits into from

Conversation

obousquet
Copy link

This introduces a Jsx component which renders a latex string as SVG.
This can be used for example in an expression presenter to display a goal in Latex, or in an HTML display.
See Demos/LeanExpr.lean for usage examples.

@Vtec234
Copy link
Collaborator

Vtec234 commented Oct 17, 2024

Thanks for this, and sorry to take so long to review it. I think that having LaTeX is important enough that it should be dealt with upstream. In leanprover/vscode-lean4#534 I introduced a Markdown component which can render math to the @leanprover/infoview package. If that gets merged, all user widgets will be able to make use of it. If not, we can reconsider something ProofWidgets4-specific.

@Vtec234 Vtec234 closed this Oct 17, 2024
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

Successfully merging this pull request may close these issues.

2 participants