How to center an image without name (quarto)?

Hello! I am using typst with quarto. When I create an image, such as

![](/path/to/image)

This inserts image not centered, but if I will add name

![any_name](/path/to/image)

It will be centered, but with label “Figure X: any_name”.

I want centered image without name. I know that one can add {fig-align: center}, but I don’t want to add it each time I create an image wihtout name. So is it possible to somehow set that in typst-template or quarto initial settings?

I have no idea how quarto works. From your description, I guess the first snipped will be converted to a simple Typst image. In your Typst template you can set the alignment for all images with:

#show image: set align(center)

I think it is probably better to ask quarto related questions first to quarto people as I think there is a bigger overlap of people using both tools.

1 Like