diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index 8540de980d..321db06d94 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -1350,6 +1350,7 @@ lib_templates_files = Split(''' elsarticle.lyx es_beamer-conference-ornate-20min.lyx fr_beamer-conference-ornate-20min.lyx + frletter.lyx g-brief-de.lyx g-brief-en.lyx g-brief2.lyx @@ -2772,6 +2773,7 @@ lib_layouts_files = Split(''' extletter.layout extreport.layout foils.layout + frletter.layout g-brief.layout g-brief2.layout heb-article.layout diff --git a/lib/Makefile.am b/lib/Makefile.am index 0a0bcf2530..330057806d 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1081,6 +1081,7 @@ dist_layouts_DATA =\ layouts/figs-within-sections.module \ layouts/foils.layout \ layouts/foottoend.module \ + layouts/frletter.layout \ layouts/g-brief.layout \ layouts/g-brief2.layout \ layouts/hanging.module \ @@ -1236,6 +1237,7 @@ dist_templates_DATA = \ templates/elsarticle.lyx \ templates/es_beamer-conference-ornate-20min.lyx \ templates/fr_beamer-conference-ornate-20min.lyx \ + templates/frletter.lyx \ templates/g-brief2.lyx \ templates/g-brief-de.lyx \ templates/g-brief-en.lyx \ diff --git a/lib/layouts/frletter.layout b/lib/layouts/frletter.layout new file mode 100644 index 0000000000..511198286d --- /dev/null +++ b/lib/layouts/frletter.layout @@ -0,0 +1,46 @@ +#% Do not delete the line below; configure depends on this +# \DeclareLaTeXClass[frletter]{letter (frletter)} +# Layout file for the frletter class. +# Author : Liviu Andronic and Uwe Stöhr + +Format 28 + +# Read the definitions from letter.layout +Input letter.layout + +# change placement within LyX +Style My_Address + Margin Static +End + +Style Send_To_Address + Margin Right_Address_Box +End + + +Style Date + Margin Right_Address_Box + LatexType Command + LatexName date + LabelSep xxx + ParSkip 0.4 + TopSep 0.9 + BottomSep 0.5 + ParSep 1 + Align Left + LabelType No_Label +End + + +# add more space as in stdletter.inc because the French words are wider +Style Opening + LeftMargin Fermeture:xxx +End + +Style Signature + LeftMargin Fermeture:xxx +End + +Style Closing + LeftMargin Fermeture:xxx +End diff --git a/lib/templates/frletter.lyx b/lib/templates/frletter.lyx new file mode 100644 index 0000000000..997c3e5afd --- /dev/null +++ b/lib/templates/frletter.lyx @@ -0,0 +1,180 @@ +#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/ +\lyxformat 401 +\begin_document +\begin_header +\textclass frletter +\use_default_options false +\maintain_unincluded_children false +\language french +\inputencoding auto +\fontencoding global +\font_roman default +\font_sans default +\font_typewriter default +\font_default_family default +\use_xetex false +\font_sc false +\font_osf false +\font_sf_scale 100 +\font_tt_scale 100 + +\graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default +\paperfontsize default +\spacing single +\use_hyperref false +\papersize default +\use_geometry false +\use_amsmath 0 +\use_esint 0 +\use_mhchem 1 +\use_mathdots 1 +\cite_engine basic +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\quotes_language french +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout My Address + +\begin_inset Newline newline +\end_inset + + +\begin_inset Newline newline +\end_inset + + +\end_layout + +\begin_layout Send To Address + +\begin_inset Newline newline +\end_inset + + +\begin_inset Newline newline +\end_inset + + +\end_layout + +\begin_layout Date +Paris, le +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +today +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Signature + +\begin_inset Note Note +status open + +\begin_layout Plain Layout +This field MUST be before the "Opening" field! +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Opening + +\begin_inset Newline newline +\end_inset + + +\begin_inset Newline newline +\end_inset + + +\begin_inset Newline newline +\end_inset + + +\end_layout + +\begin_layout Standard + (including + the +\begin_inset Quotes eld +\end_inset + +<> +\begin_inset Quotes erd +\end_inset + + characters) with the desired text.> +\end_layout + +\begin_layout Standard + (including + the +\begin_inset Quotes eld +\end_inset + +<> +\begin_inset Quotes erd +\end_inset + + characters) with the desired text.> +\end_layout + +\begin_layout Closing + +\end_layout + +\begin_layout cc + +\end_layout + +\begin_layout encl + +\end_layout + +\end_body +\end_document