On 29-Sep-98 Bernhard Riecke wrote:
> Hi,
> 
> Is there a way to  display 2 pictures next to each other in the same
> figure float? 
> Right now, they allways come out one below the other by default. 
> 
> Bernhard
> 
> P.S. I'm using lyX 0.12.0 beta on IRIX

Look at the attached .lyx file that should do the trick. This IS supported
with the minipage support in LyX from version 0.12.1 (Thanks Allan :).

Greets J�rgen

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Juergen Vigna                     E-Mail: [EMAIL PROTECTED]
Gerbergasse 60                        Tel:    +39-471-450260
I-39100 Bozen                         Fax:    +39-471-970042
ITALY

We just joined the civil hair patrol!

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
#This file was created by <jug> Tue Sep 29 09:41:09 1998
#LyX 0.12 (C) 1995-1998 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\begin_preamble
\usepackage{boxedminipage}
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\paperorientation portrait
\topmargin 1cm
\headheight 0pt
\headsep 0pt
\footskip 0pt
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle empty

\layout Standard


\begin_inset LatexCommand \listoffigures

\end_inset 


\layout Standard

\begin_float fig 
\layout Standard


\latex latex 
[H]
\layout Standard
\align center 

\series bold 
\size largest 
An Example for using Minipages with Floating-Environment
\end_float 
 
\layout Standard

\begin_float fig 
\layout Standard


\latex latex 
[H] 
\backslash 
begin{boxedminipage}[c]{.46
\backslash 
linewidth}
\layout Standard

This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
\layout Standard


\latex latex 

\backslash 
end{boxedminipage}
\backslash 
hfill{}
\backslash 
begin{minipage}[c]{.23
\backslash 
linewidth}
\layout Standard
\align center 

\begin_inset Figure size 178 131
file /usr/local/share/lyx/clipart/platypus.eps
width 3 30
flags 9

\end_inset 


\layout Caption

Test 1
\layout Standard


\latex latex 

\backslash 
end{minipage}
\backslash 
hfill{}
\backslash 
begin{minipage}[c]{.23
\backslash 
linewidth}
\layout Standard
\align center 

\begin_inset Figure size 178 131
file /usr/local/share/lyx/clipart/platypus.eps
width 3 30
flags 9

\end_inset 


\layout Standard


\latex latex 

\backslash 
caption{
\latex default 
Test 2
\latex latex 
}
\layout Standard
\align center 

\begin_inset Figure size 178 131
file /usr/local/share/lyx/clipart/platypus.eps
width 3 30
flags 9

\end_inset 


\layout Standard


\latex latex 

\backslash 
caption{
\latex default 
Test 3
\latex latex 
}
\layout Standard


\latex latex 

\backslash 
end{minipage}
\end_float 
\layout LaTeX


\backslash 
begin{figure}[H]
\layout Standard
\pextra_type 2 \pextra_alignment 0 \pextra_widthp 46

This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text here.
 This is some text.
 This is some text here.
 This is some text here.
 
\layout Standard
\align center \pextra_type 2 \pextra_alignment 0 \pextra_hfill 1 \pextra_start_minipage 1 \pextra_widthp 46


\begin_inset Figure size 178 131
file /usr/local/share/lyx/clipart/platypus.eps
width 3 30
flags 9

\end_inset 


\layout Standard
\align center \pextra_type 2 \pextra_alignment 0 \pextra_widthp 46


\latex latex 

\backslash 
caption{
\latex default 
Test 4
\latex latex 
}
\layout Standard
\align center \pextra_type 2 \pextra_alignment 0 \pextra_widthp 46


\begin_inset Figure size 178 131
file /usr/local/share/lyx/clipart/platypus.eps
width 3 30
flags 9

\end_inset 


\layout Standard
\align center \pextra_type 2 \pextra_alignment 0 \pextra_widthp 46


\latex latex 

\backslash 
caption{
\latex default 
Test 5
\latex latex 
}
\layout Standard
\align center \pextra_type 2 \pextra_alignment 0 \pextra_widthp 46


\begin_inset Figure size 178 131
file /usr/local/share/lyx/clipart/platypus.eps
width 3 30
flags 9

\end_inset 


\layout Standard
\align center \pextra_type 2 \pextra_alignment 0 \pextra_widthp 46


\latex latex 

\backslash 
caption{
\latex default 
Test 6
\latex latex 
}
\layout LaTeX


\backslash 
end{figure}
\layout Standard

\begin_float fig 
\layout Standard


\latex latex 
[H]
\layout Standard
\align center 

\begin_inset Figure size 178 131
file /usr/local/share/lyx/clipart/platypus.eps
width 3 30
flags 9

\end_inset 


\layout Standard


\latex latex 

\backslash 
caption[ttt]{Test 1}
\end_float 
\the_end

Reply via email to