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

sample.typ — first linesTypst
#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

Size
6.3 KB (6,475 bytes)
MIME type
text/x-typst
SHA-256
571b9dc32cb59654a1e8a093fec47e5fa1bc2814a30aeb199a8528036d226703
MD5
ea4baed7437d99bb7d5ec8a899a7dcaa

Download from the command line

curl -L -o sample.typ https://files.samplefiles.com/document/typ/sample.typ

Or check the download in your browser with the checksum calculator.