summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2015-07-22 00:56:54 -0600
committerDan Allen <dan.j.allen@gmail.com>2015-07-22 01:11:41 -0600
commit800e2139376a7d5cc087e637671c5dccd5ebd5cc (patch)
tree026aef2600a9d0846414e8a20f491d5a2b83d96e /docs
parent470cab26a6e0160c482487e76f8ff661a369cd7d (diff)
resolves #274 make line height in running header/footer configurable
- allow header_line_height & footer_line_height to be specified in theme - properly calculate the height and placement of running content - placement of image in running content should respect padding settings - document header_line_height & footer_line_height in theme guide - update default theme to use new settings
Diffstat (limited to 'docs')
-rw-r--r--docs/theming-guide.adoc12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/theming-guide.adoc b/docs/theming-guide.adoc
index 9cc57324..7353cf7e 100644
--- a/docs/theming-guide.adoc
+++ b/docs/theming-guide.adoc
@@ -1418,6 +1418,11 @@ Block styles are applied to the following block types:
|<<measurement-units,measurement>>
|height: 0.75in
+|header_line_height
+|<<values,number>> +
+(default: $base_line_height)
+|height: 1.2
+
|header_padding
|<<measurement-units,measurement>>, <<measurement-units,measurement array [4]>>
|padding: [0, 3, 0, 3]
@@ -1471,6 +1476,11 @@ Block styles are applied to the following block types:
|<<measurement-units,measurement>>
|height: 0.75in
+|footer_line_height
+|<<values,number>> +
+(default: $base_line_height)
+|height: 1.2
+
|footer_padding
|<<measurement-units,measurement>>, <<measurement-units,measurement array [4]>>
|padding: [0, 3, 0, 3]
@@ -1514,6 +1524,7 @@ Here's an example that shows how these attributes can be used in the running foo
----
footer:
height: 0.75in
+ line_height: 1
recto_content:
right: '{section-or-chapter-title} | *{page-number}*'
verso_content:
@@ -1528,6 +1539,7 @@ To force a hard line break in the output, add [x-]+{space}{plus}+ to the end of
----
footer:
height: 0.75in
+ line_height: 1.2
recto_content:
right: |
Section Title - Page Number +