phd-typst/main.typ

18 lines
517 B
Plaintext

#set heading(numbering: "1.1 ")
#set par(first-line-indent: 1em, justify: true)
#show link: underline
// Code formatting
#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),
)}
#include "foreword/main.typ"