How did you learn CeTZ?

I’ve been using Typst for months now, and as a normal evolution for my use for my CS program, I needed to do visualizations, plots, etc…, which CeTZ seem very powerful at, and I want to hold that power!

However, unlike my experience with learning Typst, the reference wasn’t enough for me to know what I am doing. I tend to feel lost and unaware of the vast amount of options, and the relationship between them. I don’t have any prior experience with TikZ or Processing, so this might contribute to my difficulties.

What was your experience learning CeTZ, and what would you recommend to learn and master it? Have there been any sources beside the reference that helped you?

5 Likes

Hi @Hasan!

I can relate to your experience and want to share some insights from my own journey trying out CeTZ. :nerd_face:

For me, a very useful source of inspiration is Janosh Riebesell’s example gallery of scientific diagrams called “127 Scientific Diagrams”. In particular, I often search for diagrams that look interesting or conceptually similar to the ones I want to create and consult CeTZ’s API reference for implementation details or function usage when unfamiliar with them.

Moreover, I have found it helpful not to rely solely on CeTZ but to also use other packages that are more tailored to the types of visualizations I want to create. Besides popular choices like fletcher for diagrams and lilaq for plots, I can recommend cetz-plot, an “official” extension library of CeTZ that targets making plotting tasks easier.

2 Likes

Thank you for sharing!

For me, I haven’t heard of the 127 Scientific Diagrams before. It sound interesting and joyful to see and try to mimic them on my own. Maybe a good PR for GitHub - qjcg/awesome-typst: Awesome Typst Links

1 Like

Indeed. Although one was already made but closed… Add CeTZ gallery https://github.com/janosh/diagrams by janosh · Pull Request #225 · qjcg/awesome-typst · GitHub

1 Like