Le Lundi 27 Août 2001 08:57, vous avez écrit :
> hi
>
> how can i have left and right address in the same lines?
> should look like this:
>
>
> name                                       name
> street                                     street
> city                                       city

You can use two minipages wich width are less than half the \textwidth so 
they will print one on the left and one on the right, align you text left on 
the first and right on the second and you can even put a \hfill between the 
two minipages to be sure the second will the more on the right possible.
Have a look at the sample LyX file attached, note that I used plain LaTeX for 
my minipages to be able to use the command \textwidth (as LyX only allow 
simple length and not the use of predefined length).

-- 
Quand on regarde le ciel dans l'eau, on voit les poissons dans les arbres.
Sancho P.

Renaud MICHEL


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language frenchb
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage widemarginsa4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout LaTeX


\backslash 
begin{minipage}{0.3
\backslash 
textwidth}
\layout Standard

name
\layout Standard

street
\layout Standard

city
\layout LaTeX


\backslash 
end{minipage}
\backslash 
hfill
\backslash 
begin{minipage}{0.3
\backslash 
textwidth}
\layout Standard
\align right 
name
\layout Standard
\align right 
street
\layout Standard
\align right 
city
\layout LaTeX


\backslash 
end{minipage}
\the_end

Reply via email to