]> git.lyx.org Git - lyx.git/blob - lib/layouts/scrlettr.layout
copy some code over to allow work to start on prefs
[lyx.git] / lib / layouts / scrlettr.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[scrlettr]{letter (koma-script)}
3 # KOMA scrlettr textclass definition file. 
4 # Bernd Rellermeyer <100.41728@germanynet.de>, 1999/2/17.
5
6 # Standard style definition
7 Style Standard
8   LatexName             dummy
9   ParSep                0.4
10   AlignPossible         Block, Left, Right, Center
11 End
12
13 Input stdlists.inc
14
15 # Modify Description
16 Style Description
17   LabelFont
18     Family              Sans
19   EndFont
20 End
21
22 # Delete List
23 NoStyle List
24
25 # Labeling style definition
26 Style Labeling
27   Margin                Manual
28   LatexType             List_Environment
29   LatexName             labeling
30   NextNoindent          1
31   LabelSep              xxx
32   ParSkip               0.4
33   TopSep                0.7
34   BottomSep             0.7
35   ParSep                0.5
36   Align                 Block
37   AlignPossible         Block, Left
38   LabelType             Manual
39   LabelString           00.00.0000
40 End
41
42 Input stdlayouts.inc
43
44 # Delete Caption
45 NoStyle Caption
46
47 # Letter style definition
48 Style Letter
49   LatexType             Command
50   LatexName             letter
51   KeepEmpty             1
52   LabelSep              xx
53   TopSep                1.5
54   BottomSep             1.5
55   ParSep                1.5
56   Align                 Left
57   AlignPossible         Left
58   LabelType             Static
59   LabelString           "L"
60
61   LabelFont 
62     Series              Bold
63     Shape               Italic
64     Size                Small
65     Color               Blue
66   EndFont
67 End
68
69 # Opening style definition
70 Style Opening
71   CopyStyle             Letter
72   LatexName             lyxopening
73   LabelString           "O"
74
75   Preamble
76     \newcommand{\lyxopening}[1]{\pagebreak\startbreaks\opening{#1}}
77   EndPreamble
78 End
79
80 # Closing style definition
81 Style Closing
82   LatexType             Command
83   LatexName             closing
84   KeepEmpty             0
85   TopSep                1.5
86   BottomSep             1.5
87   ParSep                1.5
88   Align                 Left
89   AlignPossible         Left
90 End
91
92 # PS style definition
93 Style PS
94   LatexType             Command
95   LatexName             ps
96   TopSep                0.4
97   BottomSep             0.4
98   ParSep                0.4
99   Align                 Left
100   AlignPossible         Left
101 End
102
103 # CC style definition
104 Style CC
105   LatexType             Command
106   LatexName             cc
107   LeftMargin            xxxx::xx
108   LabelSep              xx
109   TopSep                0.4
110   BottomSep             0.4
111   ParSep                0.4
112   Align                 Left
113   AlignPossible         Left
114   LabelType             Static
115   LabelString           "cc:"
116 End
117
118 # Encl style definition
119 Style Encl
120   CopyStyle             CC
121   LatexName             encl
122   LabelString           "encl:"
123 End
124
125 # Name style definition
126 Style Name
127   LatexType             Command
128   LatexName             name
129   KeepEmpty             1
130   LeftMargin            xxxxxxxxxxxx::xx
131   LabelSep              xx
132   TopSep                0.4
133   BottomSep             0.4
134   ParSep                0.4
135   Align                 Left
136   AlignPossible         Left
137   LabelType             Static
138   LabelString           "Name:"
139
140   LabelFont 
141     Series              Bold
142     Shape               Italic
143     Color               Blue
144   EndFont
145 End
146
147 # Signature style definition
148 Style Signature
149   CopyStyle             Name
150   LatexName             signature
151   LabelString           "Signature:"
152 End
153
154 # Address style definition
155 Style Address
156   CopyStyle             Name
157   LatexName             address
158   LabelString           "Address:"
159 End
160
161 # Telephone style definition
162 Style Telephone
163   CopyStyle             Name
164   LatexName             telephone
165   LabelString           "Telephone:"
166 End
167
168 # Place style definition
169 Style Place
170   CopyStyle             Name
171   LatexName             place
172   LabelString           "Place:"
173 End
174
175 # Date style definition
176 Style Date
177   CopyStyle             Name
178   LatexName             date
179   LabelString           "Date:"
180 End
181
182 # Backaddress style definition
183 Style Backaddress
184   CopyStyle             Name
185   LatexName             backaddress
186   LabelString           "Backaddress:"
187 End
188
189 # Specialmail style definition
190 Style Specialmail
191   CopyStyle             Name
192   LatexName             specialmail
193   LabelString           "Specialmail:"
194 End
195
196 # Location style definition
197 Style Location
198   CopyStyle             Name
199   LatexName             location
200   LabelString           "Location:"
201 End
202
203 # Title style definition
204 Style Title
205   CopyStyle             Name
206   LatexName             title
207   LabelString           "Title:"
208 End
209
210 # Subject style definition
211 Style Subject
212   CopyStyle             Name
213   LatexName             subject
214   LabelString           "Subject:"
215 End
216
217 # Yourref style definition
218 Style Yourref
219   CopyStyle             Name
220   LatexName             yourref
221   LabelString           "Your ref.:"
222
223   LabelFont 
224     Family              Sans
225     Series              Medium
226     Shape               Up
227     Size                Small
228     Color               None
229   EndFont
230 End
231
232 # Yourmail style definition
233 Style Yourmail
234   CopyStyle             Yourref
235   LatexName             yourmail
236   LabelString           "Your letter of:"
237 End
238
239 # Myref style definition
240 Style Myref
241   CopyStyle             Yourref
242   LatexName             myref
243   LabelString           "Our ref.:"
244 End
245
246 # Customer style definition
247 Style Customer
248   CopyStyle             Yourref
249   LatexName             customer
250   LabelString           "Customer no.:"
251 End
252
253 # Invoice style definition
254 Style Invoice
255   CopyStyle             Yourref
256   LatexName             invoice
257   LabelString           "Invoice no.:"
258 End