Use LaTeX package in Pluto

Is it possible to use a latex package in Pluto?

I want check one last time whether there is a way to use LaTeX packages in Pluto. If not, it seems like this could be a useful feature.

I wouldn’t have thought so. @fonsp would be the person to talk to.

We use MathJax 3, you can use some packages with \require: Custom latex preamble · Issue #101 · fonsp/Pluto.jl · GitHub


Thanks for your reply. Unfortunately, it did not work for the package forest. R markdown notebooks appear to support importing LaTeX packages. I would love to have that capability in Pluto.

The analogous Julia package to RMarkdown is Weave: Weave · Julia Packages

Personally, outside of mathmode, I don’t see much of a benefit of most other latex packages, because in general, analogues written natively for HTML/CSS/Javascript (or the web platform) have a of advantages:

  • interactivity
  • accessibility
  • internationalization

Thanks for the idea. I didn’t even think of looking at a Javascript packages for making tree diagrams.

Similar question: Is there a recommended way for using a Javascript package? For example, how would I use Treant.js - javascript library for drawing tree diagrams with Pluto?

I guess its something like this:

<script src=""></script>


Thank you @sashmit for the great suggestion! Take look at the JavaScript sample notebook inside Pluto!

1 Like