-
-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathconfig.js
114 lines (114 loc) · 2.17 KB
/
config.js
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
({
languages: ['en', 'ru', 'cz', 'uk'],
sections: [
'Abstract',
'Index',
'1-Introduction',
'1-1-Approach',
'1-2-Examples',
'1-3-Modeling',
'1-4-Program',
'1-5-Decomposition',
'1-6-Engineer',
'1-7-Paradigms',
'2-Basic',
'2-1-Identifiers',
'2-2-Types',
'2-3-Blocks',
'2-4-Context',
'2-5-Procedure',
'2-6-Function',
'2-7-Closure',
'2-8-Errors',
'2-9-Tasks',
'3-Data',
'3-1-State',
'3-2-Structs',
'3-3-Collections',
'3-4-Hash',
'3-5-Deque',
'3-6-Graph',
'3-7-Projections',
'3-8-Complexity',
'4-Extended',
'4-1-Tech-stack',
'4-2-Dev-env',
'4-3-Iterations',
'4-4-Application',
'4-5-Object',
'4-6-Partial',
'4-7-Chaining',
'4-8-Mixins',
'4-9-Dependencies',
],
title: {
bold: true,
fontSize: 28,
alignment: 'center',
margin: [40, 20, 40, 0],
},
subtitle: {
bold: true,
fontSize: 14,
alignment: 'center',
margin: [40, 20, 40, 0],
},
copyright: {
fontSize: 14,
alignment: 'center',
margin: [40, 60, 40, 0],
},
location: {
fontSize: 14,
alignment: 'center',
margin: [40, 40, 40, 0],
},
caption: {
fontSize: 15,
bold: true,
margin: [30, 5, 30, 5],
},
index: {
fontSize: 11,
margin: [30, 2, 30, 2],
preserveLeadingSpaces: true,
},
para: {
fontSize: 11,
alignment: 'justify',
margin: [30, 0, 30, 10],
},
code: {
border: false,
layout: 'noBorders',
fontSize: 10.2,
color: '#555',
fillColor: '#eee',
font: 'Mono',
},
quote: {
border: false,
layout: 'noBorders',
fontSize: 13,
color: '#000',
fillColor: '#bbb',
},
list: {
fontSize: 11,
margin: [40, 0, 30, 10],
},
fonts: {
Roboto: {
normal: 'fonts/Roboto-Regular.ttf',
bold: 'fonts/Roboto-Medium.ttf',
italics: 'fonts/Roboto-Italic.ttf',
bolditalics: 'fonts/Roboto-MediumItalic.ttf',
},
Mono: {
normal: 'fonts/RobotoMono-Regular.ttf',
bold: 'fonts/RobotoMono-Medium.ttf',
italics: 'fonts/RobotoMono-Italic.ttf',
bolditalics: 'fonts/RobotoMono-MediumItalic.ttf',
},
},
});