Rubber-article:0.4.2 - LaTex-esque Article template

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:

Here is a minimal example of how you can use the template and how it would look like.

#import "@preview/rubber-article:0.4.2": *
#show: article
#maketitle(
  title: "The Title",
  authors: ("Alice", "Bob",),
  date: "19.06.2025",
)
= Intro

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.

5 Likes

I assumed that it’s the exact copy. Or otherwise it can be with a few config lines, that are shown in docs.

For an exact copy one would only need to set the following.

#set page(paper: "us-letter")
#show: article.with(margins: 1.75in)

What about the “header line”?

Since a template can override anything, it’s better to put your template overrides below.

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. :)

1 Like

Oh, okay then.

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.

1 Like

Thanks for that comment. I’ve just added it.

No, I mean in the README docs. Or maybe in the template.

Yes, it is on the todo list and will be added with the next update.

1 Like