asciidoctor-pdf and footer/header margins
Posted by wimalopaan on
URL: https://discuss.asciidoctor.org/asciidoctor-pdf-and-footer-header-margins-tp8100.html
Setting margin of header / footer doesn't seem to have any effect.
Below is an example (basic.yml + modified header). Changing margin has no effect:
header:
font_size: $base_font_size_small
border_color: DDDDDD
border_width: 0.25
line_height: 1
height: $base_line_height_length * 2.5
padding: [$base_line_height_length / 2, 1, 0, 1]
valign: bottom
vertical_align: middle
margin: [1.0in, 1.0in, 1.0in, 1.0in]
recto:
right:
content: '{section-or-chapter-title} | {page-number}'
verso:
# margin: [1.0in, inherit, 1.0in, 1.0in]
left:
content: '{page-number} | {section-or-chapter-title}'