Since I recently released an update and I haven’t posted about it here, I wanted to showcase a template that I have created.
It is a template mimicking the classic Latex articleclass, which is the default on Overleaf for example. It is more of a reinterpretation rather then an exact copy, since I have added some elements that haven’t been in the original (as far as I know), like the header line (using hydra) or the default A4 paper setting.
I have added a couple of features overtime, which intend to make the use of the template more convenient.
I designed this template as a familiar starting point for LaTeX users transitioning to Typst - especially students writing assignments, reports, or short papers who want a clean, classic look with modern conveniences.
Here are a couple that I would like to highlight:
shortcap(), which allows to have a long caption under a figure and a short caption in the outline
fig-outline() and tab-outline() which outlines the figures and tables
ctable() a function that uses pillar under the hood to simplify the creation of so-called three-line-tables
Your Feedback is welcome! Hope the template proves helpful to others - feel free to try it out and let me know what you think. If you run into any issues or have a feature requests let me know on Github.
The header-line is only a feature that I added, which is disabled by default. I mentioned it because I am not aware, that the article class has a setting to have a header-line, but fancyheader would be needed for that in LaTeX.
I know that the template could override anything. Since the paper format is not set by the template and as it seems to be the foundation upon everything else is build upon, it felt like it belongs at the very top of the document. :)
Still, those 2 lines are not present in the docs, and not everyone knows how to tweak this template to be the exact replica. Adding them would be nice, I think.
Another thing that came up somewhere, if you want to copy the latex style completely, you should decrease equation font weight to match latex’s default (400?). I don’t actually think it’s a good idea (Typst’s default looks good), but it would help with an exact style match.
Thanks, for bringing this up. I have unfortunately not seen it earlier, but I have created an issue and will fix this bug in the next release. If any other issues come up, or you want a feature implemented just raise an issue on GitHub (I will see it there much quicker).