Relative Content

Tag Archive for typst

How to work with content from #context as code in Typst?

Sometimes I would like to store the number returned by #context-sensitive functions (such as counters) as variables to modify further. However, #context returns content, so the following comparison (with an integer) does not work:

find the column number in typst

I’d like to get the column number of a heading in typst. I have a two column layout and want to shift headings toward the outside of the page.

find the column number in typst

I’d like to get the column number of a heading in typst. I have a two column layout and want to shift headings toward the outside of the page.

find the column number in typst

I’d like to get the column number of a heading in typst. I have a two column layout and want to shift headings toward the outside of the page.

find the column number in typst

I’d like to get the column number of a heading in typst. I have a two column layout and want to shift headings toward the outside of the page.

find the column number in typst

I’d like to get the column number of a heading in typst. I have a two column layout and want to shift headings toward the outside of the page.

find the column number in typst

I’d like to get the column number of a heading in typst. I have a two column layout and want to shift headings toward the outside of the page.