You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the latest update of V0.12, the par syntax has changed and therefore CVPR template need an update as below.
// ... existing code ...
#let cvpr2022(
// ... existing parameters ...
) = {
// ... existing setup ...
set text(font: font-family, size: font-size.normal)
// Update paragraph settings to use new spacing syntax
set par(
justify: true,
first-line-indent: 0.166666in,
leading: 0.532em,
spacing: 0.54em // Changed from show par: set block(spacing: 0.54em)
)
show raw: set text(font: font-family-mono, size: font-size.normal)
// Remove old paragraph spacing rule since it's now handled in set par()
// show par: set block(spacing: 0.54em) // This line should be removed
// ... rest of the code ...
show quote.where(block: true): it => {
set block(spacing: 14pt)
set pad(left: 20pt, right: 20pt)
set par(
first-line-indent: 0em,
spacing: 9.8pt // Changed from show par: set block(spacing: 9.8pt)
)
it
}
// ... rest of the code ...
}
The text was updated successfully, but these errors were encountered:
Given the latest update of V0.12, the par syntax has changed and therefore CVPR template need an update as below.
The text was updated successfully, but these errors were encountered: