# Emit LaTeX document from Julia

**URL:** <https://discourse.julialang.org/t/emit-latex-document-from-julia/136273>\
**Category:** General Usage\
**Tags:** question, latex\
**Created:** [March 19, 2026, 10:11am UTC](https://discourse.julialang.org/t/emit-latex-document-from-julia/136273 "2026-03-19T10:11:12Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![technocrat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/technocrat/32/220947_2.png) [@technocrat](https://discourse.julialang.org/u/technocrat)\
**Post date:** [March 19, 2026, 5:38pm UTC](https://discourse.julialang.org/t/emit-latex-document-from-julia/136273/11 "2026-03-19T17:38:34Z")

</div>

If you are not too deeply wed to LaTeX, you should consider [the Typst app](https://typst.app/) and the related [Typstry.jl package.](https://discourse.julialang.org/t/typstry-jl-the-julia-to-typst-interface/114381). I recently did a 200-page book heavy in figures and found it worked well. The markup is Commonmark-like.

```julia-auto
= Chapter or section
== second level header
#note(side: "inner")[margin note.]
#wideblock(side: "inner", figure(image("figures/fig35.svg", width:120%), caption: [Plot with Optional Elements]))
The colors are set using a combination of techniques called a ternary operator and a comprehension. The way to read this line:#index[ternary operators]

```

---

_[View the full topic](https://discourse.julialang.org/t/emit-latex-document-from-julia/136273)._
