File: custom.style

package info (click to toggle)
libxmp 4.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,236 kB
  • sloc: ansic: 51,126; sh: 3,402; makefile: 340
file content (593 lines) | stat: -rw-r--r-- 12,389 bytes parent folder | download | duplicates (6)
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593

# 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
#    firstTemplate: coverPage
  margin-bottom: 8mm
  margin-left: 12mm
  margin-right: 12mm
  margin-top: 8mm
  margin-gutter: 0cm
  spacing-header: 5mm
  spacing-footer: 5mm

  # The first template is one of the 'pageTemplates"
  # (See next section)

  firstTemplate: oneColumn

# 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 : true
      showFooter : true

  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 : true
      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: darkgreen

styles:
  base:
    parent: null
    fontName: stdFont
    fontSize: 10
    leading: 12 
    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: 3
    allowOrphans: 3
    hyphenation: false
    kerning: false
    underline: false
    strike: false
    commands: []

  normal:
    parent: base

  title-reference:
    parent: heading
    fontName: stdBold

  bodytext:
    parent: normal
    spaceBefore: 8
    alignment: TA_JUSTIFY
    hyphenation: true

  toc:
    parent: normal
    leading: 9

  blockquote:
    parent: bodytext
    leftIndent: 20

  lineblock:
    parent: bodytext

  line:
    parent: lineblock
    spaceBefore: 0

  toc1:
    parent: toc
    fontName: stdBold

  toc2:
    parent: toc
    leftIndent: 20

  toc3:
    parent: toc
    leading: 7
    leftIndent: 40
    fontSize: 90%
    spaceAfter: 0
    spaceBefore: 0

  toc4:
    parent: toc
    leftIndent: 60

  toc5:
    parent: toc
    leftIndent: 80

  toc6:
    parent: toc
    leftIndent: 100

  toc7:
    parent: toc
    leftIndent: 100

  toc8:
    parent: toc
    leftIndent: 100

  toc9:
    parent: toc
    leftIndent: 100

  toc10:
    parent: toc
    leftIndent: 100

  toc11:
    parent: toc
    leftIndent: 100

  toc12:
    parent: toc
    leftIndent: 100

  toc13:
    parent: toc
    leftIndent: 100

  toc14:
    parent: toc
    leftIndent: 100

  toc15:
    parent: toc
    leftIndent: 100

  footer:
    parent: normal
    alignment: TA_CENTER

  header:
    parent: normal
    alignment: TA_CENTER

  attribution:
    parent: bodytext
    alignment: TA_RIGHT

  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: ["20", 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
    spaceBefore: 12
    spaceAfter: 6
    textColor: #20435C

  title:
    parent: heading
    fontName: stdBold
    fontSize: 200%
    alignment: TA_CENTER
    keepWithNext: false
    spaceAfter: 10

  subtitle:
    parent: title
    spaceBefore: 12
    fontSize: 75%

  heading1:
    parent: heading
    fontName: stdBold
    fontSize: 175%
    spaceBefore: 24

  heading2:
    parent: heading
    fontName: stdBold
    fontSize: 150%
    spaceBefore: 20

  heading3:
    parent: heading
    fontName: stdBold
    fontSize: 125%
    spaceBefore: 16

  heading4:
    parent: heading
    fontName: stdBold

  heading5:
    parent: heading
    fontName: stdBold

  heading6:
    parent: heading
    fontName: stdBold

  topic-title:
    parent: heading3

  sidebar-title:
    parent: heading3

  sidebar-subtitle:
    parent: heading4

  sidebar:
    float: none
    width: 100%
    parent: normal
    backColor: beige
    borderColor: darkgray
    borderPadding: 8
    borderWidth: 0.5

  admonition:
    parent: normal
    spaceBefore: 12
    spaceAfter: 6
    borderPadding: [16,16,16,16]
    backColor: beige
    borderColor: darkgray
    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: heading3

  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

  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 : beige
    alignment : TA_CENTER
    valign : BOTTOM
    borderPadding : 0

  table-body:
    parent : normal

  dedication:
    parent : normal

  abstract:
    parent : normal

  contents:
    parent : normal

  tableofcontents:
    parent : normal

  code:
    parent: literal
    leftIndent: 0
    spaceBefore: 8
    spaceAfter: 8
    borderWidth: 0.5
    borderPadding: 6
    allowOrphans: 4
    allowWidows: 4
    backColor: #EEEEFF
    borderColor: #AA99CC
    borderPadding: [2, 2, 2, 2]
    borderWidth: 0.3

  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: [1.6cm, null]
      spaceBefore: 6

  option-list:
      commands: []
          [VALIGN, [ 0, 0 ], [ -1, -1 ], TOP ]
          [TOPPADDING, [ 0, 0 ], [ -1, -1 ], 0 ]
      colWidths: [null,null]