summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/latex-web-companion/xmlstyle/invtab1.dsl
blob: 3d7afc7d5ba54125e982e0331b7a903bf54d5893 (plain)
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
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style-Sheet//EN">
<style-sheet>
<style-specification>
<style-specification-body>

(define FontSize 12pt)

(root
  (make simple-page-sequence
    left-margin:  2cm
    page-width:   15cm
    right-margin: 2cm
    (make scroll
      font-size: FontSize
      (process-children))))

(element front
  (make sequence
    (make paragraph
      quadding:    'center
      space-before:   20pt
      font-weight: 'bold
      font-size:   24pt
      (literal "INVITATION")) 
    (make table
      table-border:   #f  ; no border
      display-alignment: 'start
      space-before:   20pt
      (make table-part
        (make table-column width: 25mm)
        (make table-column width: 10cm)
        (process-children)))))
(element (front date)
  (make table-row
    (make table-cell
      (make paragraph quadding: 'start
        (literal "When:")))
    (make table-cell
        (process-children))))
(element (front to)
  (make table-row
    (make table-cell
     (make paragraph quadding: 'start
        (literal "To:")))
    (make table-cell
        (process-children))))
(element (front where)
  (make table-row
    (make table-cell
      (make paragraph quadding: 'start
        (literal "Venue:")))
    (make table-cell
        (process-children))))
(element (front why)
  (make table-row
    (make table-cell
      (make paragraph quadding: 'start
        (literal "Occasion:")))
    (make table-cell
        (process-children))))

(element (body par)
  (make paragraph
    quadding: 'justify
    font-size: FontSize
    space-before: FontSize
    (process-children)))
(element emph
  (make sequence
    font-posture: 'italic
    (process-children)))

(element (back signature)
  (make paragraph
    quadding: 'end
    space-before: FontSize
    (literal "From: ")
    (process-children)))

</style-specification-body>
</style-specification>
</style-sheet>