]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/g-brief2.layout
Natbib authoryear uses (Ref1; Ref2) by default.
[lyx.git] / lib / layouts / g-brief2.layout
index 2c8b6c6bdcbad609ba3401e9cfbd4efa4491c3dd..a4d42e9053b07683da49734bd54ab600068ae4aa 100644 (file)
@@ -1,16 +1,17 @@
 #% 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 45
+Input stdfloats.inc
+Input stdcounters.inc
+Input stdinsets.inc
 
 # General textclass parameters
-Format 6
 Columns                        1
 Sides                  1
 PageStyle              Empty
@@ -28,12 +29,37 @@ 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
@@ -44,7 +70,7 @@ Style Letter
   KeepEmpty            1
   Align                Block
   AlignPossible        Block, Left, Right, Center
-  LabelType            Top_Environment
+  LabelType            Above
   LabelString          "Letter:"
   LabelFont
     Series             Bold
@@ -75,6 +101,7 @@ End
 
 # Name und Spruch in der Fusszeile
 Style NameRowA
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            NameZeileA
@@ -95,6 +122,7 @@ Style NameRowA
 End
 
 Style NameRowB
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            NameZeileB
@@ -114,6 +142,7 @@ Style NameRowB
 End
 
 Style NameRowC
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            NameZeileC
@@ -133,6 +162,7 @@ Style NameRowC
 End
 
 Style NameRowD
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            NameZeileD
@@ -152,6 +182,7 @@ Style NameRowD
 End
 
 Style NameRowE
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            NameZeileE
@@ -171,6 +202,7 @@ Style NameRowE
 End
 
 Style NameRowF
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            NameZeileF
@@ -190,6 +222,7 @@ Style NameRowF
 End
 
 Style NameRowG
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            NameZeileG
@@ -210,6 +243,7 @@ End
 
 
 Style AddressRowA
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            AdressZeileA
@@ -230,6 +264,7 @@ Style AddressRowA
 End
 
 Style AddressRowB
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            AdressZeileB
@@ -249,6 +284,7 @@ Style AddressRowB
 End
 
 Style AddressRowC
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            AdressZeileC
@@ -268,6 +304,7 @@ Style AddressRowC
 End
 
 Style AddressRowD
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            AdressZeileD
@@ -287,6 +324,7 @@ Style AddressRowD
 End
 
 Style AddressRowE
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            AdressZeileE
@@ -306,6 +344,7 @@ Style AddressRowE
 End
 
 Style AddressRowF
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            AdressZeileF
@@ -325,6 +364,7 @@ Style AddressRowF
 End
 
 Style TelephoneRowA
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            TelefonZeileA
@@ -345,6 +385,7 @@ Style TelephoneRowA
 End
 
 Style TelephoneRowB
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            TelefonZeileB
@@ -364,6 +405,7 @@ Style TelephoneRowB
 End
 
 Style TelephoneRowC
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            TelefonZeileC
@@ -383,6 +425,7 @@ Style TelephoneRowC
 End
 
 Style TelephoneRowD
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            TelefonZeileD
@@ -402,6 +445,7 @@ Style TelephoneRowD
 End
 
 Style TelephoneRowE
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            TelefonZeileE
@@ -421,6 +465,7 @@ Style TelephoneRowE
 End
 
 Style TelephoneRowF
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            TelefonZeileF
@@ -440,6 +485,7 @@ Style TelephoneRowF
 End
 
 Style InternetRowA
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            InternetZeileA
@@ -460,6 +506,7 @@ Style InternetRowA
 End
 
 Style InternetRowB
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            InternetZeileB
@@ -479,6 +526,7 @@ Style InternetRowB
 End
 
 Style InternetRowC
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            InternetZeileC
@@ -498,6 +546,7 @@ Style InternetRowC
 End
 
 Style InternetRowD
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            InternetZeileD
@@ -517,6 +566,7 @@ Style InternetRowD
 End
 
 Style InternetRowE
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            InternetZeileE
@@ -536,6 +586,7 @@ Style InternetRowE
 End
 
 Style InternetRowF
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            InternetZeileF
@@ -555,6 +606,7 @@ Style InternetRowF
 End
 
 Style BankRowA
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            BankZeileA
@@ -575,6 +627,7 @@ Style BankRowA
 End
 
 Style BankRowB
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            BankZeileB
@@ -594,6 +647,7 @@ Style BankRowB
 End
 
 Style BankRowC
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            BankZeileC
@@ -613,6 +667,7 @@ Style BankRowC
 End
 
 Style BankRowD
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            BankZeileD
@@ -632,6 +687,7 @@ Style BankRowD
 End
 
 Style BankRowE
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            BankZeileE
@@ -651,6 +707,7 @@ Style BankRowE
 End
 
 Style BankRowF
+  Category              Bottom
   Margin               Static
   LatexType            Command
   LatexName            BankZeileF
@@ -672,6 +729,7 @@ End
 
 # RetourAdresse
 Style ReturnAddress
+  Category              "Postal Data"
   Margin               Static
   LatexType            Command
   LatexName            RetourAdresse
@@ -693,6 +751,8 @@ End
 
 # Postvermerk
 Style PostalComment
+  CopyStyle             PostalComment
+  Category              "Postal Data"
   Margin               Static
   LatexType            Command
   LatexName            Postvermerk
@@ -713,6 +773,8 @@ End
 
 # Adresse
 Style Address
+  CopyStyle             Address
+  Category              "Postal Data"
   Margin               Static
   LatexType            Command
   LatexName            Adresse
@@ -863,6 +925,7 @@ End
 
 # Gruss style definition
 Style Closing
+  Category              Closings
   Margin               Static
   LatexType            Command
   LatexName            LyxGruss
@@ -889,6 +952,7 @@ End
 
 # Unterschrift des Absenders
 Style Signature
+  Category              Closings
   Margin               Static
   LatexType            Command
   LatexName            Unterschrift
@@ -909,6 +973,7 @@ End
 
 # Anlagen style definition
 Style Encl.
+  Category              Closings
   Margin               Static
   LatexType            Command
   LatexName            Anlagen
@@ -930,6 +995,7 @@ End
 
 # Verteiler style definition
 Style cc
+  Category              Closings
   Margin               Static
   LatexType            Command
   LatexName            Verteiler
@@ -949,12 +1015,10 @@ Style cc
   EndFont
 End
 
-
-
-Input stdfloats.inc
-Input stdcounters.inc
-
-
+Input stdlists.inc
+Input stdlayouts.inc
+NoStyle                        Verse
+NoStyle                        --Separator--
 
 # Input lyxmacros.inc