# Setting up numbering and heading formats in Pandoc and Typst

**URL:** <https://forum.literatureandlatte.com/t/setting-up-numbering-and-heading-formats-in-pandoc-and-typst/147315>\
**Category:** Markdown & LaTeX\
**Created:** [May 8, 2025, 3:43pm UTC](https://forum.literatureandlatte.com/t/setting-up-numbering-and-heading-formats-in-pandoc-and-typst/147315 "2025-05-08T15:43:28Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![nontroppo](https://forum.literatureandlatte.com/user_avatar/forum.literatureandlatte.com/nontroppo/32/15746_2.png) [@nontroppo](https://forum.literatureandlatte.com/u/nontroppo)\
**Post date:** [May 8, 2025, 7:44pm UTC](https://forum.literatureandlatte.com/t/setting-up-numbering-and-heading-formats-in-pandoc-and-typst/147315/12 "2025-05-08T19:44:02Z")

</div>

Typst + Scrivener is described here:

> [@TYPST: A new markup + page layout engine to take on LaTeX](https://forum.literatureandlatte.com/t/typst-a-new-markup-page-layout-engine-to-take-on-latex/134674):
>
> There is a beautiful new markup + PDF output engine available called Typst. It has similar syntax to markdown, yet is actually a LaTex replacement. Look through this tutorial: To see how layout like this becomes a nice PDF: Typst is so much more elegant than LaTeX, yet as it can embed programming functions directly can be extended in many ways. There are of course still outstanding weaknesses compared to LaTeX (given decades of packages and development);…

I made a sample workflow that generates Typst directly (no Pandoc/MMD intermediate) or via Pandoc. I personally prefer to use Pandoc to generate Typst output (perhaps unsurprising 🫠). You can customise the Typst templates that Pandoc uses, with Typst code being much more intelligible than TeX. There is also a free online editor so you can play with styling visually, really cool! Typst is still relatively new so new versions can bring some breaking changes, something to be aware of…

---

_[View the full topic](https://forum.literatureandlatte.com/t/setting-up-numbering-and-heading-formats-in-pandoc-and-typst/147315)._
