On Sun, Nov 18, 2001 at 10:02:44PM +0100, Herbert Voss wrote:
> >For a real solution, use the following:
> >\newcommand\centerAlign[1]{%
> >  \raisebox{-0.5\height}{#1}%
> >}
> >
> >And then put \centerAlign{} around both images in the table.
> >
> doesn't work for me

Here is an example file.
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\newcommand\centerAlign[1]{%
  \raisebox{-0.5\height}{#1}%
}                                                                               
\usepackage{graphics}
\end_preamble
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\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 Standard


\begin_inset  Tabular
<lyxtabular version="2" rows="1" columns="2">
<features rotate="false" islongtable="false" endhead="0" endfirsthead="0" endfoot="0" 
endlastfoot="0">
<column alignment="center" valignment="top" leftline="true" rightline="false" width="" 
special="">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="" 
special="">
<row topline="true" bottomline="true" newpage="false">
<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" 
width="" special="">
\begin_inset Text

\layout Standard


\latex latex 

\backslash 
centerAlign{
\begin_inset Figure size 71 72
file test1.eps
height 2 1
flags 9

\end_inset 

}
\end_inset 
</cell>
<cell multicolumn="0" alignment="center" valignment="top" topline="true" 
bottomline="false" leftline="true" rightline="true" rotate="false" usebox="none" 
width="" special="">
\begin_inset Text

\layout Standard


\latex latex 

\backslash 
centerAlign{
\begin_inset Figure size 213 216
file test1.eps
height 2 3
flags 9

\end_inset 

}
\end_inset 
</cell>
</row>
</lyxtabular>

\end_inset 


\the_end

Attachment: test1.eps
Description: PostScript document

Reply via email to