Direct injection of LaTeXString type into a slide #27
stefanbringuier
started this conversation in
Ideas
Replies: 1 comment
-
For plotting, we had the idea to use Requires.jl to not force the user to install Plots as a dependency. We could try something similar for LaTeXStrings. But I personally don't have any experience yet with Requires.jl. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At the moment, if you want to inject mathematical expressions or equations into a
Slide
one could do the following:This works well, however, to me it would feel more natural to use LaTeXStrings.jl so one doesn't need to escape all
\
and$
symbols. Also seems more natural if one is creating notebooks making use ofLaTeXString
and/or Latexify and the plan is to use parts of the notebook for creating slides withPPTX.jl
. The question would be how to inject aLaTeXString
data type into aSlide
. Does it get rendered by adding dependencies toPPTX.jl
like (MathTexEngine.jl)[https://github.com/Kolaru/MathTeXEngine.jl) along with some plotting package and then just add asPicture
type ? This maybe heavy. If powerpoint supports MathML maybe one creates aPPTX.LaTeXEq
data type that gets properly handled uponpush!(slide,PPTX.LaTeXEq(L"\frac{1}{x}")
?Beta Was this translation helpful? Give feedback.
All reactions