Attached the diffs against current CVS and the new layout and example file. If you want, apply them for LyX 1.3.x and/or LyX 1.4.x.

Argh I forgot them again. Now attached.

sorry uwe
--- g-brief2CVS.layout	Fri Jul 08 15:47:39 2005
+++ g-brief2.layout	Fri Jul 08 16:04:45 2005
@@ -2,20 +2,18 @@
 #  \DeclareLaTeXClass[g-brief2]{letter (g-brief2)}
 # Letter textclass definition file.
 
-# Author : Felix Kurth <[EMAIL PROTECTED]> based on work from
+# Author : Felix Kurth <[EMAIL PROTECTED]> based on work from 
 #          Thomas Hartkens <[EMAIL PROTECTED]>
 
 # Input general definitions
 # Input stdletter.inc
 
 
-
-
 # General textclass parameters
 Columns			1
 Sides			1
 PageStyle		Empty
-DefaultStyle	Letter
+DefaultStyle	Standard
 
 # This is just to show how to declare the default font.
 # The defaults are exactly those shown here.
@@ -27,13 +25,20 @@
   Color			None
 EndFont
 
-
+# Standard style definition
+Style Standard
+  LatexName             dummy
+  ParIndent             MM
+  ParSkip               0.4
+  AlignPossible         Block, Left, Right, Center
+END
 
 # Brieftext style definition
 Style Letter
   Margin  		Static
   LatexType 		Environment
   LatexName 		g-brief
+  TopSep		1
   ParSkip 		0.4
   KeepEmpty		1
   Align 		Block
@@ -47,10 +52,6 @@
   EndFont
 End
 
-
-
-
-
 # Name und Titel des Absenders
 Style Name
   Margin		Static
@@ -73,12 +74,11 @@
 
 # Name und Spruch in der Fusszeile
 Style NameRowA
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		NameZeileA
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
-  TopSep        1.5
+  TopSep  		1.5
   KeepEmpty		1
   Align 		Block
   AlignPossible 	Block, Left
@@ -93,10 +93,9 @@
 End
 
 Style NameRowB
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		NameZeileB
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -112,10 +111,9 @@
 End
 
 Style NameRowC
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		NameZeileC
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -131,10 +129,9 @@
 End
 
 Style NameRowD
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		NameZeileD
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -150,10 +147,9 @@
 End
 
 Style NameRowE
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		NameZeileE
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -169,10 +165,9 @@
 End
 
 Style NameRowF
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		NameZeileF
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -188,10 +183,9 @@
 End
 
 Style NameRowG
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		NameZeileG
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -207,32 +201,11 @@
 End
 
 
-# Unterschrift des Absenders
-Style Signature
-  Margin		Static
-  LatexType		Command
-  LatexName		Unterschrift
-  LeftMargin		xxxxxxxxxx::xx
-  LabelSep		xx
-  KeepEmpty		1
-  Align 		Block
-  AlignPossible 	Block, Left
-  LabelType		Static
-  LabelString		"Signature:"
-  # label font definition
-  LabelFont
-    Series		Bold
-    Shape		Italic
-    Color               Blue
-  EndFont
-End
-
-Style AddressRowA
-  Margin		Static
+Style AdressRowA
+  Margin		Dynamic
   LatexType		Command
   LatexName		AdressZeileA
-  LeftMargin		xxxxxxxxxx::xx
-  TopSep        1.5
+  TopSep        	1
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -247,11 +220,10 @@
   EndFont
 End
 
-Style AddressRowB
-  Margin		Static
+Style AdressRowB
+  Margin		Dynamic
   LatexType		Command
   LatexName		AdressZeileB
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -266,11 +238,10 @@
   EndFont
 End
 
-Style AddressRowC
-  Margin		Static
+Style AdressRowC
+  Margin		Dynamic
   LatexType		Command
   LatexName		AdressZeileC
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -285,11 +256,10 @@
   EndFont
 End
 
-Style AddressRowD
-  Margin		Static
+Style AdressRowD
+  Margin		Dynamic
   LatexType		Command
   LatexName		AdressZeileD
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -304,11 +274,10 @@
   EndFont
 End
 
-Style AddressRowE
-  Margin		Static
+Style AdressRowE
+  Margin		Dynamic
   LatexType		Command
   LatexName		AdressZeileE
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -323,11 +292,10 @@
   EndFont
 End
 
