-
DescriptionHi, Experimenting with branding (_brand.yml) I found that processing through typst places the large logo in the top-left of the first page, while title, author and date are centered. This looks horrible. There is no way that I can find to instruct quarto/typst to place the logo in the top-center of the page. https://quarto.org/docs/authoring/brand.html#logo mentions Is it all possible to change the placement of logo's? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? The goal is to make it as easy as possible for us to recreate your problem so that we can fix it: please help us help you! Thanks. You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
Additionally and if not already given, please share the output of |
Beta Was this translation helpful? Give feedback.
-
Thank you. That's really small :) Quarto was complaining about the 'location' option I was trying to sneak in, so I suppose that matches the schema. Maybe this shouldn't be in branding at all, since it is page layout. But it should go somewhere :/ |
Beta Was this translation helpful? Give feedback.
-
Full control over positioning of the logo is supported through YAML. This is currently a Typst-only feature (although it uses CSS conventions). https://quarto.org/docs/advanced/typst/brand-yaml.html#logo I think I need to move this documentation somewhere more prominent. |
Beta Was this translation helpful? Give feedback.
Here is how it can be used.
As the setting is specific to Typst, it's preferable to nest the option under the format, but it would work for Typst, even at the top-level.