diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2015-05-29 03:53:16 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2015-05-30 19:27:57 -0600 |
| commit | 6356e1e9a15fe1edc0193f438d65c01dc9482df5 (patch) | |
| tree | 8f6f9396baa247a761883c4dede982e243490615 /data | |
| parent | 8e24d33a77c1eb151b903200803c2caf91e0d05e (diff) | |
resolves #89 allow running header & footer content to be customized
- add theme settings for running header and footer content
- support image as content in running header and footer
- allow running content to have background color
- use stamps to draw running content background and border
- index chapter and section titles by page
- assign attributes for chapter titles, section titles and page numbering
- add convenience methods for retrieving page margins
- customize running footer in default theme
- document running header and footer keys in theming-guide.adoc
- minor code cleanups
Diffstat (limited to 'data')
| -rw-r--r-- | data/themes/default-theme.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/data/themes/default-theme.yml b/data/themes/default-theme.yml index ce4d4a31..4fee053b 100644 --- a/data/themes/default-theme.yml +++ b/data/themes/default-theme.yml @@ -201,7 +201,29 @@ table: cell_padding: [3, 3, 6, 3] toc: dot_leader_color: 999999 +# NOTE In addition to footer, header is also supported footer: font_size: $base_font_size_small font_color: $base_font_color + # NOTE if background_color is set, background and border will span width of page border_color: dddddd + border_width: 0.25 + height: $base_line_height_length * 2.5 + padding: [$base_line_height_length / 2, 1, 0, 1] + valign: top + #image_valign: <alignment> or <number> + # additional attributes for content: + # * {page-count} + # * {page-number} + # * {document-title} + # * {document-subtitle} + # * {chapter-title} + # * {section-title} + # * {section-or-chapter-title} + recto_content: + right: '{section-or-chapter-title} | {page-number}' + #right: '{document-title} | {page-number}' + #center: '{page-number}' + verso_content: + left: '{page-number} | {chapter-title}' + #center: '{page-number}' |
