X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fg-brief2.layout;h=41955a3a8aa5e3fc06f81ab197e364f0ed5fa7c3;hb=61a9f04754921abb28d9189c4449ae170d0b994f;hp=e86f62a1463008b423447706b972fccb555c2c7d;hpb=d98ffe9eb476d96856468875b9f0d8fc5c690be3;p=lyx.git diff --git a/lib/layouts/g-brief2.layout b/lib/layouts/g-brief2.layout index e86f62a146..41955a3a8a 100644 --- a/lib/layouts/g-brief2.layout +++ b/lib/layouts/g-brief2.layout @@ -1,21 +1,21 @@ -#% Do not delete he line below; configure depends on this -# \DeclareLaTeXClass[g-brief2]{letter (g-brief2)} +#% 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 based on work from +# 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 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,19 +27,51 @@ DefaultFont 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 - LabelString Letter: + LabelType Above + LabelString "Letter:" LabelFont Series Bold Shape Italic @@ -47,43 +79,40 @@ Style Letter EndFont End - - - - # Name und Titel des Absenders Style Name Margin Static LatexType Command LatexName Name - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString Name: + LabelString "Name:" # label font definition 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 xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx - TopSep 1.5 + TopSep 1.5 KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString NameRowA: + LabelString "NameRowA:" # label font definition LabelFont Series Bold @@ -93,16 +122,17 @@ Style NameRowA End Style NameRowB + Category Bottom Margin Static LatexType Command LatexName NameZeileB - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString NameRowB: + LabelString "NameRowB:" # label font definition LabelFont Series Bold @@ -112,16 +142,17 @@ Style NameRowB End Style NameRowC + Category Bottom Margin Static LatexType Command LatexName NameZeileC - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString NameRowC: + LabelString "NameRowC:" # label font definition LabelFont Series Bold @@ -131,16 +162,17 @@ Style NameRowC End Style NameRowD + Category Bottom Margin Static LatexType Command LatexName NameZeileD - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString NameRowD: + LabelString "NameRowD:" # label font definition LabelFont Series Bold @@ -150,16 +182,17 @@ Style NameRowD End Style NameRowE + Category Bottom Margin Static LatexType Command LatexName NameZeileE - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString NameRowE: + LabelString "NameRowE:" # label font definition LabelFont Series Bold @@ -169,16 +202,17 @@ Style NameRowE End Style NameRowF + Category Bottom Margin Static LatexType Command LatexName NameZeileF - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString NameRowF: + LabelString "NameRowF:" # label font definition LabelFont Series Bold @@ -188,16 +222,17 @@ Style NameRowF End Style NameRowG + Category Bottom Margin Static LatexType Command LatexName NameZeileG - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString NameRowG: + LabelString "NameRowG:" # label font definition LabelFont Series Bold @@ -207,38 +242,19 @@ Style NameRowG 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 + Category Bottom Margin Static LatexType Command LatexName AdressZeileA - LeftMargin xxxxxxxxxx::xx - TopSep 1.5 + LeftMargin xxxxxxxxxxxxxxxxxxxx + TopSep 1 LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString AddressRowA: + LabelString "AddressRowA:" # label font definition LabelFont Series Bold @@ -248,16 +264,17 @@ Style AddressRowA End Style AddressRowB + Category Bottom Margin Static LatexType Command LatexName AdressZeileB - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString AddressRowB: + LabelString "AddressRowB:" # label font definition LabelFont Series Bold @@ -267,16 +284,17 @@ Style AddressRowB End Style AddressRowC + Category Bottom Margin Static LatexType Command LatexName AdressZeileC - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString AddressRowC: + LabelString "AddressRowC:" # label font definition LabelFont Series Bold @@ -286,16 +304,17 @@ Style AddressRowC End Style AddressRowD + Category Bottom Margin Static LatexType Command LatexName AdressZeileD - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString AddressRowD: + LabelString "AddressRowD:" # label font definition LabelFont Series Bold @@ -305,16 +324,17 @@ Style AddressRowD End Style AddressRowE + Category Bottom Margin Static LatexType Command LatexName AdressZeileE - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString AddressRowE: + LabelString "AddressRowE:" # label font definition LabelFont Series Bold @@ -324,16 +344,17 @@ Style AddressRowE End Style AddressRowF + Category Bottom Margin Static LatexType Command LatexName AdressZeileF - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString AddressRowF: + LabelString "AddressRowF:" # label font definition LabelFont Series Bold @@ -343,17 +364,18 @@ Style AddressRowF End Style TelephoneRowA + Category Bottom Margin Static LatexType Command LatexName TelefonZeileA - LeftMargin xxxxxxxxxx::xx - TopSep 1.5 + 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 @@ -363,16 +385,17 @@ Style TelephoneRowA End Style TelephoneRowB + Category Bottom Margin Static LatexType Command LatexName TelefonZeileB - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString TelephoneRowB: + LabelString "TelephoneRowB:" # label font definition LabelFont Series Bold @@ -382,16 +405,17 @@ Style TelephoneRowB End Style TelephoneRowC + Category Bottom Margin Static LatexType Command LatexName TelefonZeileC - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString TelephoneRowC: + LabelString "TelephoneRowC:" # label font definition LabelFont Series Bold @@ -401,16 +425,17 @@ Style TelephoneRowC End Style TelephoneRowD + Category Bottom Margin Static LatexType Command LatexName TelefonZeileD - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString TelephoneRowD: + LabelString "TelephoneRowD:" # label font definition LabelFont Series Bold @@ -420,16 +445,17 @@ Style TelephoneRowD End Style TelephoneRowE + Category Bottom Margin Static LatexType Command LatexName TelefonZeileE - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString TelephoneRowE: + LabelString "TelephoneRowE:" # label font definition LabelFont Series Bold @@ -439,16 +465,17 @@ Style TelephoneRowE End Style TelephoneRowF + Category Bottom Margin Static LatexType Command LatexName TelefonZeileF - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString TelephoneRowF: + LabelString "TelephoneRowF:" # label font definition LabelFont Series Bold @@ -458,17 +485,18 @@ Style TelephoneRowF End Style InternetRowA + Category Bottom Margin Static LatexType Command LatexName InternetZeileA - LeftMargin xxxxxxxxxx::xx - TopSep 1.5 + 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 @@ -478,16 +506,17 @@ Style InternetRowA End Style InternetRowB + Category Bottom Margin Static LatexType Command LatexName InternetZeileB - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString InternetRowB: + LabelString "InternetRowB:" # label font definition LabelFont Series Bold @@ -497,16 +526,17 @@ Style InternetRowB End Style InternetRowC + Category Bottom Margin Static LatexType Command LatexName InternetZeileC - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString InternetRowC: + LabelString "InternetRowC:" # label font definition LabelFont Series Bold @@ -516,16 +546,17 @@ Style InternetRowC End Style InternetRowD + Category Bottom Margin Static LatexType Command LatexName InternetZeileD - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString InternetRowD: + LabelString "InternetRowD:" # label font definition LabelFont Series Bold @@ -535,16 +566,17 @@ Style InternetRowD End Style InternetRowE + Category Bottom Margin Static LatexType Command LatexName InternetZeileE - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString InternetRowE: + LabelString "InternetRowE:" # label font definition LabelFont Series Bold @@ -554,16 +586,17 @@ Style InternetRowE End Style InternetRowF + Category Bottom Margin Static LatexType Command LatexName InternetZeileF - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString InternetRowF: + LabelString "InternetRowF:" # label font definition LabelFont Series Bold @@ -573,17 +606,18 @@ Style InternetRowF End Style BankRowA + Category Bottom Margin Static LatexType Command LatexName BankZeileA - LeftMargin xxxxxxxxxx::xx - TopSep 1.5 + 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 @@ -593,16 +627,17 @@ Style BankRowA End Style BankRowB + Category Bottom Margin Static LatexType Command LatexName BankZeileB - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString BankRowB: + LabelString "BankRowB:" # label font definition LabelFont Series Bold @@ -612,16 +647,17 @@ Style BankRowB End Style BankRowC + Category Bottom Margin Static LatexType Command LatexName BankZeileC - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString BankRowC: + LabelString "BankRowC:" # label font definition LabelFont Series Bold @@ -631,16 +667,17 @@ Style BankRowC End Style BankRowD + Category Bottom Margin Static LatexType Command LatexName BankZeileD - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString BankRowD: + LabelString "BankRowD:" # label font definition LabelFont Series Bold @@ -650,16 +687,17 @@ Style BankRowD End Style BankRowE + Category Bottom Margin Static LatexType Command LatexName BankZeileE - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString BankRowE: + LabelString "BankRowE:" # label font definition LabelFont Series Bold @@ -669,16 +707,17 @@ Style BankRowE End Style BankRowF + Category Bottom Margin Static LatexType Command LatexName BankZeileF - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString BankRowF: + LabelString "BankRowF:" # label font definition LabelFont Series Bold @@ -688,19 +727,20 @@ Style BankRowF End - # RetourAdresse Style ReturnAddress + Category "Postal Data" Margin Static LatexType Command LatexName RetourAdresse - LeftMargin xxxxxxxxxx::xx + 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 @@ -709,19 +749,20 @@ Style ReturnAddress EndFont End - -# MeinZeichen -Style MyRef +# Postvermerk +Style PostalComment + CopyStyle PostalComment + Category "Postal Data" Margin Static LatexType Command - LatexName MeinZeichen - LeftMargin xxxxxxxxxx::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 @@ -730,19 +771,21 @@ Style MyRef EndFont End -# IhrZeichen -Style YourRef +# Adresse +Style Address + CopyStyle Address + Category "Postal Data" Margin Static LatexType Command - LatexName IhrZeichen - LeftMargin xxxxxxxxxx::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 @@ -751,19 +794,19 @@ Style YourRef EndFont End - -# IhrSchreiben -Style YourMail +# MeinZeichen +Style MyRef Margin Static LatexType Command - LatexName IhrSchreiben - LeftMargin xxxxxxxxxx::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 @@ -772,19 +815,19 @@ Style YourMail EndFont End - -# Postvermerk -Style PostalComment +# IhrZeichen +Style YourRef Margin Static LatexType Command - LatexName Postvermerk - LeftMargin xxxxxxxxxx::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 @@ -793,20 +836,19 @@ Style PostalComment EndFont End - -# Adresse -Style Address + +# IhrSchreiben +Style YourMail Margin Static LatexType Command - LatexName Adresse - LeftMargin xxxxxxxxxx::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 @@ -821,13 +863,13 @@ Style Date Margin Static LatexType Command LatexName Datum - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Left AlignPossible Block, Left LabelType Static - LabelString Date: + LabelString "Date:" # label font definition LabelFont Series Bold @@ -841,15 +883,15 @@ Style Reference Margin Static LatexType Command LatexName Betreff - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx - TopSep 1.5 + TopSep 1 ParSep 0.4 KeepEmpty 1 Align Block AlignPossible Block, Left LabelType Static - LabelString Reference: + LabelString "Reference:" # label font definition LabelFont Series Bold @@ -865,15 +907,14 @@ Style Opening LatexType Command LatexName Anrede KeepEmpty 1 - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx - TopSep 1.5 + TopSep 1 ParSep 0.4 Align Block AlignPossible Block, Left LabelType Static - LabelString Opening: - + LabelString "Opening:" # label font definition LabelFont Series Bold @@ -882,45 +923,68 @@ Style Opening EndFont End - - -# Anlagen style definition -Style Encl. +# Gruss style definition +Style Closing + Category Closings Margin Static LatexType Command - LatexName Anlagen - KeepEmpty 1 - LeftMargin xxxxxxxxxx::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 xxxxxxxxxx::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 @@ -929,45 +993,31 @@ Style cc EndFont End -# Gruss style definition -Style Closing +# Verteiler style definition +Style cc + Category Closings Margin Static LatexType Command - LatexName LyxGruss - LeftMargin xxxxxxxxxx::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