]> git.lyx.org Git - lyx.git/blob - lib/layouts/g-brief2.layout
replace 'ascii' by 'plain text' (more to come)
[lyx.git] / lib / layouts / g-brief2.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[g-brief2]{letter (g-brief2)}
3 # Letter textclass definition file.
4
5 # Author : Felix Kurth <lyx@fkurth.de> based on work from
6 #          Thomas Hartkens <thomas@hartkens.de>
7
8 # Input general definitions
9 # Input stdletter.inc
10
11
12
13
14 # General textclass parameters
15 Format 2
16 Columns                 1
17 Sides                   1
18 PageStyle               Empty
19 DefaultStyle    Letter
20
21 # This is just to show how to declare the default font.
22 # The defaults are exactly those shown here.
23 DefaultFont
24   Family                Roman
25   Series                Medium
26   Shape                 Up
27   Size                  Normal
28   Color                 None
29 EndFont
30
31
32
33 # Brieftext style definition
34 Style Letter
35   Margin                Static
36   LatexType             Environment
37   LatexName             g-brief
38   ParSkip               0.4
39   KeepEmpty             1
40   Align                 Block
41   AlignPossible         Block, Left, Right, Center
42   LabelType             Top_Environment
43   LabelString           "Letter:"
44   LabelFont
45     Series              Bold
46     Shape               Italic
47     Color               Blue
48   EndFont
49 End
50
51
52
53
54
55 # Name und Titel des Absenders
56 Style Name
57   Margin                Static
58   LatexType             Command
59   LatexName             Name
60   LeftMargin            TelephoneRowA:xx
61   LabelSep              xx
62   KeepEmpty             1
63   Align                 Block
64   AlignPossible         Block, Left
65   LabelType             Static
66   LabelString           "Name:"
67   # label font definition
68   LabelFont
69     Series              Bold
70     Shape               Italic
71     Color       Blue
72   EndFont
73 End
74
75 # Name und Spruch in der Fusszeile
76 Style NameRowA
77   Margin                Static
78   LatexType             Command
79   LatexName             NameZeileA
80   LeftMargin            TelephoneRowA:xx
81   LabelSep              xx
82   TopSep        1.5
83   KeepEmpty             1
84   Align                 Block
85   AlignPossible         Block, Left
86   LabelType             Static
87   LabelString           "NameRowA:"
88   # label font definition
89   LabelFont
90     Series              Bold
91     Shape               Italic
92     Color       Green
93   EndFont
94 End
95
96 Style NameRowB
97   Margin                Static
98   LatexType             Command
99   LatexName             NameZeileB
100   LeftMargin            TelephoneRowA:xx
101   LabelSep              xx
102   KeepEmpty             1
103   Align                 Block
104   AlignPossible         Block, Left
105   LabelType             Static
106   LabelString           "NameRowB:"
107   # label font definition
108   LabelFont
109     Series              Bold
110     Shape               Italic
111     Color       Green
112   EndFont
113 End
114
115 Style NameRowC
116   Margin                Static
117   LatexType             Command
118   LatexName             NameZeileC
119   LeftMargin            TelephoneRowA:xx
120   LabelSep              xx
121   KeepEmpty             1
122   Align                 Block
123   AlignPossible         Block, Left
124   LabelType             Static
125   LabelString           "NameRowC:"
126   # label font definition
127   LabelFont
128     Series              Bold
129     Shape               Italic
130     Color       Green
131   EndFont
132 End
133
134 Style NameRowD
135   Margin                Static
136   LatexType             Command
137   LatexName             NameZeileD
138   LeftMargin            TelephoneRowA:xx
139   LabelSep              xx
140   KeepEmpty             1
141   Align                 Block
142   AlignPossible         Block, Left
143   LabelType             Static
144   LabelString           "NameRowD:"
145   # label font definition
146   LabelFont
147     Series              Bold
148     Shape               Italic
149     Color       Green
150   EndFont
151 End
152
153 Style NameRowE
154   Margin                Static
155   LatexType             Command
156   LatexName             NameZeileE
157   LeftMargin            TelephoneRowA:xx
158   LabelSep              xx
159   KeepEmpty             1
160   Align                 Block
161   AlignPossible         Block, Left
162   LabelType             Static
163   LabelString           "NameRowE:"
164   # label font definition
165   LabelFont
166     Series              Bold
167     Shape               Italic
168     Color       Green
169   EndFont
170 End
171
172 Style NameRowF
173   Margin                Static
174   LatexType             Command
175   LatexName             NameZeileF
176   LeftMargin            TelephoneRowA:xx
177   LabelSep              xx
178   KeepEmpty             1
179   Align                 Block
180   AlignPossible         Block, Left
181   LabelType             Static
182   LabelString           "NameRowF:"
183   # label font definition
184   LabelFont
185     Series              Bold
186     Shape               Italic
187     Color       Green
188   EndFont
189 End
190
191 Style NameRowG
192   Margin                Static
193   LatexType             Command
194   LatexName             NameZeileG
195   LeftMargin            TelephoneRowA:xx
196   LabelSep              xx
197   KeepEmpty             1
198   Align                 Block
199   AlignPossible         Block, Left
200   LabelType             Static
201   LabelString           "NameRowG:"
202   # label font definition
203   LabelFont
204     Series              Bold
205     Shape               Italic
206     Color       Green
207   EndFont
208 End
209
210
211 # Unterschrift des Absenders
212 Style Signature
213   Margin                Static
214   LatexType             Command
215   LatexName             Unterschrift
216   LeftMargin            TelephoneRowA:xx
217   LabelSep              xx
218   KeepEmpty             1
219   Align                 Block
220   AlignPossible         Block, Left
221   LabelType             Static
222   LabelString           "Signature:"
223   # label font definition
224   LabelFont
225     Series              Bold
226     Shape               Italic
227     Color               Blue
228   EndFont
229 End
230
231 Style AddressRowA
232   Margin                Static
233   LatexType             Command
234   LatexName             AdressZeileA
235   LeftMargin            TelephoneRowA:xx
236   TopSep        1.5
237   LabelSep              xx
238   KeepEmpty             1
239   Align                 Block
240   AlignPossible         Block, Left
241   LabelType             Static
242   LabelString           "AddressRowA:"
243   # label font definition
244   LabelFont
245     Series              Bold
246     Shape               Italic
247     Color       Green
248   EndFont
249 End
250
251 Style AddressRowB
252   Margin                Static
253   LatexType             Command
254   LatexName             AdressZeileB
255   LeftMargin            TelephoneRowA:xx
256   LabelSep              xx
257   KeepEmpty             1
258   Align                 Block
259   AlignPossible         Block, Left
260   LabelType             Static
261   LabelString           "AddressRowB:"
262   # label font definition
263   LabelFont
264     Series              Bold
265     Shape               Italic
266     Color       Green
267   EndFont
268 End
269
270 Style AddressRowC
271   Margin                Static
272   LatexType             Command
273   LatexName             AdressZeileC
274   LeftMargin            TelephoneRowA:xx
275   LabelSep              xx
276   KeepEmpty             1
277   Align                 Block
278   AlignPossible         Block, Left
279   LabelType             Static
280   LabelString           "AddressRowC:"
281   # label font definition
282   LabelFont
283     Series              Bold
284     Shape               Italic
285     Color       Green
286   EndFont
287 End
288
289 Style AddressRowD
290   Margin                Static
291   LatexType             Command
292   LatexName             AdressZeileD
293   LeftMargin            TelephoneRowA:xx
294   LabelSep              xx
295   KeepEmpty             1
296   Align                 Block
297   AlignPossible         Block, Left
298   LabelType             Static
299   LabelString           "AddressRowD:"
300   # label font definition
301   LabelFont
302     Series              Bold
303     Shape               Italic
304     Color       Green
305   EndFont
306 End
307
308 Style AddressRowE
309   Margin                Static
310   LatexType             Command
311   LatexName             AdressZeileE
312   LeftMargin            TelephoneRowA:xx
313   LabelSep              xx
314   KeepEmpty             1
315   Align                 Block
316   AlignPossible         Block, Left
317   LabelType             Static
318   LabelString           "AddressRowE:"
319   # label font definition
320   LabelFont
321     Series              Bold
322     Shape               Italic
323     Color       Green
324   EndFont
325 End
326
327 Style AddressRowF
328   Margin                Static
329   LatexType             Command
330   LatexName             AdressZeileF
331   LeftMargin            TelephoneRowA:xx
332   LabelSep              xx
333   KeepEmpty             1
334   Align                 Block
335   AlignPossible         Block, Left
336   LabelType             Static
337   LabelString           "AddressRowF:"
338   # label font definition
339   LabelFont
340     Series              Bold
341     Shape               Italic
342     Color       Green
343   EndFont
344 End
345
346 Style TelephoneRowA
347   Margin                Static
348   LatexType             Command
349   LatexName             TelefonZeileA
350   LeftMargin            TelephoneRowA:xx
351   TopSep        1.5
352   LabelSep              xx
353   KeepEmpty             1
354   Align                 Block
355   AlignPossible         Block, Left
356   LabelType             Static
357   LabelString           "TelephoneRowA:"
358   # label font definition
359   LabelFont
360     Series              Bold
361     Shape               Italic
362     Color       Green
363   EndFont
364 End
365
366 Style TelephoneRowB
367   Margin                Static
368   LatexType             Command
369   LatexName             TelefonZeileB
370   LeftMargin            TelephoneRowA:xx
371   LabelSep              xx
372   KeepEmpty             1
373   Align                 Block
374   AlignPossible         Block, Left
375   LabelType             Static
376   LabelString           "TelephoneRowB:"
377   # label font definition
378   LabelFont
379     Series              Bold
380     Shape               Italic
381     Color       Green
382   EndFont
383 End
384
385 Style TelephoneRowC
386   Margin                Static
387   LatexType             Command
388   LatexName             TelefonZeileC
389   LeftMargin            TelephoneRowA:xx
390   LabelSep              xx
391   KeepEmpty             1
392   Align                 Block
393   AlignPossible         Block, Left
394   LabelType             Static
395   LabelString           "TelephoneRowC:"
396   # label font definition
397   LabelFont
398     Series              Bold
399     Shape               Italic
400     Color       Green
401   EndFont
402 End
403
404 Style TelephoneRowD
405   Margin                Static
406   LatexType             Command
407   LatexName             TelefonZeileD
408   LeftMargin            TelephoneRowA:xx
409   LabelSep              xx
410   KeepEmpty             1
411   Align                 Block
412   AlignPossible         Block, Left
413   LabelType             Static
414   LabelString           "TelephoneRowD:"
415   # label font definition
416   LabelFont
417     Series              Bold
418     Shape               Italic
419     Color       Green
420   EndFont
421 End
422
423 Style TelephoneRowE
424   Margin                Static
425   LatexType             Command
426   LatexName             TelefonZeileE
427   LeftMargin            TelephoneRowA:xx
428   LabelSep              xx
429   KeepEmpty             1
430   Align                 Block
431   AlignPossible         Block, Left
432   LabelType             Static
433   LabelString           "TelephoneRowE:"
434   # label font definition
435   LabelFont
436     Series              Bold
437     Shape               Italic
438     Color       Green
439   EndFont
440 End
441
442 Style TelephoneRowF
443   Margin                Static
444   LatexType             Command
445   LatexName             TelefonZeileF
446   LeftMargin            TelephoneRowA:xx
447   LabelSep              xx
448   KeepEmpty             1
449   Align                 Block
450   AlignPossible         Block, Left
451   LabelType             Static
452   LabelString           "TelephoneRowF:"
453   # label font definition
454   LabelFont
455     Series              Bold
456     Shape               Italic
457     Color       Green
458   EndFont
459 End
460
461 Style InternetRowA
462   Margin                Static
463   LatexType             Command
464   LatexName             InternetZeileA
465   LeftMargin            TelephoneRowA:xx
466   TopSep        1.5
467   LabelSep              xx
468   KeepEmpty             1
469   Align                 Block
470   AlignPossible         Block, Left
471   LabelType             Static
472   LabelString           "InternetRowA:"
473   # label font definition
474   LabelFont
475     Series              Bold
476     Shape               Italic
477     Color       Green
478   EndFont
479 End
480
481 Style InternetRowB
482   Margin                Static
483   LatexType             Command
484   LatexName             InternetZeileB
485   LeftMargin            TelephoneRowA:xx
486   LabelSep              xx
487   KeepEmpty             1
488   Align                 Block
489   AlignPossible         Block, Left
490   LabelType             Static
491   LabelString           "InternetRowB:"
492   # label font definition
493   LabelFont
494     Series              Bold
495     Shape               Italic
496     Color       Green
497   EndFont
498 End
499
500 Style InternetRowC
501   Margin                Static
502   LatexType             Command
503   LatexName             InternetZeileC
504   LeftMargin            TelephoneRowA:xx
505   LabelSep              xx
506   KeepEmpty             1
507   Align                 Block
508   AlignPossible         Block, Left
509   LabelType             Static
510   LabelString           "InternetRowC:"
511   # label font definition
512   LabelFont
513     Series              Bold
514     Shape               Italic
515     Color       Green
516   EndFont
517 End
518
519 Style InternetRowD
520   Margin                Static
521   LatexType             Command
522   LatexName             InternetZeileD
523   LeftMargin            TelephoneRowA:xx
524   LabelSep              xx
525   KeepEmpty             1
526   Align                 Block
527   AlignPossible         Block, Left
528   LabelType             Static
529   LabelString           "InternetRowD:"
530   # label font definition
531   LabelFont
532     Series              Bold
533     Shape               Italic
534     Color       Green
535   EndFont
536 End
537
538 Style InternetRowE
539   Margin                Static
540   LatexType             Command
541   LatexName             InternetZeileE
542   LeftMargin            TelephoneRowA:xx
543   LabelSep              xx
544   KeepEmpty             1
545   Align                 Block
546   AlignPossible         Block, Left
547   LabelType             Static
548   LabelString           "InternetRowE:"
549   # label font definition
550   LabelFont
551     Series              Bold
552     Shape               Italic
553     Color       Green
554   EndFont
555 End
556
557 Style InternetRowF
558   Margin                Static
559   LatexType             Command
560   LatexName             InternetZeileF
561   LeftMargin            TelephoneRowA:xx
562   LabelSep              xx
563   KeepEmpty             1
564   Align                 Block
565   AlignPossible         Block, Left
566   LabelType             Static
567   LabelString           "InternetRowF:"
568   # label font definition
569   LabelFont
570     Series              Bold
571     Shape               Italic
572     Color       Green
573   EndFont
574 End
575
576 Style BankRowA
577   Margin                Static
578   LatexType             Command
579   LatexName             BankZeileA
580   LeftMargin            TelephoneRowA:xx
581   TopSep        1.5
582   LabelSep              xx
583   KeepEmpty             1
584   Align                 Block
585   AlignPossible         Block, Left
586   LabelType             Static
587   LabelString           "BankRowA:"
588   # label font definition
589   LabelFont
590     Series              Bold
591     Shape               Italic
592     Color       Green
593   EndFont
594 End
595
596 Style BankRowB
597   Margin                Static
598   LatexType             Command
599   LatexName             BankZeileB
600   LeftMargin            TelephoneRowA:xx
601   LabelSep              xx
602   KeepEmpty             1
603   Align                 Block
604   AlignPossible         Block, Left
605   LabelType             Static
606   LabelString           "BankRowB:"
607   # label font definition
608   LabelFont
609     Series              Bold
610     Shape               Italic
611     Color       Green
612   EndFont
613 End
614
615 Style BankRowC
616   Margin                Static
617   LatexType             Command
618   LatexName             BankZeileC
619   LeftMargin            TelephoneRowA:xx
620   LabelSep              xx
621   KeepEmpty             1
622   Align                 Block
623   AlignPossible         Block, Left
624   LabelType             Static
625   LabelString           "BankRowC:"
626   # label font definition
627   LabelFont
628     Series              Bold
629     Shape               Italic
630     Color       Green
631   EndFont
632 End
633
634 Style BankRowD
635   Margin                Static
636   LatexType             Command
637   LatexName             BankZeileD
638   LeftMargin            TelephoneRowA:xx
639   LabelSep              xx
640   KeepEmpty             1
641   Align                 Block
642   AlignPossible         Block, Left
643   LabelType             Static
644   LabelString           "BankRowD:"
645   # label font definition
646   LabelFont
647     Series              Bold
648     Shape               Italic
649     Color       Green
650   EndFont
651 End
652
653 Style BankRowE
654   Margin                Static
655   LatexType             Command
656   LatexName             BankZeileE
657   LeftMargin            TelephoneRowA:xx
658   LabelSep              xx
659   KeepEmpty             1
660   Align                 Block
661   AlignPossible         Block, Left
662   LabelType             Static
663   LabelString           "BankRowE:"
664   # label font definition
665   LabelFont
666     Series              Bold
667     Shape               Italic
668     Color       Green
669   EndFont
670 End
671
672 Style BankRowF
673   Margin                Static
674   LatexType             Command
675   LatexName             BankZeileF
676   LeftMargin            TelephoneRowA:xx
677   LabelSep              xx
678   KeepEmpty             1
679   Align                 Block
680   AlignPossible         Block, Left
681   LabelType             Static
682   LabelString           "BankRowF:"
683   # label font definition
684   LabelFont
685     Series              Bold
686     Shape               Italic
687     Color       Green
688   EndFont
689 End
690
691
692
693 # RetourAdresse
694 Style ReturnAddress
695   Margin                Static
696   LatexType             Command
697   LatexName             RetourAdresse
698   LeftMargin            TelephoneRowA:xx
699   LabelSep              xx
700   KeepEmpty             1
701   Align                 Block
702   AlignPossible         Block, Left
703   LabelType             Static
704   LabelString           "ReturnAddress:"
705   # label font definition
706   LabelFont
707     Series              Bold
708     Shape               Italic
709     Color               Blue
710   EndFont
711 End
712
713
714 # MeinZeichen
715 Style MyRef
716   Margin                Static
717   LatexType             Command
718   LatexName             MeinZeichen
719   LeftMargin            TelephoneRowA:xx
720   LabelSep              xx
721   KeepEmpty             1
722   Align                 Block
723   AlignPossible         Block, Left
724   LabelType             Static
725   LabelString           "MyRef:"
726   # label font definition
727   LabelFont
728     Series              Bold
729     Shape               Italic
730     Color               Blue
731   EndFont
732 End
733
734 # IhrZeichen
735 Style YourRef
736   Margin                Static
737   LatexType             Command
738   LatexName             IhrZeichen
739   LeftMargin            TelephoneRowA:xx
740   LabelSep              xx
741   KeepEmpty             1
742   KeepEmpty             1
743   Align                 Block
744   AlignPossible         Block, Left
745   LabelType             Static
746   LabelString           "YourRef:"
747   # label font definition
748   LabelFont
749     Series              Bold
750     Shape               Italic
751     Color               Blue
752   EndFont
753 End
754
755
756 # IhrSchreiben
757 Style YourMail
758   Margin                Static
759   LatexType             Command
760   LatexName             IhrSchreiben
761   LeftMargin            TelephoneRowA:xx
762   LabelSep              xx
763   KeepEmpty             1
764   Align                 Block
765   AlignPossible         Block, Left
766   LabelType             Static
767   LabelString           "YourMail:"
768   # label font definition
769   LabelFont
770     Series              Bold
771     Shape               Italic
772     Color               Blue
773   EndFont
774 End
775
776
777 # Postvermerk
778 Style PostalComment
779   Margin                Static
780   LatexType             Command
781   LatexName             Postvermerk
782   LeftMargin            TelephoneRowA:xx
783   LabelSep              xx
784   KeepEmpty             1
785   Align                 Block
786   AlignPossible         Block, Left
787   LabelType             Static
788   LabelString           "PostalComment:"
789   # label font definition
790   LabelFont
791     Series              Bold
792     Shape               Italic
793     Color               Blue
794   EndFont
795 End
796
797
798 # Adresse
799 Style Address
800   Margin                Static
801   LatexType             Command
802   LatexName             Adresse
803   LeftMargin            TelephoneRowA:xx
804   LabelSep              xx
805   TopSep                1.5
806   KeepEmpty             1
807   Align                 Block
808   AlignPossible         Block, Left
809   LabelType             Static
810   LabelString           "Address:"
811   # label font definition
812   LabelFont
813     Series              Bold
814     Shape               Italic
815     Color               Blue
816   EndFont
817 End
818
819
820 # Data style definition
821 Style Date
822   Margin                Static
823   LatexType             Command
824   LatexName             Datum
825   LeftMargin            TelephoneRowA:xx
826   LabelSep              xx
827   KeepEmpty             1
828   Align                 Left
829   AlignPossible         Block, Left
830   LabelType             Static
831   LabelString           "Date:"
832   # label font definition
833   LabelFont
834     Series              Bold
835     Shape               Italic
836     Color               Blue
837   EndFont
838 End
839
840 # Oggetto style definition
841 Style Reference
842   Margin                Static
843   LatexType             Command
844   LatexName             Betreff
845   LeftMargin            TelephoneRowA:xx
846   LabelSep              xx
847   TopSep                1.5
848   ParSep                0.4
849   KeepEmpty             1
850   Align                 Block
851   AlignPossible         Block, Left
852   LabelType             Static
853   LabelString           "Reference:"
854   # label font definition
855   LabelFont
856     Series              Bold
857     Shape               Italic
858     Color               Blue
859   EndFont
860 End
861
862
863 # Opening style definition
864 Style Opening
865   Margin                Static
866   LatexType             Command
867   LatexName             Anrede
868   KeepEmpty             1
869   LeftMargin            TelephoneRowA:xx
870   LabelSep              xx
871   TopSep                1.5
872   ParSep                0.4
873   Align                 Block
874   AlignPossible         Block, Left
875   LabelType             Static
876   LabelString           "Opening:"
877
878   # label font definition
879   LabelFont
880     Series              Bold
881     Shape               Italic
882     Color               Blue
883   EndFont
884 End
885
886
887
888 # Anlagen style definition
889 Style Encl.
890   Margin                Static
891   LatexType             Command
892   LatexName             Anlagen
893   KeepEmpty             1
894   LeftMargin            TelephoneRowA:xx
895   LabelSep              xx
896   ParSep                0.4
897   Align                 Block
898   AlignPossible         Block, Left
899   LabelType             Static
900   LabelString           "Encl.:"
901
902   # label font definition
903   LabelFont
904     Series              Bold
905     Shape               Italic
906     Color               Blue
907   EndFont
908 End
909
910
911 # Verteiler style definition
912 Style cc
913   Margin                Static
914   LatexType             Command
915   LatexName             Verteiler
916   KeepEmpty             1
917   LeftMargin            TelephoneRowA:xx
918   LabelSep              xx
919   ParSep                0.4
920   Align                 Block
921   AlignPossible         Block, Left
922   LabelType             Static
923   LabelString           "cc:"
924
925   # label font definition
926   LabelFont
927     Series              Bold
928     Shape               Italic
929     Color               Blue
930   EndFont
931 End
932
933 # Gruss style definition
934 Style Closing
935   Margin                Static
936   LatexType             Command
937   LatexName             LyxGruss
938   LeftMargin            TelephoneRowA:xx
939   LabelSep              xx
940   BottomSep             1.5
941   ParSep                0.4
942   KeepEmpty             1
943   Align                 Block
944   AlignPossible         Block, Left
945   LabelType             Static
946   LabelString           "Closing:"
947
948   # label font definition
949   LabelFont
950     Series              Bold
951     Shape               Italic
952     Color               Blue
953   EndFont
954
955   #define the environment lyxGruss
956   Preamble
957   \newcommand{\LyxGruss}[1]
958     { \Gruss{#1}{0.5cm} }
959   EndPreamble
960
961
962 End
963
964
965
966 Input stdfloats.inc
967 Input stdcounters.inc
968
969
970
971
972
973 # Input lyxmacros.inc
974
975 # Remove some unwanted styles.
976 # NoStyle               Right_Address
977 # NoStyle               Address