Update README.org

This commit is contained in:
2025-06-17 17:44:56 +02:00
parent 6b5069e124
commit cd337c9a9a

View File

@ -31,13 +31,13 @@ Use your script as a function which formats strings
Available options are
- ~width~ :: The width of the resulting text in absolute length, also informs the linewidth for the graphemy typesetter if it is not set separately. (default: auto)
- height :: The height of the resulting text in absolute length. If both ~width~ and ~height~ are set, informs the shape of the bounding box for the text. (default: auto)
- ~height~ :: The height of the resulting text in absolute length. If both ~width~ and ~height~ are set, informs the shape of the bounding box for the text. (default: auto)
- ~margin~ :: The margin left around the image by graphemy, useful in stroke-based scripts. (defaulut: 0)
- ~comment~ :: Doesnt do anything in practice, only added for completness of the Graphemy rendering options. (default: none)
- ~fg~ :: the foreground color of the rendered text, specified as a Typst color value (default: color.black)
- bg :: the background color of the rendered text, specified as a Typst color value (default: none)
- ~bg~ :: the background color of the rendered text, specified as a Typst color value (default: none)
- ~linewidth~ :: the logical linewidth in absolute length, if it isnt specified but ~width~ is, it is used instead, otherwise the default is 100pt.
- scale :: overall scale factor of the text, doesnt affect the typst bounding box, just the scaling.
- ~scale~ :: overall scale factor of the text, doesnt affect the typst bounding box, just the scaling.
** License