-Style AddressRowF
-  Margin		Static
+Style AdressRowF
+  Margin		Dynamic
   LatexType		Command
   LatexName		AdressZeileF
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -343,11 +311,10 @@
 End
 
 Style TelephoneRowA
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		TelefonZeileA
-  LeftMargin		xxxxxxxxxx::xx
-  TopSep        1.5
+  TopSep        	1
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -363,10 +330,9 @@
 End
 
 Style TelephoneRowB
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		TelefonZeileB
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -382,10 +348,9 @@
 End
 
 Style TelephoneRowC
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		TelefonZeileC
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -401,10 +366,9 @@
 End
 
 Style TelephoneRowD
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		TelefonZeileD
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -420,10 +384,9 @@
 End
 
 Style TelephoneRowE
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		TelefonZeileE
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -439,10 +402,9 @@
 End
 
 Style TelephoneRowF
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		TelefonZeileF
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -458,11 +420,10 @@
 End
 
 Style InternetRowA
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		InternetZeileA
-  LeftMargin		xxxxxxxxxx::xx
-  TopSep        1.5
+  TopSep        	1
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -478,10 +439,9 @@
 End
 
 Style InternetRowB
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		InternetZeileB
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -495,12 +455,10 @@
     Color       Green
   EndFont
 End
-
 Style InternetRowC
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		InternetZeileC
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -514,12 +472,10 @@
     Color       Green
   EndFont
 End
-
 Style InternetRowD
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		InternetZeileD
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -533,12 +489,10 @@
     Color       Green
   EndFont
 End
-
 Style InternetRowE
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		InternetZeileE
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -552,12 +506,10 @@
     Color       Green
   EndFont
 End
-
 Style InternetRowF
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		InternetZeileF
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -573,11 +525,10 @@
 End
 
 Style BankRowA
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		BankZeileA
-  LeftMargin		xxxxxxxxxx::xx
-  TopSep        1.5
+  TopSep        	1
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -593,10 +544,9 @@
 End
 
 Style BankRowB
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		BankZeileB
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -612,10 +562,9 @@
 End
 
 Style BankRowC
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		BankZeileC
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -631,10 +580,9 @@
 End
 
 Style BankRowD
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		BankZeileD
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -650,10 +598,9 @@
 End
 
 Style BankRowE
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		BankZeileE
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -669,10 +616,9 @@
 End
 
 Style BankRowF
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		BankZeileF
-  LeftMargin		xxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -688,13 +634,12 @@
 End
 
 
-
 # RetourAdresse
 Style ReturnAddress
-  Margin		Static
+  Margin		Dynamic
   LatexType		Command
   LatexName		RetourAdresse
-  LeftMargin		xxxxxxxxxx::xx
+  TopSep        	1.5
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
@@ -709,19 +654,17 @@
   EndFont
 End
 
-
-# MeinZeichen
-Style MyRef
-  Margin		Static
+# Postvermerk
+Style PostalComment
+  Margin		Dynamic
   LatexType		Command
-  LatexName		MeinZeichen
-  LeftMargin		xxxxxxxxxx::xx
+  LatexName		Postvermerk
   LabelSep		xx
   KeepEmpty		1
   Align 		Block
   AlignPossible 	Block, Left
   LabelType		Static
-  LabelString		"MyRef:"
+  LabelString		"PostalComment:"
   # label font definition
   LabelFont
     Series		Bold
@@ -729,20 +672,20 @@
     Color               Blue
   EndFont
 End
-
-# IhrZeichen
-Style YourRef
+   
+# Adresse
+Style Address
   Margin		Static
   LatexType		Command
-  LatexName		IhrZeichen
-  LeftMargin		xxxxxxxxxx::xx
+  LatexName		Adresse
+  LeftMargin		xxxxxxxxxxxx::xx
   LabelSep		xx
-  KeepEmpty		1
+  TopSep		1
   KeepEmpty		1
   Align 		Block
   AlignPossible 	Block, Left
   LabelType		Static
-  LabelString		"YourRef:"
+  LabelString		"Address:"
   # label font definition
   LabelFont
     Series		Bold
@@ -751,19 +694,19 @@
   EndFont
 End
 
-
-# IhrSchreiben
-Style YourMail
+# MeinZeichen
+Style MyRef
   Margin		Static
   LatexType		Command
