Skip to content

Commit 3d7b4c2

Browse files
typst logo defaults
(cherry picked from commit 478b555)
1 parent 7faf6b6 commit 3d7b4c2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/advanced/typst/brand-yaml.qmd

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,16 @@ In all formats, `logo` can be the path to a logo or the name of a `brand.logo` r
3131
The Typst implementation also supports
3232

3333
`width`
34-
: Width in CSS units
34+
: Width in CSS units. Default `2in`.
35+
3536
`location`
3637
: Location on the page in X and Y using CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align) and [`text-vertical-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align) keyword values, specifically
3738
`left`, `center`, `right` and `top`, `middle`, and `bottom`.
38-
The X and Y components are combined with a dash, e.g. `left-top`, `center-middle`
39+
The X and Y components are combined with a dash, e.g. `left-top` (the default), `center-middle`, etc.
40+
Applied as Typst [`align`](https://typst.app/docs/reference/layout/align/).
41+
3942
`padding`, `padding-top`, `padding-right`, `padding-bottom`, `padding-left`
40-
: Amount of padding to add to each side of the logo, using CSS [`padding`](https://developer.mozilla.org/en-US/docs/Web/CSS/padding) conventions. Due to a limitation in the Lua implementation of YAML, multiple padding options are applied in alphabetical order instead of the order of the YAML object.
43+
: Amount of padding to add to each side of the logo, using CSS [`padding`](https://developer.mozilla.org/en-US/docs/Web/CSS/padding) conventions. Due to a limitation in the Lua implementation of YAML, multiple padding options are applied in alphabetical order instead of the order of the YAML object. Applied as Typst [`block.inset`](https://typst.app/docs/reference/layout/block/#parameters-inset). Default `padding: 0.5in`.
4144

4245
## Typography
4346

0 commit comments

Comments
 (0)