]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdletter.inc
bug fixes
[lyx.git] / lib / layouts / stdletter.inc
1 # Letter textclass definition file. 
2 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
3 # Heavily modifed and enhanced by several developers.
4
5 # General textclass parameters
6 Columns                 1
7 Sides                   1
8 PageStyle               Empty
9
10 # This is just to show how to declare the default font.
11 # The defaults are exactly those shown here.
12 DefaultFont
13   Family                Roman
14   Series                Medium
15   Shape                 Up
16   Size                  Normal
17   Color                 None
18 EndFont
19
20 # Standard style definition
21 Style Standard
22   Margin                Static
23   LatexType             Paragraph
24   LatexName             dummy
25   ParIndent             MM
26   ParSkip               0.4
27   Align                 Block
28   AlignPossible         Block, Left, Right, Center
29   LabelType             No_Label
30 End
31
32 # My Address style
33 Style My_Address
34   Margin                Right_Address_Box
35   LatexType             Command
36   LatexName             address
37   ParSkip               0.4
38   BottomSep             1.5
39   ParSep                1.5
40   Align                 Left
41   AlignPossible         Left
42 End
43
44 # Send_To_Address style definition
45 Style Send_To_Address
46   Margin                Static
47   LatexType             Command
48   LatexName             letter
49   KeepEmpty             1  
50   ParSkip               0.4
51   BottomSep             1.5
52   ParSep                1.5
53   Align                 Left
54   AlignPossible         Block, Left, Right, Center
55   LabelType             No_Label
56 End
57
58 # Opening style definition
59 Style Opening
60   Margin                Static
61   LatexType             Command
62   LatexName             opening
63   KeepEmpty             1  
64   LeftMargin            Signature::xx
65   LabelSep              xx
66   TopSep                0.4
67   BottomSep             0.4
68   ParSep                0.4
69   Align                 Block
70   AlignPossible         Block, Left
71   LabelType             Static
72   LabelString           Opening:
73
74   # label font definition
75   LabelFont 
76     Series              Bold
77     Shape               Italic
78     Color               red
79   EndFont
80 End
81
82 # Signature style definition
83 Style Signature
84   Margin                Static
85   LatexType             Command
86   LatexName             signature
87   LeftMargin            Signature::xx
88   LabelSep              xx
89   TopSep                0.4
90   BottomSep             0.4
91   ParSep                0.4
92   Align                 Block
93   AlignPossible         Block, Left
94   LabelType             Static
95   LabelString           Signature:
96
97   # label font definition
98   LabelFont 
99     Series              Bold
100     Shape               Italic
101     Color               red
102   EndFont
103 End
104
105 # Closing style definition
106 Style Closing
107   Margin                Static
108   LatexType             Command
109   LatexName             closing
110   LeftMargin            Signature::xx
111   LabelSep              xx
112   TopSep                0.4
113   BottomSep             0.4
114   ParSep                0.4
115   Align                 Block
116   AlignPossible         Block, Left
117   LabelType             Static
118   LabelString           Closing:
119
120   # label font definition
121   LabelFont 
122     Series              Bold
123     Shape               Italic
124     Color               red
125   EndFont
126 End
127
128 # cc style definition
129 Style cc
130   Margin                Static
131   LatexType             Command
132   LatexName             cc
133   LeftMargin            cc:xx
134   LabelSep              xx
135   TopSep                0.4
136   BottomSep             0.4
137   ParSep                0.4
138   Align                 Block
139   AlignPossible         Block, Left
140   LabelType             Static
141   LabelString           cc:
142 End
143
144 # encl style definition
145 Style encl
146   Margin                Static
147   LatexType             Command
148   LatexName             encl
149   LeftMargin            encl:xx
150   LabelSep              xx
151   TopSep                0.4
152   BottomSep             0.4
153   ParSep                0.4
154   Align                 Block
155   AlignPossible         Block, Left
156   LabelType             Static
157   LabelString           encl:
158   Spacing               Other 1.5
159 End
160
161 # Telephone style definition
162 Style Location
163   Margin                Static
164   LatexType             Command
165   LatexName             location
166   LeftMargin            Location:xx
167   LabelSep              xx
168   TopSep                0.4
169   BottomSep             0.4
170   ParSep                0.4
171   Align                 Block
172   AlignPossible         Block, Left
173   LabelType             Static
174   LabelString           Location:
175   Spacing               Other 1.5
176 End
177
178 # Telephone style definition
179 Style Telephone
180   Margin                Static
181   LatexType             Command
182   LatexName             telephone
183   LeftMargin            Telephone:xx
184   LabelSep              xx
185   TopSep                0.4
186   BottomSep             0.4
187   ParSep                0.4
188   Align                 Block
189   AlignPossible         Block, Left
190   LabelType             Static
191   LabelString           Telephone:
192   Spacing               Other 1.5
193 End
194