#% Do not delete the line below; configure depends on this
#  \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
Format 111
Input stdfloats.inc
Input stdcounters.inc
Input stdinsets.inc

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

# Babel is loaded internally
Provides babel 1

# 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
  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 		Above
  LabelString		"Letter:"
  LabelFont
    Series		Bold
    Shape		Italic
    Color               textlabel1
  EndFont
  AutoNests 
	Standard,Itemize,Enumerate,Description,Labeling,Bibliography,Quotation,Quote,Verse,Corollary,Definition,Definitions,
	Example,Examples,Fact,Lemma,Proof,Theorem,LyX-Code
  EndAutoNests
End

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

# Name und Spruch in der Fusszeile
Style NameRowA
  Category              Bottom
  Margin		Static
  LatexType		Command
  LatexName		NameZeileA
  LeftMargin		xxxxxxxxxxxxxxxxxxxx
  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       	textlabel2
  EndFont
End

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

Style InternetRowB
  Category              Bottom
  Margin		Static
  LatexType		Command
  LatexName		InternetZeileB
  LeftMargin		xxxxxxxxxxxxxxxxxxxx
  LabelSep		xx
  KeepEmpty		1
  Align 		Block
  AlignPossible 	Block, Left
  LabelType		Static
  LabelString		"InternetRowB:"
  # label font definition
  LabelFont
    Series		Bold
    Shape		Italic
    Color       	textlabel2
  EndFont
End

Style InternetRowC
  Category              Bottom
  Margin		Static
  LatexType		Command
  LatexName		InternetZeileC
  LeftMargin		xxxxxxxxxxxxxxxxxxxx
  LabelSep		xx
  KeepEmpty		1
  Align 		Block
  AlignPossible 	Block, Left
  LabelType		Static
  LabelString		"InternetRowC:"
  # label font definition
  LabelFont
    Series		Bold
    Shape		Italic
    Color       	textlabel2
  EndFont
End

Style InternetRowD
  Category              Bottom
  Margin		Static
  LatexType		Command
  LatexName		InternetZeileD
  LeftMargin		xxxxxxxxxxxxxxxxxxxx
  LabelSep		xx
  KeepEmpty		1
  Align 		Block
  AlignPossible 	Block, Left
  LabelType		Static
  LabelString		"InternetRowD:"
  # label font definition
  LabelFont
    Series		Bold
    Shape		Italic
    Color       	textlabel2
  EndFont
End

Style InternetRowE
  Category              Bottom
  Margin		Static
  LatexType		Command
  LatexName		InternetZeileE
  LeftMargin		xxxxxxxxxxxxxxxxxxxx
  LabelSep		xx
  KeepEmpty		1
  Align 		Block
  AlignPossible 	Block, Left
  LabelType		Static
  LabelString		"InternetRowE:"
  # label font definition
  LabelFont
    Series		Bold
    Shape		Italic
    Color       	textlabel2
  EndFont
End

Style InternetRowF
  Category              Bottom
  Margin		Static
  LatexType		Command
  LatexName		InternetZeileF
  LeftMargin		xxxxxxxxxxxxxxxxxxxx
  LabelSep		xx
  KeepEmpty		1
  Align 		Block
  AlignPossible 	Block, Left
  LabelType		Static
  LabelString		"InternetRowF:"
  # label font definition
  LabelFont
    Series		Bold
    Shape		Italic
    Color       	textlabel2
  EndFont
End

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

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

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

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

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

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


# RetourAdresse
Style ReturnAddress
  Category              "Postal Data"
  Margin		Static
  LatexType		Command
  LatexName		RetourAdresse
  LeftMargin		xxxxxxxxxxxxxxxxxxxx
  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               textlabel1
  EndFont
End

# Postvermerk
Style PostalComment
  CopyStyle             PostalComment
  Category              "Postal Data"
  Margin		Static
  LatexType		Command
  LatexName		Postvermerk
  LeftMargin		xxxxxxxxxxxxxxxxxxxx
  LabelSep		xx
  KeepEmpty		1
  Align 		Block
  AlignPossible 	Block, Left
  LabelType		Static
  LabelString		"PostalComment:"
  # label font definition
  LabelFont
    Series		Bold
    Shape		Italic
    Color               textlabel1
  EndFont
End

# Adresse
Style Address
  CopyStyle             Address
  Category              "Postal Data"
  Margin		Static
  LatexType		Command
  LatexName		Adresse
  LeftMargin		xxxxxxxxxxxxxxxxxxxx
  LabelSep		xx
  TopSep		1
  KeepEmpty		1
  Align 		Block
  AlignPossible 	Block, Left
  LabelType		Static
  LabelString		"Address:"
  # label font definition
  LabelFont
    Series		Bold
    Shape		Italic
    Color               textlabel1
  EndFont
End

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

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


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


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

# Oggetto style definition
Style Reference
  Margin  		Static
  LatexType 		Command
  LatexName 		Betreff
  LeftMargin		xxxxxxxxxxxxxxxxxxxx
  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               textlabel1
  EndFont
End


# Opening style definition
Style Opening
  Margin  		Static
  LatexType 		Command
  LatexName 		Anrede
  KeepEmpty		1
  LeftMargin		xxxxxxxxxxxxxxxxxxxx
  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               textlabel1
  EndFont
End

# Gruss style definition
Style Closing
  Category              Closings
  Margin  		Static
  LatexType 		Command
  LatexName 		LyxGruss
  LeftMargin		xxxxxxxxxxxxxxxxxxxx
  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               textlabel1
  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               textlabel1
  EndFont
End

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

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

Input stdlists.inc
Input stdlayouts.inc
NoStyle			Verse

# Input lyxmacros.inc

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

ModifyStyle Standard
  ParIndent		""
End
