typst-templates icon indicating copy to clipboard operation
typst-templates copied to clipboard

Write appendix after `#show: appendix`

Open CarloLucibello opened this issue 7 months ago • 2 comments

Instead of passing the appendix to the main class function at the beginning of the document, it would be convenient to have something like

// main text

@show: appendix

= Some title for this appendix
 
= Another appendix

This feature is already implemented in many templates:

https://typst.app/universe/package/arkheion https://typst.app/universe/package/rubber-article https://github.com/maucejo/elsearticle

CarloLucibello avatar Jun 05 '25 08:06 CarloLucibello

Totally agreed. I was thinking about that too, but for different reasons. I’d like to break up the entire show-rule into several smaller show-rules.

Contributions are welcome. 😊

daskol avatar Jun 05 '25 08:06 daskol

Totally agreed.

Nice!

Contributions are welcome. 😊

sorry my typst skills are abysmal at the moment

CarloLucibello avatar Jun 05 '25 11:06 CarloLucibello