I want to be able to use footnotes in LyX while preserving the LyX table structure. Any way to force LyX to use a different environment for its built-in tables that allows that? I.e. some code to put in the preamble.
This page recommended longtabular (couldn't find it anywhere) or tabu.
Edit: I tried to use the approach in this question to replace tabular with tabu, but it seems to get pdftex stuck in an infinite loop.
% Replace tabular with tabu.
\let\oldtabular\tabular
\let\endoldtabular\endtabular
\renewenvironment{tabular}{\tabu}{\endtabu}
Edit 2: As it has been indicated that tabu is unreliable/unmaintained, any other environment you would recommend for this purpose?
threeparttable: http://www.ctan.org/pkg/threeparttable – Marco Daniel Apr 05 '13 at 12:39threeparttableworks, but is not a drop-in replacement so I have to write a lot of ERT around the table. – Dan Apr 05 '13 at 12:51