From f1881aa53a3033bc31a19d40f1d37fdd59a6463e Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Tue, 15 Aug 2023 21:11:15 -0400 Subject: [PATCH] index.typ: added --- index.typ | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 index.typ diff --git a/index.typ b/index.typ new file mode 100644 index 0000000..7aee72a --- /dev/null +++ b/index.typ @@ -0,0 +1,19 @@ +// templates for online lecture notes + +#import "main.typ": gen_preamble, doc_template, lref + +#let template( + title: none, + authors: none, + subtitle: [Index of resources], + body +) = { + doc_template({ + gen_preamble( + title: title, + authors: authors, + prefix: [_#{subtitle}_], + ) + body + }) +}