org-reveal
org-reveal copied to clipboard
How to tell org-reveal to use latex package
Hi, I need to use a latex package. It works, when I export the org file as a latex. But how to tell org-reveal to use the package as well?
Cheers, Kai
I am afraid there is no way to include a latex package, as org-reveal is an HTML backend. What is necessary of a latex package for exporting reveal.js slides?
I am afraid there is no way to include a latex package, as org-reveal is an HTML backend. What is necessary of a latex package for exporting reveal.js slides?
For a talk, I need to use the quantum mechanics "braket" notation, which is accessible by \usepacke{braket}.
Sadly, this does not compile in org-reveal.
In a nutshell, only with latex packages, I can display all equation I need to.
@FryeKai you can use MathJax with Org-Reveal which apparently supports the braket
Commands.
@kir0ul Thanks for the advice. I suppose that this is a nice workaround. But I am really struggling to get MathJax running with org-reveal properly. I think it's load using REVEAL_MATHJAX_URL but no idea how to modify it.
Here is an example.
#+REVEAL_MATHJAX_URL: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
* Example Slide
$\braket{1 \over w}$