Skip to content

How to add a header logo in Typst template partial? #9530

Closed Answered by DOH-FAA3303
DOH-FAA3303 asked this question in Q&A
Discussion options

You must be logged in to vote

I figured it out. It appears as though you can't just add a #set page to the existing Typst templates by putting it in via include-in-header because this includes the chunk after the header. And in Typst that causes an error that the page config is inside a container:

and likewise with adding the chunk via template-partials, it was not liking the fact that i was adding a chunk to an existing template.

What I did was I made a quarto extension in a new folder. The base extension for Typst projects gives you a typst-template.typ file and a typst-show.typ file and it explains what each does. I then copy and pasted these example files into my project and adjusted them (added the logo in heade…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cscheid
Comment options

@DOH-FAA3303
Comment options

@mcanouil
Comment options

Answer selected by DOH-FAA3303
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants