diff --git a/algs.typ b/algs.typ new file mode 100644 index 0000000..194dc19 --- /dev/null +++ b/algs.typ @@ -0,0 +1,18 @@ +// templates for compsci notes + +#import "main.typ": gen_title, gen_authors, doc_template, mono_font +#import "compsci.typ": source_code + +#let template( + title: none, + authors: none, + body +) = { + doc_template({ + gen_title(title: title) + v(15pt, weak: true) + + gen_authors(authors: authors) + body + }) +}