-
Notifications
You must be signed in to change notification settings - Fork 0
/
simple-theme.yml
52 lines (46 loc) · 1.16 KB
/
simple-theme.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# if not defined here, use the base config
extends: base
# general definition of the page
page:
layout: portrait
margin: [0.75in, 1in, 0.75in, 1in]
size: A4
# how to handle general formatting, related to images, captions, fonts, etc
image:
align: center
caption:
align: center
font_color: #FF0000
font_size: 10
# How to render the title page
title_page:
align: right
logo_image: image:logo.png[width=250,align=left]
# How to render headers - note the recto/verso stuff, it's a printing thing
# (verso is the left page when printed, recto is the right)
# The verso in our case is the same as recto, so we use this annotation to so
header:
height: 0.75in
font-size: 8
line-height: 1
recto: &shared_header
left:
content: image:logo.png[width=80]
right:
content: '*{document-title}*'
verso: *shared_header
# How to handle the footers.
footer:
height: 0.75in
font-size: 8
line-height: 1
recto: &shared_footer
left:
content: |
{docnumber} {revnumber}
© COPYRIGHT SONALAKE LTD
right:
content: |
{page-number} ({page-count}) +
COMMERCIAL-IN-CONFIDENCE
verso: *shared_footer