X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Flettre.layout;h=b0cc7748179b1d2cee21c01b1c5fea4054d3c1cc;hb=486c7cc0696416e7e09242269c64442afd5fda02;hp=6c9844d37fbfb0857689ac28ce7a4f720c3009b2;hpb=eaf7c6c6ebfb89c644d76ea9fb6afdd9f2256035;p=lyx.git diff --git a/lib/layouts/lettre.layout b/lib/layouts/lettre.layout index 6c9844d37f..b0cc774817 100644 --- a/lib/layouts/lettre.layout +++ b/lib/layouts/lettre.layout @@ -1,5 +1,6 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass{letter (lettre)} +# \DeclareLaTeXClass{French Letter (lettre)} +# \DeclareCategory{Letters} # French Letter textclass definition file. # Author : Alain Castera # Modifies only some things from letter.layout @@ -24,7 +25,7 @@ # - ordering control left at the beginning (any other way ?) -Format 29 +Format 54 #(pre)declarations (just to impose some order on the menus) Style Standard @@ -126,12 +127,17 @@ Preamble \fi % if needSendFax } %findemessage +% to get the specified pagesize +% (workaround for an a4paper/lettre problem in pdf mode) +\@ifpackageloaded{ifpdf}{}{\usepackage{ifpdf}} +\ifpdf\input pdftexconfig.tex\fi + EndPreamble # My Address style used to specify sender name and coordinates Style My_Address CopyStyle My_Address - Category Headings + Category "Postal Data" Margin Static LatexType Command LatexName MyAddress