-  LatexName		IhrSchreiben
-  LeftMargin		xxxxxxxxxx::xx
+  LatexName		MeinZeichen
+  LeftMargin		xxxxxxxxxxxx::xx
   LabelSep		xx
+  TopSep		1
   KeepEmpty		1
   Align 		Block
   AlignPossible 	Block, Left
   LabelType		Static
-  LabelString		"YourMail:"
+  LabelString		"MyRef:"
   # label font definition
   LabelFont
     Series		Bold
@@ -772,19 +715,19 @@
   EndFont
 End
 
-
-# Postvermerk
-Style PostalComment
+# IhrZeichen
+Style YourRef
   Margin		Static
   LatexType		Command
-  LatexName		Postvermerk
-  LeftMargin		xxxxxxxxxx::xx
+  LatexName		IhrZeichen
+  LeftMargin		xxxxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
+  KeepEmpty		1
   Align 		Block
   AlignPossible 	Block, Left
   LabelType		Static
-  LabelString		"PostalComment:"
+  LabelString		"YourRef:"
   # label font definition
   LabelFont
     Series		Bold
@@ -794,19 +737,18 @@
 End
 
 
-# Adresse
-Style Address
+# IhrSchreiben
+Style YourMail
   Margin		Static
   LatexType		Command
-  LatexName		Adresse
-  LeftMargin		xxxxxxxxxx::xx
+  LatexName		IhrSchreiben
+  LeftMargin		xxxxxxxxxxxx::xx
   LabelSep		xx
-  TopSep		1.5
   KeepEmpty		1
   Align 		Block
   AlignPossible 	Block, Left
   LabelType		Static
-  LabelString		"Address:"
+  LabelString		"YourMail:"
   # label font definition
   LabelFont
     Series		Bold
@@ -821,7 +763,7 @@
   Margin  		Static
   LatexType 		Command
   LatexName 		Datum
-  LeftMargin		xxxxxxxxxx::xx
+  LeftMargin		xxxxxxxxxxxx::xx
   LabelSep		xx
   KeepEmpty		1
   Align 		Left
@@ -841,9 +783,9 @@
   Margin  		Static
   LatexType 		Command
   LatexName 		Betreff
-  LeftMargin		xxxxxxxxxx::xx
+  LeftMargin		xxxxxxxxxxxx::xx
   LabelSep		xx
-  TopSep		1.5
+  TopSep		1
   ParSep		0.4
   KeepEmpty		1
   Align 		Block
@@ -865,15 +807,14 @@
   LatexType 		Command
   LatexName 		Anrede
   KeepEmpty		1
-  LeftMargin		xxxxxxxxxx::xx
+  LeftMargin		xxxxxxxxxxxx::xx
   LabelSep		xx
-  TopSep		1.5
+  TopSep		1
   ParSep		0.4
   Align 		Block
   AlignPossible 	Block, Left
   LabelType		Static
   LabelString		"Opening:"
-
   # label font definition
   LabelFont
     Series		Bold
@@ -882,22 +823,44 @@
   EndFont
 End
 
-
-
-# Anlagen style definition
-Style Encl.
+# Gruss style definition
+Style Closing
   Margin  		Static
   LatexType 		Command
-  LatexName 		Anlagen
-  KeepEmpty		1
-  LeftMargin		xxxxxxxxxx::xx
+  LatexName 		LyxGruss
+  LeftMargin		xxxxxxxxxxxx::xx
   LabelSep		xx
   ParSep		0.4
+  KeepEmpty		1
   Align 		Block
   AlignPossible 	Block, Left
   LabelType		Static
