Compare commits
No commits in common. "c7e20cace71521bc0fd148c770d827fd2b86cfaf" and "7e6f1275bc1c076443875029f9051e4164defea1" have entirely different histories.
c7e20cace7
...
7e6f1275bc
18
algs.typ
18
algs.typ
@ -1,18 +0,0 @@
|
|||||||
// 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
|
|
||||||
})
|
|
||||||
}
|
|
5
main.typ
5
main.typ
@ -55,7 +55,6 @@
|
|||||||
body,
|
body,
|
||||||
) = {
|
) = {
|
||||||
set text(size: normal-size, font: font, weight: "light")
|
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 math.equation: eq => text(font: math_font, eq)
|
||||||
show heading: set text(font: heading_font, weight: "black")
|
show heading: set text(font: heading_font, weight: "black")
|
||||||
show raw.where(block: true): txt => pad(
|
show raw.where(block: true): txt => pad(
|
||||||
@ -78,8 +77,8 @@
|
|||||||
paper: paper-size,
|
paper: paper-size,
|
||||||
)
|
)
|
||||||
set heading(numbering: "1.")
|
set heading(numbering: "1.")
|
||||||
set list(indent: 5pt, body-indent: 5pt)
|
set list(indent: 24pt, body-indent: 5pt)
|
||||||
set enum(indent: 5pt, body-indent: 5pt)
|
set enum(indent: 24pt, body-indent: 5pt)
|
||||||
|
|
||||||
// Configure paragraph properties.
|
// Configure paragraph properties.
|
||||||
set par(justify: true)
|
set par(justify: true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user