Welcome to the forum! Could you please share a minimal working code snippet that we can paste into an empty Typst document to reproduce the issue? It makes it hard to answer questions where we have to guess your custom settings.
Please take a look at How to post in the Questions category and especially the section which talks about code formatting and update the code snippets in your posts.
Hi @Olivier_MOUGEL, welcome and thank you for your question! I have changed your post’s title to bring it in line with the question guidelines and thus make it easier to understand from the title:
Good titles are questions you would ask your friend about Typst.
I hope I didn’t change the meaning you had in mind, looking back a few minutes later I’m not 100% sure… you can change it again if needed.
I have also formatted your code, please check the linked post and/or your post’s edit history on how to do that next time, and post a complete snippet as @flokl said.