X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fg-brief2.layout;h=41955a3a8aa5e3fc06f81ab197e364f0ed5fa7c3;hb=61a9f04754921abb28d9189c4449ae170d0b994f;hp=7fa990b4512735507301b03654a37d2983635f51;hpb=c36c0b6cf2628ba727435902547c7e655a503029;p=lyx.git diff --git a/lib/layouts/g-brief2.layout b/lib/layouts/g-brief2.layout index 7fa990b451..41955a3a8a 100644 --- a/lib/layouts/g-brief2.layout +++ b/lib/layouts/g-brief2.layout @@ -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 based on work from # Thomas Hartkens # Input general definitions -# Input stdletter.inc - +Format 60 +Input stdfloats.inc +Input stdcounters.inc +Input stdinsets.inc # General textclass parameters -Format 3 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,8 +70,8 @@ Style Letter KeepEmpty 1 Align Block AlignPossible Block, Left, Right, Center - LabelType Top_Environment - LabelString Letter: + LabelType Above + LabelString "Letter:" LabelFont Series Bold Shape Italic @@ -58,13 +84,13 @@ Style Name Margin Static LatexType Command LatexName Name - LeftMargin TelephoneRowA:xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString Name: + LabelString "Name:" # label font definition LabelFont Series Bold @@ -75,16 +101,18 @@ End # Name und Spruch in der Fusszeile Style NameRowA - Margin Dynamic + 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: + LabelString "NameRowA:" # label font definition LabelFont Series Bold @@ -94,15 +122,17 @@ Style NameRowA End Style NameRowB - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName NameZeileB + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString NameRowB: + LabelString "NameRowB:" # label font definition LabelFont Series Bold @@ -112,15 +142,17 @@ Style NameRowB End Style NameRowC - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName NameZeileC + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString NameRowC: + LabelString "NameRowC:" # label font definition LabelFont Series Bold @@ -130,15 +162,17 @@ Style NameRowC End Style NameRowD - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName NameZeileD + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString NameRowD: + LabelString "NameRowD:" # label font definition LabelFont Series Bold @@ -148,15 +182,17 @@ Style NameRowD End Style NameRowE - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName NameZeileE + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString NameRowE: + LabelString "NameRowE:" # label font definition LabelFont Series Bold @@ -166,15 +202,17 @@ Style NameRowE End Style NameRowF - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName NameZeileF + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString NameRowF: + LabelString "NameRowF:" # label font definition LabelFont Series Bold @@ -184,15 +222,17 @@ Style NameRowF End Style NameRowG - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName NameZeileG + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString NameRowG: + LabelString "NameRowG:" # label font definition LabelFont Series Bold @@ -202,17 +242,19 @@ Style NameRowG End -Style AdressRowA - Margin Dynamic +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 AdressRowA: + LabelString "AddressRowA:" # label font definition LabelFont Series Bold @@ -221,16 +263,18 @@ Style AdressRowA EndFont End -Style AdressRowB - Margin Dynamic +Style AddressRowB + Category Bottom + Margin Static LatexType Command LatexName AdressZeileB + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString AdressRowB: + LabelString "AddressRowB:" # label font definition LabelFont Series Bold @@ -239,16 +283,18 @@ Style AdressRowB EndFont End -Style AdressRowC - Margin Dynamic +Style AddressRowC + Category Bottom + Margin Static LatexType Command LatexName AdressZeileC + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString AdressRowC: + LabelString "AddressRowC:" # label font definition LabelFont Series Bold @@ -257,16 +303,18 @@ Style AdressRowC EndFont End -Style AdressRowD - Margin Dynamic +Style AddressRowD + Category Bottom + Margin Static LatexType Command LatexName AdressZeileD + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString AdressRowD: + LabelString "AddressRowD:" # label font definition LabelFont Series Bold @@ -275,16 +323,18 @@ Style AdressRowD EndFont End -Style AdressRowE - Margin Dynamic +Style AddressRowE + Category Bottom + Margin Static LatexType Command LatexName AdressZeileE + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString AdressRowE: + LabelString "AddressRowE:" # label font definition LabelFont Series Bold @@ -293,16 +343,18 @@ Style AdressRowE EndFont End -Style AdressRowF - Margin Dynamic +Style AddressRowF + Category Bottom + Margin Static LatexType Command LatexName AdressZeileF + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString AdressRowF: + LabelString "AddressRowF:" # label font definition LabelFont Series Bold @@ -312,16 +364,18 @@ Style AdressRowF End Style TelephoneRowA - Margin Dynamic + 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: + LabelString "TelephoneRowA:" # label font definition LabelFont Series Bold @@ -331,15 +385,17 @@ Style TelephoneRowA End Style TelephoneRowB - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName TelefonZeileB + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString TelephoneRowB: + LabelString "TelephoneRowB:" # label font definition LabelFont Series Bold @@ -349,15 +405,17 @@ Style TelephoneRowB End Style TelephoneRowC - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName TelefonZeileC + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString TelephoneRowC: + LabelString "TelephoneRowC:" # label font definition LabelFont Series Bold @@ -367,15 +425,17 @@ Style TelephoneRowC End Style TelephoneRowD - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName TelefonZeileD + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString TelephoneRowD: + LabelString "TelephoneRowD:" # label font definition LabelFont Series Bold @@ -385,15 +445,17 @@ Style TelephoneRowD End Style TelephoneRowE - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName TelefonZeileE + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString TelephoneRowE: + LabelString "TelephoneRowE:" # label font definition LabelFont Series Bold @@ -403,15 +465,17 @@ Style TelephoneRowE End Style TelephoneRowF - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName TelefonZeileF + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString TelephoneRowF: + LabelString "TelephoneRowF:" # label font definition LabelFont Series Bold @@ -421,16 +485,18 @@ Style TelephoneRowF End Style InternetRowA - Margin Dynamic + 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: + LabelString "InternetRowA:" # label font definition LabelFont Series Bold @@ -440,15 +506,17 @@ Style InternetRowA End Style InternetRowB - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName InternetZeileB + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString InternetRowB: + LabelString "InternetRowB:" # label font definition LabelFont Series Bold @@ -456,16 +524,19 @@ Style InternetRowB Color Green EndFont End + Style InternetRowC - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName InternetZeileC + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString InternetRowC: + LabelString "InternetRowC:" # label font definition LabelFont Series Bold @@ -473,16 +544,19 @@ Style InternetRowC Color Green EndFont End + Style InternetRowD - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName InternetZeileD + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString InternetRowD: + LabelString "InternetRowD:" # label font definition LabelFont Series Bold @@ -490,16 +564,19 @@ Style InternetRowD Color Green EndFont End + Style InternetRowE - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName InternetZeileE + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString InternetRowE: + LabelString "InternetRowE:" # label font definition LabelFont Series Bold @@ -507,16 +584,19 @@ Style InternetRowE Color Green EndFont End + Style InternetRowF - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName InternetZeileF + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString InternetRowF: + LabelString "InternetRowF:" # label font definition LabelFont Series Bold @@ -526,16 +606,18 @@ Style InternetRowF End Style BankRowA - Margin Dynamic + 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: + LabelString "BankRowA:" # label font definition LabelFont Series Bold @@ -545,15 +627,17 @@ Style BankRowA End Style BankRowB - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName BankZeileB + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString BankRowB: + LabelString "BankRowB:" # label font definition LabelFont Series Bold @@ -563,15 +647,17 @@ Style BankRowB End Style BankRowC - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName BankZeileC + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString BankRowC: + LabelString "BankRowC:" # label font definition LabelFont Series Bold @@ -581,15 +667,17 @@ Style BankRowC End Style BankRowD - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName BankZeileD + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString BankRowD: + LabelString "BankRowD:" # label font definition LabelFont Series Bold @@ -599,15 +687,17 @@ Style BankRowD End Style BankRowE - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName BankZeileE + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString BankRowE: + LabelString "BankRowE:" # label font definition LabelFont Series Bold @@ -617,15 +707,17 @@ Style BankRowE End Style BankRowF - Margin Dynamic + Category Bottom + Margin Static LatexType Command LatexName BankZeileF + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString BankRowF: + LabelString "BankRowF:" # label font definition LabelFont Series Bold @@ -637,16 +729,18 @@ End # RetourAdresse Style ReturnAddress - Margin Dynamic + 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: + LabelString "ReturnAddress:" # label font definition LabelFont Series Bold @@ -657,15 +751,18 @@ End # Postvermerk Style PostalComment - Margin Dynamic + 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: + LabelString "PostalComment:" # label font definition LabelFont Series Bold @@ -673,20 +770,22 @@ Style PostalComment Color Blue EndFont End - + # Adresse Style Address + CopyStyle Address + Category "Postal Data" Margin Static LatexType Command LatexName Adresse - LeftMargin TelephoneRowA:xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx TopSep 1 KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString Address: + LabelString "Address:" # label font definition LabelFont Series Bold @@ -700,14 +799,14 @@ Style MyRef Margin Static LatexType Command LatexName MeinZeichen - LeftMargin TelephoneRowA:xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx TopSep 1 KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString MyRef: + LabelString "MyRef:" # label font definition LabelFont Series Bold @@ -721,14 +820,14 @@ Style YourRef Margin Static LatexType Command LatexName IhrZeichen - LeftMargin TelephoneRowA:xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString YourRef: + LabelString "YourRef:" # label font definition LabelFont Series Bold @@ -743,13 +842,13 @@ Style YourMail Margin Static LatexType Command LatexName IhrSchreiben - LeftMargin TelephoneRowA:xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString YourMail: + LabelString "YourMail:" # label font definition LabelFont Series Bold @@ -764,13 +863,13 @@ Style Date Margin Static LatexType Command LatexName Datum - LeftMargin TelephoneRowA:xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Left AlignPossible Block, Left LabelType Static - LabelString Date: + LabelString "Date:" # label font definition LabelFont Series Bold @@ -784,7 +883,7 @@ Style Reference Margin Static LatexType Command LatexName Betreff - LeftMargin TelephoneRowA:xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx TopSep 1 ParSep 0.4 @@ -792,7 +891,7 @@ Style Reference Align Block AlignPossible Block, Left LabelType Static - LabelString Reference: + LabelString "Reference:" # label font definition LabelFont Series Bold @@ -808,14 +907,14 @@ Style Opening LatexType Command LatexName Anrede KeepEmpty 1 - LeftMargin TelephoneRowA:xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx TopSep 1 ParSep 0.4 Align Block AlignPossible Block, Left LabelType Static - LabelString Opening: + LabelString "Opening:" # label font definition LabelFont Series Bold @@ -826,17 +925,18 @@ End # Gruss style definition Style Closing + Category Closings Margin Static LatexType Command LatexName LyxGruss - LeftMargin xxxxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx ParSep 0.4 KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString Closing: + LabelString "Closing:" # label font definition LabelFont Series Bold @@ -852,16 +952,17 @@ End # Unterschrift des Absenders Style Signature + Category Closings Margin Static LatexType Command LatexName Unterschrift - LeftMargin xxxxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString Signature: + LabelString "Signature:" # label font definition LabelFont Series Bold @@ -870,20 +971,20 @@ Style Signature EndFont End - # Anlagen style definition Style Encl. + Category Closings Margin Static LatexType Command LatexName Anlagen KeepEmpty 1 - LeftMargin xxxxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx ParSep 0.4 Align Block AlignPossible Block, Left LabelType Static - LabelString Encl.: + LabelString "Encl.:" # label font definition LabelFont Series Bold @@ -892,20 +993,20 @@ Style Encl. EndFont End - # Verteiler style definition Style cc + Category Closings Margin Static LatexType Command LatexName Verteiler KeepEmpty 1 - LeftMargin xxxxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx ParSep 0.4 Align Block AlignPossible Block, Left LabelType Static - LabelString cc: + LabelString "cc:" # label font definition LabelFont Series Bold @@ -914,12 +1015,9 @@ Style cc EndFont End - - -Input stdfloats.inc -Input stdcounters.inc - - +Input stdlists.inc +Input stdlayouts.inc +NoStyle Verse # Input lyxmacros.inc