- https://typst.app/universe/package/hydra,
- https://typst.app/universe/package/chic-hdr
- https://typst.app/universe/package/wonderous-book
However I believe this functionality should be available in the typst core.
- https://typst.app/universe/package/hydra,
- https://typst.app/universe/package/chic-hdr
- https://typst.app/universe/package/wonderous-book
However I believe this functionality should be available in the typst core.
The difference between LaTeX and Typst is that LaTeX wants you to define a template with the "documentclass", if you want the same experience in Typst you want to setup typst with a template, there the headings will be defined for you already.
>However I believe this functionality should be available in the typst core.
You can trivially define headings in typst without using packages.
No true scotsman and all that, but I suspect few documents in the wild are bare Latex.
\documentclass[twoside]{article}
\pagestyle{headings}
in LaTeX. And this also does the right thing on special pages like table of content, appendix, bibliography etc.
Implementing all that in Typst is quite a hassle.
The `article` document class is actually some `article.cls` file that resides somewhere in your TeX install root, is loaded, and implements macros such as `/title`, `/section`, `subsection`, and so on. All LaTeX eventually expands into a pile of TeX macros that are evaluated.
All this is to say... LaTeX comes with the templates, you've been using one all this while.