Skip to content

fix(typst): title block no longer takes the full width#14036

Merged
cscheid merged 6 commits intoquarto-dev:mainfrom
mcanouil:fix/issue14031
Feb 13, 2026
Merged

fix(typst): title block no longer takes the full width#14036
cscheid merged 6 commits intoquarto-dev:mainfrom
mcanouil:fix/issue14031

Conversation

@mcanouil
Copy link
Copy Markdown
Collaborator

@mcanouil mcanouil commented Feb 13, 2026

Adjust the Typst template to ensure that titles and subtitles are centre-aligned in the rendered PDF.
block is still needed inside place to ensure 100% width is used.

place was introduced as a replacement of block instead of combining the two in

Fixes #14031

No changelog entry as the issue was introduced in 1.9.

@mcanouil mcanouil self-assigned this Feb 13, 2026
@posit-snyk-bot
Copy link
Copy Markdown
Collaborator

posit-snyk-bot commented Feb 13, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@mcanouil mcanouil marked this pull request as ready for review February 13, 2026 11:33
@mcanouil mcanouil changed the title fix: Title misaligned in Typst output fix(typst): title block no longer takes the full width Feb 13, 2026
@mcanouil

This comment was marked as outdated.

@mcanouil mcanouil marked this pull request as draft February 13, 2026 12:32
@mcanouil mcanouil marked this pull request as ready for review February 13, 2026 13:56
@cscheid
Copy link
Copy Markdown
Member

cscheid commented Feb 13, 2026

(I'm just going to jump in and 👍 and merge this. Thank you!)

@cscheid cscheid merged commit 60dd710 into quarto-dev:main Feb 13, 2026
51 checks passed
@mcanouil mcanouil deleted the fix/issue14031 branch February 13, 2026 14:52
@gordonwoodhull
Copy link
Copy Markdown
Member

Filed upstream here:

They had the opposite problem:

  • Quarto had place() but lost block(width: 100%)
  • Pandoc had block(width: 100%) but lost place()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Title misaligned in Typst output

4 participants