|
|
|
|
|
by amai
699 days ago
|
|
But the feature I'm talking about comes out of the box. One just writes \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.