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

Math / LaTeX / MathJax / KaTeX #875

Open
axiomtutor opened this issue Nov 4, 2024 · 2 comments
Open

Math / LaTeX / MathJax / KaTeX #875

axiomtutor opened this issue Nov 4, 2024 · 2 comments

Comments

@axiomtutor
Copy link

axiomtutor commented Nov 4, 2024

I'm having trouble finding any documentation that explains if it's possible to put complex math expressions (like you can get from LaTeX or similar typesetting software) in a presentation. Am I just not finding the docs for this or is it not supported?

Also sorry if this shouldn't be categorized as an "issue" so much as a "feature request" or question -- but I couldn't see how to change its category.

@yoosofan
Copy link

yoosofan commented Nov 5, 2024

MathJax is a Javascript package for writing tex formula in web. MathML is a pure HTML approach but it needs a lot of HTML tag writing.

I created my slides by Bildumilo, which is an easy tool for creating simple yet powerful presentations using rst, impress.js and Graphviz based on Hovercraft.

@janishutz
Copy link
Contributor

janishutz commented Nov 11, 2024

@axiomtutor Sorry that you haven't heard back from us. I am not aware of any documentation that we have for using LaTeX with impress.js. So we cannot guarantee that it works. It will most probably be dependent on what library you are using. If you want to do a math-based presentation, LaTeX beamer is probably your best bet though, but if you want to use impress with any LaTeX based library, you certainly can try. What I would recommend is first running that library, then running impress().init(). If the library run async, I would recommend waiting for it to finish (most libraries will have a way to do that) and then initialising impress. That ensures that any tinkering it does with the DOM happens before impress does its thing. But it probably doesn't matter, as impress only really applies CSS anyway.

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

3 participants