July 18, 2026

Introduction into typst typeseetting

 The amount of tutorials for typst is very low, because the software is new and works different from LaTeX. The following tutorial should explain the basics.

At first, a new file is created in the working directory which gets compiled into a pdf document with: "typst compile main.typ". The software itself is available as a binary file for all operating systems and needs around 60 MB on the SSD storage.

----------------
mainsimple.typ
----------------
#align(center)[
  #text(24pt, weight:"bold", "title of paper")
  
  #text(16pt, "Manuel Rodriguez\n 1 July 2026")
]

= 1 Introduction

#lorem(100)

= 2 Literature

- #lorem(10)
- #lorem(10)



If the typst user is reducing its demands to a minimum, the academic paper is ready for submission. Most authors have a need for more advanced layout so the file can be modified a bit.

----------------
maincomplex.typ
----------------
#set par(
  justify: true,
  spacing: 0.65em,
  first-line-indent: 2em,
)
#set text(
  font: "Liberation Sans",
  size: 9pt,
  lang: "en",
)

#align(center)[
  #text(24pt, weight:"bold", "title of paper")
  
  #text(16pt, "Manuel Rodriguez\n 1 July 2026")
]

#outline()

= 1 Introduction

#lorem(100)

#lorem(100)

= 2 Topic

== 2.1 Subtopic

#table(
  columns: 2,
  table.header[date][event],
  [May 2, 2026], [hello],
  [Jun 3, 2026], [world],
)

== 2.2 Subtopic

#figure(
  image("drawing2.jpg", width: 4cm),
  caption: [Drawing with pencil],
)

= 3 Literature

- #lorem(10)
- #lorem(10)




No comments:

Post a Comment