daskol / typst-templates

A list of paper templates in the area of machine learning.
MIT License
101 stars 4 forks source link

Inserting a Teaser Figure Above the Abstract in the CVPR Template #24

Open NTUYi opened 5 days ago

NTUYi commented 5 days ago

With the latest Typst v0.12 update, it should now be possible and straightforward to insert a teaser figure above the abstract for the CVPR template, as this version supports multi-column floating figures. Thank you for your assistance.

NTUYi commented 5 days ago

I did a quick fix by inserting the figure directly below the Paper ID

// 2. Authors and affilations.
  block(width: 100%, spacing: 0pt, {
    set align(center + top)
    set text(size: font-size.large)
    if accepted != none and not accepted{
      [Anonymous CVPR submission\ ]
      [\ ]
      [Paper ID #id]
  [#figure(
    image("figures/Teaser.svg",width: 100%), caption: " Caption"
  ) <fig:teaser>]

This is actually possible even without the update.