-  LabelString		"Encl.:"
+  LabelString		"Closing:"
+  # label font definition
+  LabelFont
+    Series		Bold
+    Shape		Italic
+    Color               Blue
+  EndFont
+  #define the environment lyxGruss
+  Preamble
+  \newcommand{\LyxGruss}[1]
+    { \Gruss{#1}{0.5cm} }
+  EndPreamble
+End
 
+# Unterschrift des Absenders
+Style Signature
+  Margin		Static
+  LatexType		Command
+  LatexName		Unterschrift
+  LeftMargin		xxxxxxxxxxxx::xx
+  LabelSep		xx
+  KeepEmpty		1
+  Align 		Block
+  AlignPossible 	Block, Left
+  LabelType		Static
+  LabelString		"Signature:"
   # label font definition
   LabelFont
     Series		Bold
@@ -907,20 +870,19 @@
 End
 
 
-# Verteiler style definition
-Style cc
+# Anlagen style definition
+Style Encl.
   Margin  		Static
   LatexType 		Command
-  LatexName 		Verteiler
+  LatexName 		Anlagen
   KeepEmpty		1
-  LeftMargin		xxxxxxxxxx::xx
+  LeftMargin		xxxxxxxxxxxx::xx
   LabelSep		xx
   ParSep		0.4
   Align 		Block
   AlignPossible 	Block, Left
   LabelType		Static
-  LabelString		"cc:"
-
+  LabelString		"Encl.:"
   # label font definition
   LabelFont
     Series		Bold
@@ -929,43 +891,32 @@
   EndFont
 End
 
-# Gruss style definition
-Style Closing
+
+# Verteiler style definition
+Style cc
   Margin  		Static
   LatexType 		Command
-  LatexName 		LyxGruss
-  LeftMargin		xxxxxxxxxx::xx
+  LatexName 		Verteiler
+  KeepEmpty		1
+  LeftMargin		xxxxxxxxxxxx::xx
   LabelSep		xx
-  BottomSep		1.5
   ParSep		0.4
-  KeepEmpty		1
   Align 		Block
   AlignPossible 	Block, Left
   LabelType		Static
-  LabelString		"Closing:"
-
+  LabelString		"cc:"
   # label font definition
   LabelFont
     Series		Bold
     Shape		Italic
     Color               Blue
   EndFont
-
-  #define the environment lyxGruss
-  Preamble
-  \newcommand{\LyxGruss}[1]
-    { \Gruss{#1}{0.5cm} }
-  EndPreamble
-
-
 End
 
 
 
 Input stdfloats.inc
 Input stdcounters.inc
-
-
 
 
 

Attachment: g-brief2.lyx
Description: application/lyx

--- g-brief2CVS.lyx	Fri Jul 08 15:46:57 2005
+++ g-brief2.lyx	Fri Jul 08 16:09:03 2005
@@ -2,214 +2,181 @@
 \lyxformat 221
 \textclass g-brief2
 \begin_preamble
-\lochermarke
+%\fenstermarken
 \faltmarken
-\fenstermarken
-%\trennlinien
+%\lochermarke
+\trennlinien
 %\unserzeichen
 \end_preamble
-\language american
+\language english
 \inputencoding auto
-\fontscheme default
+\fontscheme palatino
 \graphics default
-\paperfontsize default
+\paperfontsize 12
 \spacing single 
-\papersize Default
+\papersize a4paper
 \paperpackage a4
 \use_geometry 0
 \use_amsmath 0
 \use_natbib 0
 \use_numerical_citations 0
 \paperorientation portrait
-\secnumdepth 3
-\tocdepth 3
-\paragraph_separation indent
+\secnumdepth 4
+\tocdepth 4
+\paragraph_separation skip
 \defskip medskip
-\quotes_language swedish
+\quotes_language german
 \quotes_times 2
 \papercolumns 1
 \papersides 1
-\paperpagestyle default
+\paperpagestyle empty
 
 \layout Name
 
-Otto Raffzahn
-\layout Signature
-
-Otto Raffzahn
-\layout ReturnAddress
-
-Otto Raffzahn 
-\begin_inset ERT
-status Collapsed
-
-\layout Letter
-$
-\backslash 
-cdot$
-\end_inset 
-
- Finsterweg 13 
-\begin_inset ERT
-status Collapsed
-
-\layout Letter
-$
-\backslash 
-cdot$
-\end_inset 
-
- Tiefeschlucht
+Place for corporate-name or logo
 \layout NameRowA
 
-
-\series bold 
-Otto Raffzahn
+Bob Testman
 \layout NameRowB
 
 \layout NameRowC
 
-Mietwucherer
+Exampletester
 \layout NameRowD
 
-Menschenfreund
 \layout NameRowE
 
-& Gierschlund
 \layout NameRowF
 
-\layout AddressRowA
+\layout NameRowG
 
-Wiesenacker 25a
-\layout AddressRowB
+\layout AdressRowA
 
-99533 Weitewelt
-\layout NameRowC
+Example Corporation
+\layout AdressRowB
 
-\layout NameRowD
+\layout AdressRowC
 
-Inselblick 12
-\layout NameRowE
+Institut for example design
+\layout AdressRowD
 
-23213 Am Meer
-\layout NameRowF
+Examplestreet 103
+\layout AdressRowE
+
+10001 Testburg
+\layout AdressRowF
 
 \layout TelephoneRowA
 
-Festnetz: +49 000 0000000
+Mobile: 0001/ 123 4569
 \layout TelephoneRowB
 
-Freecall: +49 800 0000000
+Fax: 0001/ 123 4567
 \layout TelephoneRowC
 
-Mobil: +49 171 00000000
 \layout TelephoneRowD
 
-Fax: +49 0000 000-0000
 \layout TelephoneRowE
 
-\layout TelephoneRowF
-
 \layout InternetRowA
 
[EMAIL PROTECTED]
+http:/
+\begin_inset Formula $\!$
+\end_inset 
+
+/www.exampletest.xz
 \layout InternetRowB
 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
 \layout InternetRowC
 
[EMAIL PROTECTED]
 \layout InternetRowD
 
-http://www.example.com
 \layout InternetRowE
 
-http://www.example.net
 \layout InternetRowF
 
 \layout BankRowA
 
-Bankhaus Skrupellos & Co.
 \layout BankRowB
 
-BLZ: 000.000.00
 \layout BankRowC
 
-Konto: 000.000.000
 \layout BankRowD
 
 \layout BankRowE
 
 \layout BankRowF
 
+\layout ReturnAddress
+
+Example Corp.
+ 
+\begin_inset Formula $\cdot$
+\end_inset 
+
+ Examplestreet 103 
+\begin_inset Formula $\cdot$
+\end_inset 
+
+ 10001 Testburg
+\layout PostalComment
+
+Airmail
 \layout Address
 
-To
-\newline 
-Else Mittellos
+
+\size large 
+Cynthia Mustermann
 \newline 
-Finsterweg 12
+Musterstraße
 \newline 
-93456 Tiefeschlucht
-\layout Reference
 
-Testing Letterstyles
-\layout PostalComment
-
-REGISTERED LETTER
+\newline 
+01234 Musterstadt
+\newline 
+Germany
 \layout MyRef
 
-TH
+my ref
 \layout YourRef
 
-EM
+your ref
 \layout YourMail
 
-\layout Encl.
-
-\layout cc
-
+01/ 01 2004
 \layout Date
 
 
 \begin_inset ERT
 status Collapsed
 
-\layout Letter
+\layout Standard
 
 \backslash 
 today
 \end_inset 
 
 
+\layout Reference
+
+Reference
 \layout Opening
 
-Dear Mr.
- Example, 
+Ladies and gentlemen,
 \layout Closing
 
-Yours sincerely
-\layout Letter
-
-
-\begin_inset Note
-collapsed false
-
-\layout Letter
-
-More posibilities to customize your letter are available in:
-\layout Letter
+regards
+\layout Signature
 
-Format-\SpecialChar \menuseparator
-Document\SpecialChar \menuseparator
-Latex-Preamble.
-\layout Letter
+Bob Testman
+\layout Encl.
 
-\end_inset 
+Encl.
+\layout cc
 
-I am writing to ask whether you could send me any information about possibility
- of ...
+cc
 \layout Letter
 
-I would be very pleased if you could send me these informations.
+this is the letter text.
 \the_end
#% Do not delete he line below; configure depends on this
#  \DeclareLaTeXClass[g-brief2]{letter (g-brief2)}
# Letter textclass definition file.

# Author : Felix Kurth <[EMAIL PROTECTED]> based on work from 
#          Thomas Hartkens <[EMAIL PROTECTED]>

# Input general definitions
# Input stdletter.inc


# General textclass parameters
Columns                 1
Sides                   1
PageStyle               Empty
DefaultStyle    Standard

# This is just to show how to declare the default font.
# The defaults are exactly those shown here.
DefaultFont
  Family                Roman
  Series                Medium
  Shape                 Up
  Size                  Normal
  Color                 None
EndFont

# Standard style definition
Style Standard
  LatexName             dummy
  ParIndent             MM
  ParSkip               0.4
  AlignPossible         Block, Left, Right, Center
END

# Brieftext style definition
Style Letter
  Margin                Static
  LatexType             Environment
  LatexName             g-brief
  TopSep                1
  ParSkip               0.4
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left, Right, Center
  LabelType             Top_Environment
  LabelString           "Letter:"
  LabelFont
    Series              Bold
    Shape               Italic
    Color               Blue
  EndFont
End

# Name und Titel des Absenders
Style Name
  Margin                Static
  LatexType             Command
  LatexName             Name
  LeftMargin            xxxxxxxxxx::xx
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "Name:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Blue
  EndFont
End

# Name und Spruch in der Fusszeile
Style NameRowA
  Margin                Dynamic
  LatexType             Command
  LatexName             NameZeileA
  LabelSep              xx
  TopSep                1.5
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "NameRowA:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style NameRowB
  Margin                Dynamic
  LatexType             Command
  LatexName             NameZeileB
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "NameRowB:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style NameRowC
  Margin                Dynamic
  LatexType             Command
  LatexName             NameZeileC
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "NameRowC:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style NameRowD
  Margin                Dynamic
  LatexType             Command
  LatexName             NameZeileD
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "NameRowD:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style NameRowE
  Margin                Dynamic
  LatexType             Command
  LatexName             NameZeileE
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "NameRowE:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style NameRowF
  Margin                Dynamic
  LatexType             Command
  LatexName             NameZeileF
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "NameRowF:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style NameRowG
  Margin                Dynamic
  LatexType             Command
  LatexName             NameZeileG
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "NameRowG:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End


Style AdressRowA
  Margin                Dynamic
  LatexType             Command
  LatexName             AdressZeileA
  TopSep                1
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "AddressRowA:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style AdressRowB
  Margin                Dynamic
  LatexType             Command
  LatexName             AdressZeileB
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "AddressRowB:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style AdressRowC
  Margin                Dynamic
  LatexType             Command
  LatexName             AdressZeileC
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "AddressRowC:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style AdressRowD
  Margin                Dynamic
  LatexType             Command
  LatexName             AdressZeileD
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "AddressRowD:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style AdressRowE
  Margin                Dynamic
  LatexType             Command
  LatexName             AdressZeileE
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "AddressRowE:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style AdressRowF
  Margin                Dynamic
  LatexType             Command
  LatexName             AdressZeileF
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "AddressRowF:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style TelephoneRowA
  Margin                Dynamic
  LatexType             Command
  LatexName             TelefonZeileA
  TopSep                1
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "TelephoneRowA:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style TelephoneRowB
  Margin                Dynamic
  LatexType             Command
  LatexName             TelefonZeileB
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "TelephoneRowB:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style TelephoneRowC
  Margin                Dynamic
  LatexType             Command
  LatexName             TelefonZeileC
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "TelephoneRowC:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style TelephoneRowD
  Margin                Dynamic
  LatexType             Command
  LatexName             TelefonZeileD
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "TelephoneRowD:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style TelephoneRowE
  Margin                Dynamic
  LatexType             Command
  LatexName             TelefonZeileE
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "TelephoneRowE:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style TelephoneRowF
  Margin                Dynamic
  LatexType             Command
  LatexName             TelefonZeileF
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "TelephoneRowF:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style InternetRowA
  Margin                Dynamic
  LatexType             Command
  LatexName             InternetZeileA
  TopSep                1
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "InternetRowA:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style InternetRowB
  Margin                Dynamic
  LatexType             Command
  LatexName             InternetZeileB
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "InternetRowB:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End
Style InternetRowC
  Margin                Dynamic
  LatexType             Command
  LatexName             InternetZeileC
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "InternetRowC:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End
Style InternetRowD
  Margin                Dynamic
  LatexType             Command
  LatexName             InternetZeileD
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "InternetRowD:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End
Style InternetRowE
  Margin                Dynamic
  LatexType             Command
  LatexName             InternetZeileE
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "InternetRowE:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End
Style InternetRowF
  Margin                Dynamic
  LatexType             Command
  LatexName             InternetZeileF
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "InternetRowF:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style BankRowA
  Margin                Dynamic
  LatexType             Command
  LatexName             BankZeileA
  TopSep                1
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "BankRowA:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style BankRowB
  Margin                Dynamic
  LatexType             Command
  LatexName             BankZeileB
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "BankRowB:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style BankRowC
  Margin                Dynamic
  LatexType             Command
  LatexName             BankZeileC
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "BankRowC:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style BankRowD
  Margin                Dynamic
  LatexType             Command
  LatexName             BankZeileD
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "BankRowD:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style BankRowE
  Margin                Dynamic
  LatexType             Command
  LatexName             BankZeileE
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "BankRowE:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End

Style BankRowF
  Margin                Dynamic
  LatexType             Command
  LatexName             BankZeileF
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "BankRowF:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color       Green
  EndFont
End


# RetourAdresse
Style ReturnAddress
  Margin                Dynamic
  LatexType             Command
  LatexName             RetourAdresse
  TopSep                1.5
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "ReturnAddress:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color               Blue
  EndFont
End

# Postvermerk
Style PostalComment
  Margin                Dynamic
  LatexType             Command
  LatexName             Postvermerk
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "PostalComment:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color               Blue
  EndFont
End
   
# Adresse
Style Address
  Margin                Static
  LatexType             Command
  LatexName             Adresse
  LeftMargin            xxxxxxxxxxxx::xx
  LabelSep              xx
  TopSep                1
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "Address:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color               Blue
  EndFont
End

# MeinZeichen
Style MyRef
  Margin                Static
  LatexType             Command
  LatexName             MeinZeichen
  LeftMargin            xxxxxxxxxxxx::xx
  LabelSep              xx
  TopSep                1
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "MyRef:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color               Blue
  EndFont
End

# IhrZeichen
Style YourRef
  Margin                Static
  LatexType             Command
  LatexName             IhrZeichen
  LeftMargin            xxxxxxxxxxxx::xx
  LabelSep              xx
  KeepEmpty             1
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "YourRef:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color               Blue
  EndFont
End


# IhrSchreiben
Style YourMail
  Margin                Static
  LatexType             Command
  LatexName             IhrSchreiben
  LeftMargin            xxxxxxxxxxxx::xx
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "YourMail:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color               Blue
  EndFont
End


# Data style definition
Style Date
  Margin                Static
  LatexType             Command
  LatexName             Datum
  LeftMargin            xxxxxxxxxxxx::xx
  LabelSep              xx
  KeepEmpty             1
  Align                 Left
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "Date:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color               Blue
  EndFont
End

# Oggetto style definition
Style Reference
  Margin                Static
  LatexType             Command
  LatexName             Betreff
  LeftMargin            xxxxxxxxxxxx::xx
  LabelSep              xx
  TopSep                1
  ParSep                0.4
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "Reference:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color               Blue
  EndFont
End


# Opening style definition
Style Opening
  Margin                Static
  LatexType             Command
  LatexName             Anrede
  KeepEmpty             1
  LeftMargin            xxxxxxxxxxxx::xx
  LabelSep              xx
  TopSep                1
  ParSep                0.4
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "Opening:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color               Blue
  EndFont
End

# Gruss style definition
Style Closing
  Margin                Static
  LatexType             Command
  LatexName             LyxGruss
  LeftMargin            xxxxxxxxxxxx::xx
  LabelSep              xx
  ParSep                0.4
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "Closing:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color               Blue
  EndFont
  #define the environment lyxGruss
  Preamble
  \newcommand{\LyxGruss}[1]
    { \Gruss{#1}{0.5cm} }
  EndPreamble
End

# Unterschrift des Absenders
Style Signature
  Margin                Static
  LatexType             Command
  LatexName             Unterschrift
  LeftMargin            xxxxxxxxxxxx::xx
  LabelSep              xx
  KeepEmpty             1
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "Signature:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color               Blue
  EndFont
End


# Anlagen style definition
Style Encl.
  Margin                Static
  LatexType             Command
  LatexName             Anlagen
  KeepEmpty             1
  LeftMargin            xxxxxxxxxxxx::xx
  LabelSep              xx
  ParSep                0.4
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "Encl.:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color               Blue
  EndFont
End


# Verteiler style definition
Style cc
  Margin                Static
  LatexType             Command
  LatexName             Verteiler
  KeepEmpty             1
  LeftMargin            xxxxxxxxxxxx::xx
  LabelSep              xx
  ParSep                0.4
  Align                 Block
  AlignPossible         Block, Left
  LabelType             Static
  LabelString           "cc:"
  # label font definition
  LabelFont
    Series              Bold
    Shape               Italic
    Color               Blue
  EndFont
End



Input stdfloats.inc
Input stdcounters.inc



# Input lyxmacros.inc

# Remove some unwanted styles.
# NoStyle               Right_Address
# NoStyle               Address

Reply via email to