Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [typst]

Typst is a markup language for typesetting documents. Typst takes text files with markup in them and outputs PDFs. Typst is a great fit for any documents containing mathematical notation. Finally, due to its strong styling and automation features, it is an excellent choice for any set of documents that share a common style, such as a book series.

typst
0 votes
2 answers
16 views

Place box at the top of the page

I am new to typst and want to style a report using typst. The report should have a blue header with a logo in the right hand corner. So far I have the following, which creates a box in the header, but ...
David's user avatar
  • 9,856
1 vote
1 answer
82 views

How to create a table that spans multiple pages with Quarto and Typst

I am using Quarto, Typst, and R. I'm creating a table with gt. Currently if I create a table that is too long then it gets clipped (see below image) This is what my R code block looks like. As ...
Matthew Tansley's user avatar
0 votes
1 answer
39 views

Embedding a json image into a typst document

I have an image in JSON format that I would like to directly include in a document written with Typst. Is it possible to do something like below? #let myimage = " \"image\": { \&...
eusebe's user avatar
  • 380
0 votes
1 answer
54 views

Typst Report-Style Enumeration

I would like to modify Typst's #enum function to number every paragraph within my document following a technical report style. For example + Paragraph 1 + SubParagraph 1 + Sub-SubParagraph 1 + ...
user20383837's user avatar
1 vote
0 answers
43 views

How to divide one page into two columns in quarto rendering to typst

As the title says, I am trying to divide one page into two columns of a quarto document that is being rendered to pdf using typst. I have tried these two options Option 1: pandoc columns :::: {....
marcbosch's user avatar
1 vote
1 answer
133 views

Using LaTeX packages in Quarto YAML for Typst output-formats

I want to use LaTeX packages in the Quarto YAML header for Typst output formats. A sketch of my YAML header is below. It seems that it doesn't work for \usepackage[none]{hyphenat}. The output shows ...
MYaseen208's user avatar
  • 23.6k
0 votes
1 answer
127 views

Numbering heading using #show - Typst

When I started using the show method in Typst, I lost the heading numbering. How can i get it back? #show heading: it => [ #block(fill:white, outset: 5pt, radius: 20%, underline(stroke: ...
Flo.dev's user avatar
0 votes
1 answer
71 views

Add spacing around figure in typst

I'm using typst 0.11.1. How do you add spacing between figures, and the subsequent text? If captions become very long, it can be hard to see where it ends, and the surrounding text begins. Example: #...
AsgerHB's user avatar
  • 303
0 votes
1 answer
51 views

How to prevent squares from going back in line in Typst

I want to make a progress bar for my resume, to show how competent I am in a skill, similar to how stars are displayed when grading a movie on a website. Ideally, I would also like them to be aligned ...
Grui's user avatar
  • 3
0 votes
2 answers
52 views

How to create a container bigger than the content in CeTZ?

I want to create for example a rectangle/triangle/circle/ellipse that is as big as it's contents, in cetz, how can I do that? #import "@preview/cetz:0.2.2" #import cetz.draw: * #import cetz....
Rainb's user avatar
  • 2,303
0 votes
1 answer
71 views

Set font in equation for a single equation in typst

I know you can use #show math.equation: set text(font: "Fira Math") to affect all equations, but I just want to affect a single equation, can I change the font without using show? For ...
Rainb's user avatar
  • 2,303
1 vote
0 answers
101 views

typst how to set line thickness in CeTZ `plot`?

I am trying to set the line thickness of a plot using cetz. #set page(height: auto) #import "@preview/cetz:0.2.2" #set align(center) #cetz.canvas({ import cetz.plot plot.plot( size:...
Makogan's user avatar
  • 9,190
0 votes
1 answer
341 views

Typst: Cannot reference heading/equations/figure/whatever without numbering

How to use reference without numberings. I really do not want to set the numbering, since it is very customized or I just do not want to use numbers! This should still be possible. = Header <my-...
Rainb's user avatar
  • 2,303
0 votes
1 answer
155 views

How to convert only the first letter as uppercase?

So, I want to convert only the first letter using REGEX and then bypassing function to uppercase it. However Typst return "expected string or content found dictionary" This is the source: #...
Programmer Dancuk's user avatar
0 votes
1 answer
146 views

How to make a caption and set numbering style for a code block

The following is my demo document. #set heading(numbering: "A.") #show raw.where(lang:"python"): it=>{ par(justify:false,block(fill:rgb("#f0fef0"),inset:1.5em,width:...
Jilong Yin's user avatar

15 30 50 per page
1
2 3 4 5