Typst Examples Book

This book provides an extended tutorial and lots of Typst snippets that can help you to write better Typst code.

This is an unofficial book. Some snippets & suggestions here may be outdated or useless (please let me know if you find some).

However, all of them should compile on last version of Typst1.

CAUTION: the book is (probably forever) a WIP, so don't rely on it.

If you like it, consider giving a star on GitHub!

This will help me to stay motivated and continue working on this book.

The book consists of several chapters, each with its own goal:

  1. Typst Basics
  2. Typst Snippets
  3. Typst Packages
  4. Typstonomicon

Contributions

Any contributions are very welcome! If you have a good code snippet that you want to share, feel free to submit an issue with snippet or make a PR in the repository.

I will especially appreciate submissions of active community members and compiler contributors!

However, I will also really appreciate feedback from beginners to make the book as comprehensible as possible!

Acknowledgements

Thanks to everyone in the community who published their code snippets!

If someone doesn't like their code and/or name being published, please contact me.

1

When a new version launches, it may take some time to update the book, feel free to tag me to speed up the process.