phd-typst/main.typ

18 lines
517 B
Plaintext
Raw Normal View History

2023-04-14 18:27:59 +02:00
#set heading(numbering: "1.1 ")
#set par(first-line-indent: 1em, justify: true)
#show link: underline
// Code formatting
2023-04-14 18:43:18 +02:00
#show raw.where(block: true): it => { set par(justify: false); grid(
columns: (100%, 100%),
column-gutter: -100%,
block(width: 100%, inset: 1em, for (i, line) in it.text.split("\n").enumerate() {
box(width: 0pt, align(right, str(i + 1) + h(2em)))
hide(line)
linebreak()
}),
block(radius: 1em, fill: luma(246), width: 100%, inset: 1em, it),
)}
2023-04-14 18:27:59 +02:00
#include "foreword/main.typ"