#% Do not delete the line below; configure depends on this
-# \DeclareLaTeXClass[g-brief2]{letter (g-brief2)}
+# \DeclareLaTeXClass[g-brief2]{G-Brief (V. 2)}
+# \DeclareCategory{Letters}
# Letter textclass definition file.
-
# Author : Felix Kurth <lyx@fkurth.de> based on work from
# Thomas Hartkens <thomas@hartkens.de>
# Input general definitions
-# Input stdletter.inc
-
-
-
+Format 89
+Input stdfloats.inc
+Input stdcounters.inc
+Input stdinsets.inc
# General textclass parameters
-Format 2
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.
Color None
EndFont
+# Standard style definition
+Style Standard
+ Category MainText
+ LatexName dummy
+ ParIndent MM
+ ParSkip 0.4
+ AlignPossible Block, Left, Right, Center
+END
+# This is just to make the order of styles
+Style Address
+End
+Style PostalComment
+End
+Style Name
+End
+Style Reference
+End
+Style MyRef
+End
+Style YourRef
+End
+Style YourMail
+End
+Style Date
+End
+Style Opening
+End
+Style Letter
+End
+Style Closing
+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
+ LabelType Above
LabelString "Letter:"
LabelFont
Series Bold
EndFont
End
-
-
-
-
# Name und Titel des Absenders
Style Name
Margin Static
LatexType Command
LatexName Name
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
LabelFont
Series Bold
Shape Italic
- Color Blue
+ Color Blue
EndFont
End
# Name und Spruch in der Fusszeile
Style NameRowA
+ Category Bottom
Margin Static
LatexType Command
LatexName NameZeileA
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
- TopSep 1.5
+ TopSep 1.5
KeepEmpty 1
Align Block
AlignPossible Block, Left
End
Style NameRowB
+ Category Bottom
Margin Static
LatexType Command
LatexName NameZeileB
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style NameRowC
+ Category Bottom
Margin Static
LatexType Command
LatexName NameZeileC
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style NameRowD
+ Category Bottom
Margin Static
LatexType Command
LatexName NameZeileD
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style NameRowE
+ Category Bottom
Margin Static
LatexType Command
LatexName NameZeileE
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style NameRowF
+ Category Bottom
Margin Static
LatexType Command
LatexName NameZeileF
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style NameRowG
+ Category Bottom
Margin Static
LatexType Command
LatexName NameZeileG
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
-# Unterschrift des Absenders
-Style Signature
- Margin Static
- LatexType Command
- LatexName Unterschrift
- LeftMargin TelephoneRowA: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
+ Category Bottom
Margin Static
LatexType Command
LatexName AdressZeileA
- LeftMargin TelephoneRowA:xx
- TopSep 1.5
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
+ TopSep 1
LabelSep xx
KeepEmpty 1
Align Block
End
Style AddressRowB
+ Category Bottom
Margin Static
LatexType Command
LatexName AdressZeileB
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style AddressRowC
+ Category Bottom
Margin Static
LatexType Command
LatexName AdressZeileC
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style AddressRowD
+ Category Bottom
Margin Static
LatexType Command
LatexName AdressZeileD
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style AddressRowE
+ Category Bottom
Margin Static
LatexType Command
LatexName AdressZeileE
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style AddressRowF
+ Category Bottom
Margin Static
LatexType Command
LatexName AdressZeileF
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style TelephoneRowA
+ Category Bottom
Margin Static
LatexType Command
LatexName TelefonZeileA
- LeftMargin TelephoneRowA:xx
- TopSep 1.5
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
+ TopSep 1
LabelSep xx
KeepEmpty 1
Align Block
End
Style TelephoneRowB
+ Category Bottom
Margin Static
LatexType Command
LatexName TelefonZeileB
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style TelephoneRowC
+ Category Bottom
Margin Static
LatexType Command
LatexName TelefonZeileC
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style TelephoneRowD
+ Category Bottom
Margin Static
LatexType Command
LatexName TelefonZeileD
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style TelephoneRowE
+ Category Bottom
Margin Static
LatexType Command
LatexName TelefonZeileE
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style TelephoneRowF
+ Category Bottom
Margin Static
LatexType Command
LatexName TelefonZeileF
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style InternetRowA
+ Category Bottom
Margin Static
LatexType Command
LatexName InternetZeileA
- LeftMargin TelephoneRowA:xx
- TopSep 1.5
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
+ TopSep 1
LabelSep xx
KeepEmpty 1
Align Block
End
Style InternetRowB
+ Category Bottom
Margin Static
LatexType Command
LatexName InternetZeileB
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style InternetRowC
+ Category Bottom
Margin Static
LatexType Command
LatexName InternetZeileC
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style InternetRowD
+ Category Bottom
Margin Static
LatexType Command
LatexName InternetZeileD
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style InternetRowE
+ Category Bottom
Margin Static
LatexType Command
LatexName InternetZeileE
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style InternetRowF
+ Category Bottom
Margin Static
LatexType Command
LatexName InternetZeileF
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style BankRowA
+ Category Bottom
Margin Static
LatexType Command
LatexName BankZeileA
- LeftMargin TelephoneRowA:xx
- TopSep 1.5
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
+ TopSep 1
LabelSep xx
KeepEmpty 1
Align Block
End
Style BankRowB
+ Category Bottom
Margin Static
LatexType Command
LatexName BankZeileB
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style BankRowC
+ Category Bottom
Margin Static
LatexType Command
LatexName BankZeileC
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style BankRowD
+ Category Bottom
Margin Static
LatexType Command
LatexName BankZeileD
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style BankRowE
+ Category Bottom
Margin Static
LatexType Command
LatexName BankZeileE
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
Style BankRowF
+ Category Bottom
Margin Static
LatexType Command
LatexName BankZeileF
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
End
-
# RetourAdresse
Style ReturnAddress
+ Category "Postal Data"
Margin Static
LatexType Command
LatexName RetourAdresse
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
+ TopSep 1.5
LabelSep xx
KeepEmpty 1
Align Block
EndFont
End
-
-# MeinZeichen
-Style MyRef
+# Postvermerk
+Style PostalComment
+ CopyStyle PostalComment
+ Category "Postal Data"
Margin Static
LatexType Command
- LatexName MeinZeichen
- LeftMargin TelephoneRowA:xx
+ LatexName Postvermerk
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Block
AlignPossible Block, Left
LabelType Static
- LabelString "MyRef:"
+ LabelString "PostalComment:"
# label font definition
LabelFont
Series Bold
EndFont
End
-# IhrZeichen
-Style YourRef
+# Adresse
+Style Address
+ CopyStyle Address
+ Category "Postal Data"
Margin Static
LatexType Command
- LatexName IhrZeichen
- LeftMargin TelephoneRowA:xx
+ LatexName Adresse
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
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
EndFont
End
-
-# IhrSchreiben
-Style YourMail
+# MeinZeichen
+Style MyRef
Margin Static
LatexType Command
- LatexName IhrSchreiben
- LeftMargin TelephoneRowA:xx
+ LatexName MeinZeichen
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
+ TopSep 1
KeepEmpty 1
Align Block
AlignPossible Block, Left
LabelType Static
- LabelString "YourMail:"
+ LabelString "MyRef:"
# label font definition
LabelFont
Series Bold
EndFont
End
-
-# Postvermerk
-Style PostalComment
+# IhrZeichen
+Style YourRef
Margin Static
LatexType Command
- LatexName Postvermerk
- LeftMargin TelephoneRowA:xx
+ LatexName IhrZeichen
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
+ KeepEmpty 1
Align Block
AlignPossible Block, Left
LabelType Static
- LabelString "PostalComment:"
+ LabelString "YourRef:"
# label font definition
LabelFont
Series Bold
End
-# Adresse
-Style Address
+# IhrSchreiben
+Style YourMail
Margin Static
LatexType Command
- LatexName Adresse
- LeftMargin TelephoneRowA:xx
+ LatexName IhrSchreiben
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
- TopSep 1.5
KeepEmpty 1
Align Block
AlignPossible Block, Left
LabelType Static
- LabelString "Address:"
+ LabelString "YourMail:"
# label font definition
LabelFont
Series Bold
Margin Static
LatexType Command
LatexName Datum
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
KeepEmpty 1
Align Left
Margin Static
LatexType Command
LatexName Betreff
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
- TopSep 1.5
+ TopSep 1
ParSep 0.4
KeepEmpty 1
Align Block
LatexType Command
LatexName Anrede
KeepEmpty 1
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
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
EndFont
End
-
-
-# Anlagen style definition
-Style Encl.
+# Gruss style definition
+Style Closing
+ Category Closings
Margin Static
LatexType Command
- LatexName Anlagen
- KeepEmpty 1
- LeftMargin TelephoneRowA:xx
+ LatexName LyxGruss
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
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
+ Category Closings
+ Margin Static
+ LatexType Command
+ LatexName Unterschrift
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
+ 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
-# Verteiler style definition
-Style cc
+# Anlagen style definition
+Style Encl.
+ Category Closings
Margin Static
LatexType Command
- LatexName Verteiler
+ LatexName Anlagen
KeepEmpty 1
- LeftMargin TelephoneRowA:xx
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
LabelSep xx
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
- LabelString "cc:"
-
+ LabelString "Encl.:"
# label font definition
LabelFont
Series Bold
EndFont
End
-# Gruss style definition
-Style Closing
+# Verteiler style definition
+Style cc
+ Category Closings
Margin Static
LatexType Command
- LatexName LyxGruss
- LeftMargin TelephoneRowA:xx
+ LatexName Verteiler
+ KeepEmpty 1
+ LeftMargin xxxxxxxxxxxxxxxxxxxx
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
-
-
-
-
+Input stdlists.inc
+Input stdlayouts.inc
+NoStyle Verse
# Input lyxmacros.inc
# Remove some unwanted styles.
# NoStyle Right_Address
# NoStyle Address
+
+ModifyStyle Standard
+ ParIndent ""
+End