X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fg-brief2.layout;h=41955a3a8aa5e3fc06f81ab197e364f0ed5fa7c3;hb=61a9f04754921abb28d9189c4449ae170d0b994f;hp=08a60da6de202e7a5b987a94e3a7513428e0088b;hpb=4894a7be98b567d545691f90f384b5e39fe03785;p=lyx.git diff --git a/lib/layouts/g-brief2.layout b/lib/layouts/g-brief2.layout index 08a60da6de..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 # 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,18 +27,50 @@ 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 + LabelType Above LabelString "Letter:" LabelFont Series Bold @@ -47,16 +79,12 @@ 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 @@ -67,18 +95,19 @@ Style Name 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 @@ -93,10 +122,11 @@ Style NameRowA End Style NameRowB + Category Bottom Margin Static LatexType Command LatexName NameZeileB - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -112,10 +142,11 @@ Style NameRowB End Style NameRowC + Category Bottom Margin Static LatexType Command LatexName NameZeileC - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -131,10 +162,11 @@ Style NameRowC End Style NameRowD + Category Bottom Margin Static LatexType Command LatexName NameZeileD - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -150,10 +182,11 @@ Style NameRowD End Style NameRowE + Category Bottom Margin Static LatexType Command LatexName NameZeileE - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -169,10 +202,11 @@ Style NameRowE End Style NameRowF + Category Bottom Margin Static LatexType Command LatexName NameZeileF - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -188,10 +222,11 @@ Style NameRowF End Style NameRowG + Category Bottom Margin Static LatexType Command LatexName NameZeileG - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -207,32 +242,13 @@ 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 @@ -248,10 +264,11 @@ Style AddressRowA End Style AddressRowB + Category Bottom Margin Static LatexType Command LatexName AdressZeileB - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -267,10 +284,11 @@ Style AddressRowB End Style AddressRowC + Category Bottom Margin Static LatexType Command LatexName AdressZeileC - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -286,10 +304,11 @@ Style AddressRowC End Style AddressRowD + Category Bottom Margin Static LatexType Command LatexName AdressZeileD - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -305,10 +324,11 @@ Style AddressRowD End Style AddressRowE + Category Bottom Margin Static LatexType Command LatexName AdressZeileE - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -324,10 +344,11 @@ Style AddressRowE End Style AddressRowF + Category Bottom Margin Static LatexType Command LatexName AdressZeileF - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -343,11 +364,12 @@ 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 @@ -363,10 +385,11 @@ Style TelephoneRowA End Style TelephoneRowB + Category Bottom Margin Static LatexType Command LatexName TelefonZeileB - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -382,10 +405,11 @@ Style TelephoneRowB End Style TelephoneRowC + Category Bottom Margin Static LatexType Command LatexName TelefonZeileC - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -401,10 +425,11 @@ Style TelephoneRowC End Style TelephoneRowD + Category Bottom Margin Static LatexType Command LatexName TelefonZeileD - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -420,10 +445,11 @@ Style TelephoneRowD End Style TelephoneRowE + Category Bottom Margin Static LatexType Command LatexName TelefonZeileE - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -439,10 +465,11 @@ Style TelephoneRowE End Style TelephoneRowF + Category Bottom Margin Static LatexType Command LatexName TelefonZeileF - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -458,11 +485,12 @@ 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 @@ -478,10 +506,11 @@ Style InternetRowA End Style InternetRowB + Category Bottom Margin Static LatexType Command LatexName InternetZeileB - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -497,10 +526,11 @@ Style InternetRowB End Style InternetRowC + Category Bottom Margin Static LatexType Command LatexName InternetZeileC - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -516,10 +546,11 @@ Style InternetRowC End Style InternetRowD + Category Bottom Margin Static LatexType Command LatexName InternetZeileD - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -535,10 +566,11 @@ Style InternetRowD End Style InternetRowE + Category Bottom Margin Static LatexType Command LatexName InternetZeileE - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -554,10 +586,11 @@ Style InternetRowE End Style InternetRowF + Category Bottom Margin Static LatexType Command LatexName InternetZeileF - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -573,11 +606,12 @@ 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 @@ -593,10 +627,11 @@ Style BankRowA End Style BankRowB + Category Bottom Margin Static LatexType Command LatexName BankZeileB - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -612,10 +647,11 @@ Style BankRowB End Style BankRowC + Category Bottom Margin Static LatexType Command LatexName BankZeileC - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -631,10 +667,11 @@ Style BankRowC End Style BankRowD + Category Bottom Margin Static LatexType Command LatexName BankZeileD - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -650,10 +687,11 @@ Style BankRowD End Style BankRowE + Category Bottom Margin Static LatexType Command LatexName BankZeileE - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -669,10 +707,11 @@ Style BankRowE End Style BankRowF + Category Bottom Margin Static LatexType Command LatexName BankZeileF - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Block @@ -688,13 +727,14 @@ 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 @@ -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 @@ -794,19 +837,18 @@ Style PostalComment 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,7 +863,7 @@ Style Date Margin Static LatexType Command LatexName Datum - LeftMargin xxxxxxxxxx::xx + LeftMargin xxxxxxxxxxxxxxxxxxxx LabelSep xx KeepEmpty 1 Align Left @@ -841,9 +883,9 @@ 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 @@ -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:" - # 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