Why do float figures overlap with two columns?

Hi,

I am new to Typst and I am not sure to understand why, with the following code, the two figures overlap. I would like that Figure 2 goes on the next page.

#set page(columns: 2)

#figure(
  lorem(250),
  caption: [FOO],
  placement: auto,
)

#figure(
  lorem(500),
  caption: [FOO],
  placement: auto,
  scope: "parent",
)

Hi. Yeah… Even though there is no text to appropriately place the figures, it is still probably a bug that figures overlap. The second one I think should go on the second page. Changing the content doesn’t change things:

#set page(columns: 2)

#figure(
  rect(width: 100%, height: 19.55cm),
  caption: [FOO (column)],
  placement: top,
)

#figure(
  rect(width: 100%, height: 18cm),
  caption: [FOO (parent)],
  placement: auto,
  scope: "parent",
)

Should I open a new issue in the GitHub repo?

Sure, better safe than sorry.

Overlapping float figures with multi-columns pages · Issue #6948 · typst/typst · GitHub.

1 Like