Harold Mouras wrote:
When I place a right and a left addresses in my Lyx file, they are not at the same level of the page and it seems that the line spacing is set by default to more than 1.
A adress environment is a paragraph. As every ENTER creates a new paragraph in LyX, you've created two adress-paragraphs and two right adress-paragraphs.
The spacing was introduced by LyX to separate the adress-paragraphs.
How could I have both adresses at the same level and set the line spacing to one?
You can use two minipages side by side, see the attached file.
regards Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass book \language frenchb \inputencoding auto \fontscheme default \graphics default \paperfontsize 12 \spacing onehalf \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language french \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
thispagestyle{empty}
\end_inset
\layout Standard
\added_space_top 2cm* \added_space_bottom 3cm \line_top \line_bottom \align
center
Title
\layout Standard
minipage adress and right adress:
\layout Standard
\begin_inset Minipage
position 1
inner_position 0
height "0pt"
width "40col%"
collapsed true
\layout Address
\series bold
Professional adress
\newline
Place de l'�toile
\newline
\newline
Paris
\end_inset
\hfill
\begin_inset Minipage
position 1
inner_position 0
height "0pt"
width "40col%"
collapsed true
\layout Right Address
\series bold
Professional adress
\newline
Place de l'�toile
\newline
\newline
Paris
\end_inset
\layout Standard
right adress:
\layout Right Address
\series bold
Professional adress
\newline
Place de l'�toile
\newline
\newline
Paris
\layout Standard
minipage adress and adress:
\layout Standard
\begin_inset Minipage
position 1
inner_position 0
height "0pt"
width "40col%"
collapsed true
\layout Address
\series bold
Professional adress
\newline
Place de l'�toile
\newline
\newline
Paris
\end_inset
\hfill
\begin_inset Minipage
position 1
inner_position 0
height "0pt"
width "40col%"
collapsed true
\layout Address
\series bold
Professional adress
\newline
Place de l'�toile
\newline
\newline
Paris
\end_inset
\the_end
