First of all, a big thank you to the Typst devs for enabling line numbering of paragraphs.
While playing around with it, I noticed that the line numbering seemed to refer to the page and not to the paragraphs. Let me explain with an example. If you use the following code:
#set page(columns: 2)
#set par.line(numbering: "1")
= Introduction
#lorem(500)
Line numbering works as expected.
But with the following code:
#set par.line(numbering: "1")
#let body = [
= Introduction
#lorem(500)
]
#show: columns(2, body)
The line numbering is only active for the first column of the page.
Is this a bug or the intended behavior?
This somewhat prevents the use of single columns (e.g. for title and abstract) and double columns (the body) on the same page, because #set page() implies a page break, which is perfectly understandable.
Do you have any advice on how to combine single and double columns on the same page with line numbering?
I am sure it is possible, given the Youtube video posted by @reknih to announce Typst v0.12 ![]()
