mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 21:55:29 +00:00
frletter: new layout and template file for the frletter class (for writing French letters)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35550 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e6cffb0706
commit
1aa16f65f3
@ -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
|
||||
|
@ -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 \
|
||||
|
46
lib/layouts/frletter.layout
Normal file
46
lib/layouts/frletter.layout
Normal file
@ -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
|
180
lib/templates/frletter.lyx
Normal file
180
lib/templates/frletter.lyx
Normal file
@ -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
|
||||
<My Name>
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
<My Street>
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
<My Town>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Send To Address
|
||||
<Send To Name>
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
<Send To Street>
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
<Send To Town>
|
||||
\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
|
||||
<Your 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
|
||||
<Objet: Demande de stage>
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
|
||||
\begin_inset Newline newline
|
||||
\end_inset
|
||||
|
||||
<Madame, Monsieur,>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
<Text of Your
|
||||
\begin_inset Quotes fld
|
||||
\end_inset
|
||||
|
||||
Letter
|
||||
\begin_inset Quotes frd
|
||||
\end_inset
|
||||
|
||||
.
|
||||
To create a real letter: just replace erase all the text in <> (including
|
||||
the
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
<>
|
||||
\begin_inset Quotes erd
|
||||
\end_inset
|
||||
|
||||
characters) with the desired text.>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
<Text of Your Letter.
|
||||
To create a real letter, just replace erase all the text in <> (including
|
||||
the
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
<>
|
||||
\begin_inset Quotes erd
|
||||
\end_inset
|
||||
|
||||
characters) with the desired text.>
|
||||
\end_layout
|
||||
|
||||
\begin_layout Closing
|
||||
<Veuillez agréer, Madame, Monsieur, l'expression de mes sentiments distingués.>
|
||||
\end_layout
|
||||
|
||||
\begin_layout cc
|
||||
<cc>
|
||||
\end_layout
|
||||
|
||||
\begin_layout encl
|
||||
<encl>
|
||||
\end_layout
|
||||
|
||||
\end_body
|
||||
\end_document
|
Loading…
Reference in New Issue
Block a user