Rich - attached is an example of how this can be done with minipages and a table float.. note the width setting of the minipages.. you can change this setting and adapt for any # tables.. this example follows directly from Herbert's tip for figures side-by-side...
nirmal
Rich Shepard wrote:
I want to place three small tables (logical truth tables) side-by-side in a float, each with its own caption.
#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass scrartcl \begin_preamble
\newrefformat{tab}{Table \ref{#1}}
\end_preamble
\language american
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize 11
\spacing single
\papersize letterpaper
\paperpackage a4
\use_geometry 1
\use_amsmath 1
\use_natbib 1
\use_numerical_citations 0
\paperorientation portrait
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip smallskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\layout Standard
This example shows how to place three tables side by side with captions
of their own..
follows directly from Herbert's example for figures side by side.
\layout Standard
\begin_inset Float table
wide false
collapsed true
\layout Standard
\hfill
\begin_inset Minipage
position 2
inner_position 0
height "0"
width "33col%"
collapsed false
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
centering
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
<features>
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Caption
Caption for Table1
\begin_inset LatexCommand \label{tab:Caption-for-Table1}
\end_inset
\end_inset
\hfill
\begin_inset Minipage
position 2
inner_position 0
height "0"
width "33col%"
collapsed false
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
centering
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
<features>
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Caption
Caption for Table2
\begin_inset LatexCommand \label{tab:Caption-for-Table2}
\end_inset
\end_inset
\hfill
\begin_inset Minipage
position 2
inner_position 0
height "0"
width "33col%"
collapsed false
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
centering
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
<features>
<column alignment="center" valignment="top" leftline="true" width="0">
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
</row>
<row topline="true" bottomline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\end_inset
</cell>
</row>
</lyxtabular>
\end_inset
\layout Caption
Caption for Table3
\begin_inset LatexCommand \label{tab:Caption-for-Table3}
\end_inset
\end_inset
\hfill
\end_inset
\layout Standard
Now one can refer to
\begin_inset LatexCommand \prettyref{tab:Caption-for-Table1}
\end_inset
,
\begin_inset LatexCommand \prettyref{tab:Caption-for-Table2}
\end_inset
or
\begin_inset LatexCommand \prettyref{tab:Caption-for-Table3}
\end_inset
