Compare commits

..

3 Commits

Author SHA1 Message Date
c7e20cace7
main.typ: bullet point spacing 2023-05-20 10:11:34 -04:00
4584b67bed
algs.typ: added 2023-05-13 12:19:31 -04:00
d9fdde3a17
main.typ: modified link formatting 2023-05-13 12:18:51 -04:00
2 changed files with 21 additions and 2 deletions

18
algs.typ Normal file
View File

@ -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
})
}

View File

@ -55,6 +55,7 @@
body,
) = {
set text(size: normal-size, font: font, weight: "light")
show link: body => text(fill: rgb("#777777"), weight: "bold", body)
show math.equation: eq => text(font: math_font, eq)
show heading: set text(font: heading_font, weight: "black")
show raw.where(block: true): txt => pad(
@ -77,8 +78,8 @@
paper: paper-size,
)
set heading(numbering: "1.")
set list(indent: 24pt, body-indent: 5pt)
set enum(indent: 24pt, body-indent: 5pt)
set list(indent: 5pt, body-indent: 5pt)
set enum(indent: 5pt, body-indent: 5pt)
// Configure paragraph properties.
set par(justify: true)