diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2019-08-07 01:12:16 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2019-08-07 01:12:16 -0600 |
| commit | 6f4b4ebeeda977dbb84d8f18347eb77dbc1ce68d (patch) | |
| tree | 1517547e4da562ce6528b821f0cac2f613726d5e /docs | |
| parent | 36265da99e08ede231cefe918f938e68a0a2237a (diff) | |
clarify information about using an image in the running header and footer [skip ci]
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/theming-guide.adoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/theming-guide.adoc b/docs/theming-guide.adoc index b815478d..601584fd 100644 --- a/docs/theming-guide.adoc +++ b/docs/theming-guide.adoc @@ -3947,8 +3947,9 @@ One exception to this rule are inline images, which are described in the next se ==== Images You can add an image to the running header or footer using the AsciiDoc inline image syntax. -Note that the image must be the whole value for a given position (left, center or right). -It cannot be combined with text. +The image target is resolved relative to the value of the `pdf-themesdir` attribute. +If the image macro is the whole value for a column position, you can use the `position` and `fit` attributes to align and scale it relative to the column box. +Otherwise, the image is treated like a normal inline image, for which you can only adjust the width. Here's an example of how to use an image in the running header (which also applies for the footer). |
