Update README.org
This commit is contained in:
@ -31,13 +31,13 @@ Use your script as a function which formats strings
|
|||||||
Available options are
|
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)
|
- ~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)
|
- ~margin~ :: The margin left around the image by graphemy, useful in stroke-based scripts. (defaulut: 0)
|
||||||
- ~comment~ :: Doesn’t do anything in practice, only added for completness of the Graphemy rendering options. (default: none)
|
- ~comment~ :: Doesn’t 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)
|
- ~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 isn’t specified but ~width~ is, it is used instead, otherwise the default is 100pt.
|
- ~linewidth~ :: the logical linewidth in absolute length, if it isn’t specified but ~width~ is, it is used instead, otherwise the default is 100pt.
|
||||||
- scale :: overall scale factor of the text, doesn’t affect the typst bounding box, just the scaling.
|
- ~scale~ :: overall scale factor of the text, doesn’t affect the typst bounding box, just the scaling.
|
||||||
|
|
||||||
** License
|
** License
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user