performance-docs/doc/source/_styles/pdf.style
Ilya Shakhat f9d4e0e078 Re-organize doc building
* Split out PDF building into a separate tox target
* Run HTML builder the same way as by Infra
* Omit Latex builder as it's not used

Change-Id: Idae8ce297fdcc05141749d31f343cb29ce89ca66
2016-03-31 19:03:13 +03:00

614 lines
14 KiB
Plaintext

# List any fonts you would like to embed in the PDF here
embeddedFonts: []
# Default page setup. Can be overridden by including other
# stylesheets with -s
pageSetup:
size: A4
width: null
height: null
margin-top: 2cm
margin-bottom: 2cm
margin-left: 2cm
margin-right: 2cm
margin-gutter: 0cm
spacing-header: 5mm
spacing-footer: 5mm
# The first template is one of the 'pageTemplates"
# (See next section)
firstTemplate: coverPage
# pageTemplates can be accessed with the .. raw:: pdf PageBreak command
pageTemplates:
coverPage:
frames: []
[0cm, 0cm, 100%, 100%]
showHeader : false
showFooter : false
emptyPage:
frames: []
[0cm, 0cm, 100%, 100%]
showHeader : false
showFooter : false
oneColumn:
frames: []
[0cm, 0cm, 100%, 100%]
showHeader : false
showFooter : true
defaultFooter : ###Page###
twoColumn:
frames: []
[0cm, 0cm, 49%, 100%]
[51%, 0cm, 49%, 100%]
showHeader : true
showFooter : true
threeColumn:
frames: []
[2%, 0cm, 29.333%, 100%]
[35.333%, 0cm, 29.333%, 100%]
[68.666%, 0cm, 29.333%, 100%]
showHeader : true
showFooter : true
cutePage:
frames: []
[0%, 0%, 100%, 100%]
showHeader : false
showFooter : true
defaultFooter : -- ###Page### --
defaultHeader : ###Section###
fontsAlias:
stdFont: Helvetica
stdBold: Helvetica-Bold
stdItalic: Helvetica-Oblique
stdBoldItalic: Helvetica-BoldOblique
stdSans: Helvetica
stdSansBold: Helvetica-Bold
stdSansItalic: Helvetica-Oblique
stdSansBoldItalic: Helvetica-BoldOblique
stdMono: Courier
stdMonoItalic: Courier-Oblique
stdMonoBold: Courier-Bold
stdMonoBoldItalic: Courier-BoldOblique
stdSerif: Times-Roman
linkColor: navy
styles:
base:
parent: null
fontName: stdFont
fontSize: 10
leading: 14
leftIndent: 0
rightIndent: 0
firstLineIndent: 0
alignment: TA_LEFT
spaceBefore: 0
spaceAfter: 0
bulletFontName: stdFont
bulletFontSize: 10
bulletIndent: 0
textColor: black
backColor: null
wordWrap: null
borderWidth: 0
borderPadding: 0
borderColor: null
borderRadius: null
allowWidows: false
allowOrphans: false
hyphenation: false
kerning: false
underline: false
strike: false
commands: []
normal:
parent: base
title-reference:
parent: normal
fontName: stdItalic
bodytext:
parent: normal
spaceAfter: 3
alignment: TA_LEFT
hyphenation: true
toc:
parent: normal
blockquote:
parent: bodytext
leftIndent: 20
lineblock:
parent: bodytext
line:
parent: lineblock
spaceBefore: 0
toc1:
parent: toc
fontName: stdBold
fontSize: 120%
toc2:
parent: toc
fontName: stdBold
fontSize: 120%
leftIndent: 20
toc3:
parent: toc
leftIndent: 40
toc4:
parent: toc
leftIndent: 60
toc5:
parent: toc
leftIndent: 80
toc6:
parent: toc
leftIndent: 100
toc7:
parent: toc
leftIndent: 120
toc8:
parent: toc
leftIndent: 140
toc9:
parent: toc
leftIndent: 160
toc10:
parent: toc
leftIndent: 160
toc11:
parent: toc
leftIndent: 160
toc12:
parent: toc
leftIndent: 160
toc13:
parent: toc
leftIndent: 160
toc14:
parent: toc
leftIndent: 160
toc15:
parent: toc
leftIndent: 160
footer:
parent: normal
alignment: TA_CENTER
fontColor: #606060
fontSize: 8
header:
parent: normal
alignment: TA_CENTER
fontSize: 8
attribution:
parent: bodytext
alignment: TA_RIGHT
image:
parent: bodytext
alignment: TA_CENTER
figure:
parent: bodytext
alignment: TA_CENTER
commands: []
[VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
[ALIGN, [ 0, 0 ], [ -1, -1 ], CENTER ]
colWidths: [100%]
figure-caption:
parent: bodytext
fontName: stdItalic
alignment: TA_CENTER
figure-legend:
parent: bodytext
bullet-list:
parent: bodytext
commands: []
[VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
[RIGHTPADDING, [ 0, 0 ], [ 1, -1 ], 0 ]
colWidths: [10, null]
bullet-list-item:
parent: bodytext
item-list:
parent: bodytext
commands: []
[VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
[RIGHTPADDING, [ 0, 0 ], [ 1, -1 ], 0 ]
colWidths: [20pt, null]
item-list-item:
parent: bodytext
definition-list-term:
parent: normal
fontName: stdBold
spaceBefore: 4
spaceAfter: 0
keepWithNext: false
definition-list-classifier:
parent: normal
fontName: stdItalic
definition:
parent: bodytext
firstLineIndent: 0
bulletIndent: 0
spaceBefore: 0
colWidths: [20pt, null]
commands: []
[VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
[LEFTPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
[BOTTOMPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
[RIGHTPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
fieldname:
parent: bodytext
alignment: TA_RIGHT
fontName: stdBold
fieldvalue:
parent: bodytext
rubric:
parent: bodytext
textColor: darkred
alignment: TA_CENTER
italic:
parent: bodytext
fontName: stdItalic
heading:
parent: normal
keepWithNext: true
title:
parent: heading
fontName: stdBold
fontSize: 300%
alignment: TA_CENTER
keepWithNext: false
spaceAfter: 10
subtitle:
parent: title
spaceBefore: 12
fontSize: 75%
heading1:
parent: heading
fontName: stdBold
textColor: #D32F1A
fontSize: 250%
spaceBefore: 30
spaceAfter: 30
heading2:
parent: heading
fontName: stdBold
textColor: #D32F1A
fontSize: 180%
spaceBefore: 20
spaceAfter: 14
heading3:
parent: heading
fontName: stdBold
fontSize: 140%
spaceBefore: 12
spaceAfter: 8
heading4:
parent: heading
fontName: stdBold
fontSize: 115%
spaceBefore: 12
spaceBefore: 8
heading5:
parent: heading
fontName: stdItalic
spaceBefore: 6
spaceBefore: 4
heading6:
parent: heading
fontName: stdItalic
topic-title:
parent: heading3
sidebar-title:
parent: heading3
sidebar-subtitle:
parent: heading4
sidebar:
float: none
width: 100%
parent: normal
backColor: "#E0E0E0"
borderColor: darkgray
borderPadding: 10
borderWidth: 0.5
admonition:
parent: normal
spaceBefore: 6
spaceAfter: 3
borderPadding: [10, 10, 10, 10]
backColor: #E0EFFF
borderColor: #808080
borderWidth: 0.5
commands: []
[VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
attention:
parent: admonition
caution:
parent: admonition
danger:
parent: admonition
error:
parent: admonition
hint:
parent: admonition
important:
parent: admonition
note:
parent: admonition
tip:
parent: admonition
warning:
parent: admonition
admonition-title:
parent: heading3
admonition-heading:
parent: base
fontName: stdBold
attention-heading:
parent: admonition-heading
caution-heading:
parent: admonition-heading
danger-heading:
parent: admonition-heading
error-heading:
parent: admonition-heading
hint-heading:
parent: admonition-heading
important-heading:
parent: admonition-heading
note-heading:
parent: admonition-heading
tip-heading:
parent: admonition-heading
warning-heading:
parent: admonition-heading
literal:
parent: normal
fontName: stdMono
firstLineIndent: 0
hyphenation: false
wordWrap: null
backColor: "#FFFFF0"
textColor: "#200000"
aafigure:
parent: literal
table:
spaceBefore: 6
spaceAfter: 0
alignment: TA_CENTER
commands: []
[VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
[INNERGRID, [ 0, 0 ], [ -1, -1 ], 0.25, black ]
[ROWBACKGROUNDS, [0, 0], [-1, -1], [white, "E0E0E0"]]
[BOX, [ 0, 0 ], [ -1, -1 ], 0.25, black ]
table-title:
parent : heading4
keepWithNext: false
alignment : TA_CENTER
table-heading:
parent : heading
backColor : "#F0F0F0"
alignment : TA_CENTER
valign : BOTTOM
borderPadding : 0
table-body:
parent : normal
fontSize: 8
dedication:
parent : normal
abstract:
parent : normal
contents:
parent : normal
tableofcontents:
parent : normal
code:
parent: literal
fontSize: 9
leftIndent: 0
spaceBefore: 0
spaceAfter: 0
backColor: "#FFFFFF"
borderWidth: 0
borderPadding: 0
borderColor: #CFCFCF
linenumber:
parent: code
right:
parent: bodytext
alignment: right
center:
parent: bodytext
alignment: center
pygments-n: {parent: code}
pygments-nx: {parent: code}
pygments-p: {parent: code}
pygments-hll: {parent: code, backColor: "ffffcc"}
pygments-c: {textColor: "008800", parent: code}
pygments-err: {parent: code}
pygments-k: {textColor: "AA22FF", parent: code}
pygments-o: {textColor: "666666", parent: code}
pygments-cm: {textColor: "008800", parent: code}
pygments-cp: {textColor: "008800", parent: code}
pygments-c1: {textColor: "008800", parent: code}
pygments-cs: {textColor: "008800", parent: code}
pygments-gd: {textColor: "A00000", parent: code}
pygments-ge: {parent: code}
pygments-gr: {textColor: "FF0000", parent: code}
pygments-gh: {textColor: "000080", parent: code}
pygments-gi: {textColor: "00A000", parent: code}
pygments-go: {textColor: "808080", parent: code}
pygments-gp: {textColor: "000080", parent: code}
pygments-gs: {parent: code}
pygments-gu: {textColor: "800080", parent: code}
pygments-gt: {textColor: "0040D0", parent: code}
pygments-kc: {textColor: "AA22FF", parent: code}
pygments-kd: {textColor: "AA22FF", parent: code}
pygments-kn: {textColor: "AA22FF", parent: code}
pygments-kp: {textColor: "AA22FF", parent: code}
pygments-kr: {textColor: "AA22FF", parent: code}
pygments-kt: {textColor: "00BB00", parent: code}
pygments-m: {textColor: "666666", parent: code}
pygments-s: {textColor: "BB4444", parent: code}
pygments-na: {textColor: "BB4444", parent: code}
pygments-nb: {textColor: "AA22FF", parent: code}
pygments-nc: {textColor: "0000FF", parent: code}
pygments-no: {textColor: "880000", parent: code}
pygments-nd: {textColor: "AA22FF", parent: code}
pygments-ni: {textColor: "999999", parent: code}
pygments-ne: {textColor: "D2413A", parent: code}
pygments-nf: {textColor: "00A000", parent: code}
pygments-nl: {textColor: "A0A000", parent: code}
pygments-nn: {textColor: "0000FF", parent: code}
pygments-nt: {textColor: "008000", parent: code}
pygments-nv: {textColor: "B8860B", parent: code}
pygments-ow: {textColor: "AA22FF", parent: code}
pygments-w: {textColor: "bbbbbb", parent: code}
pygments-mf: {textColor: "666666", parent: code}
pygments-mh: {textColor: "666666", parent: code}
pygments-mi: {textColor: "666666", parent: code}
pygments-mo: {textColor: "666666", parent: code}
pygments-sb: {textColor: "BB4444", parent: code}
pygments-sc: {textColor: "BB4444", parent: code}
pygments-sd: {textColor: "BB4444", parent: code}
pygments-s2: {textColor: "BB4444", parent: code}
pygments-se: {textColor: "BB6622", parent: code}
pygments-sh: {textColor: "BB4444", parent: code}
pygments-si: {textColor: "BB6688", parent: code}
pygments-sx: {textColor: "008000", parent: code}
pygments-sr: {textColor: "BB6688", parent: code}
pygments-s1: {textColor: "BB4444", parent: code}
pygments-ss: {textColor: "B8860B", parent: code}
pygments-bp: {textColor: "AA22FF", parent: code}
pygments-vc: {textColor: "B8860B", parent: code}
pygments-vg: {textColor: "B8860B", parent: code}
pygments-vi: {textColor: "B8860B", parent: code}
pygments-il: {textColor: "666666", parent: code}
endnote:
parent: bodytext
commands: []
[VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
[TOPPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
[BOTTOMPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
[RIGHTPADDING, [ 0, 0 ], [ 1, -1 ], 0 ]
colWidths: [3cm, null]
field-list:
parent: bodytext
commands: []
[VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
[TOPPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
colWidths: [3cm, null]
spaceBefore: 6
option-list:
commands: []
[VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
[TOPPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
colWidths: [null,null]
author:
parent: normal
alignment: TA_CENTER
fontSize: 12