(apparently first attempted failed for lyx-users, so I'm reposting)

Dear all
Sorry for the cross-posting, but this is at the same time posting a
solution and requesting a feature.

I've been using table floats with subfloats and normal tables, and
they work nicely. However, when the float becomes too long for the
page---because of the length of the subtables---, it will not break.
I've tried to use longtables in the subfloats, but compilation fails.
This seems to be normal behaviour for LaTeX [1].

Today I managed to get working in LyX table "floats" that break over
multiple pages. The first solution is the equivalent of having table
floats that can extend over as many pages as there are table subfloats
(see the .pdf file [3]). It involves putting table floats within
\usepackage{subfloat}
\begin{subtables}
[..]
\end{subtables}

with a couple more ERT hacks that you will find in the attached .lyx
file [4]. Although this will do the job in many cases, the solution is
still unsatisfactory: it will not work if at least one subtable
extends over two pages or more.

The second solution is the equivalent of having table floats
containing longtables (see .pdf file [5]). Similarly, it involves putting
longtables within
\usepackage{subfloat}
\begin{subtables}
[..]
\end{subtables}

and some ERT hacks. See .lyx document [6]. Both solutions were
inspired from this LaTeX
[2] thread.

As for the request, It would be nice if LyX supported these two
constructs natively, via the GUI. Especially since at first sight this
seems impossible to achieve in LaTeX: combine a table float and
longtable subfloats. Should I file a bug report?

Please let me know
Liviu

[1] http://www.tex.ac.uk/cgi-bin/texfaq2html?label=longtab
[2] http://www.tug.org/pipermail/texhax/2008-June/010577.html
[3] http://s000.tinyupload.com/index.php?file_id=14139438047625482515
[4] http://s000.tinyupload.com/index.php?file_id=39990798368762771776
[5] http://s000.tinyupload.com/index.php?file_id=37710379096139728420
[6] http://s000.tinyupload.com/index.php?file_id=02514420116119327209



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail

Reply via email to