Dekel Tsur wrote:
>
> > \newcommand\myTable{%
> > \begin{tabular}{|c|c|}\hline
> > a & b \\\hline
> > c & d\\\hline
> > \end{tabular}%
> > }
> >
> > ... the float ...
> > \caption{a very nice caption with a nice \protect\myTable}
>
> But with the current lyx code, it would be very hard to generate the latex
> code above.
it's the same situation as in headers or footers, if you want a table
there.
you can use always a lyx table
\newcommand\myTable{%
... the lyx generated table ...
}
and the rest as usual
Herbert
--
http://www.educat.hu-berlin.de/~voss/lyx/