Single question and answer template I made for my channel

Hi everyone!

This isn’t anything particularly serious, but it’s something I’ve been developing over time after getting introduced to Typst and learning how to make custom packages and templates, and I thought it might be fun to share it with the community!

I’ve been using a custom local package to extract different sprites from PSD files and place them in my documents as small, cute characters next to the generated PNGs (sometimes with a little extra dialogue as well). Here are a few examples I made! The first one is a simple high-school mathematics question I made for my cousins, while the rest were made specifically for my channel, where I’ve been collecting and writing about interesting questions I’ve come across.

Changin how things look is as easy as change a couple variables:

#let main-c = characters.kasukabe.color.lighten(90%).saturate(30%)
#let char = ("kasukabe", kasukabe-ex.upset)
#let message = []

...

#show : body => conf("some title", body, proof: [
// proof comes here...
])
//=====================================

Some question written here. Everything else is placed and handled automatically.
#hint-box(persian: false)[
  Considering this statement might make your life a little easier!
]

I also made an English version of the template, although I ended up rarely using it and mostly continued writing these in Persian.

I’m not sure whether this is something I could realistically share as a package or template, though. Aside from the fairly large sprite files, the characters I’m using aren’t my own and I don’t have permission to redistribute them, so I assume I’d need to replace them with properly licensed assets before sharing anything publicly.

I’d love to hear your thoughts! Is there anything you think I could improve? And would it be worth continuing the English version and sharing it somewhere else as well?

1 Like