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