Document · 1 file
Sample Typst File
Typst is a modern markup-based typesetting system designed as a faster, friendlier LaTeX alternative.
Typst · 6.3 KB
Typst document
Source for Typst, the modern LaTeX alternative, with headings, lists, a table and code.
CC0 · free for any use · Verified by an independent tool · Report a problem
#let horizontalrule = line(start: (25%,0%), end: (75%,0%))
#show terms: it => {
it.children
.map(child => [
#strong[#child.term]
#block(inset: (left: 1.5em, top: -0.4em))[#child.description]
])
.join()
}
#set table(
inset: 6pt,
stroke: none
)
#show figure.where(
kind: table
): set figure.caption(position: top)
#show figure.where(
kind: image
): set figure.caption(position: bottom)
#let content-to-string(content) = {File details
Download from the command line
curl -L -o sample.typ https://files.samplefiles.com/document/typ/sample.typwget https://files.samplefiles.com/document/typ/sample.typhttps://files.samplefiles.com/document/typ/sample.typprintf '%s %s\n' 571b9dc32cb59654a1e8a093fec47e5fa1bc2814a30aeb199a8528036d226703 sample.typ | shasum -a 256 -cOr check the download in your browser with the checksum calculator.