Andre Poenitz schrieb: > On Fri, Oct 27, 2006 at 11:05:51AM +0200, Edwin Leuven wrote: >> sometime ago i wrote: >> >> -------- Original Message -------- >> Subject: export to latex >> Date: Tue, 02 May 2006 20:53:01 +0200 >> From: Edwin Leuven <[EMAIL PROTECTED]> >> To: LyX Developers <lyx-devel@lists.lyx.org> >> >> an old annoyance of mine is the following: >> >> when exporting to latex, each cell of a table is on its own line. >> >> with the attached each row is on its own line which i find much better. >> >> opinions (flames)? >> >> thanks, ed. >> -------- Original Message -------- >> >> >> >> i'd like to put it in. objections? > >> Index: src/tabular.C >> =================================================================== >> --- src/tabular.C (revision 13787) >> +++ src/tabular.C (working copy) >> @@ -2034,7 +2034,7 @@ >> >> ret += TeXCellPostamble(os, cell); >> if (!isLastCellInRow(cell)) { // not last cell in row >> - os << "&\n"; >> + os << " & "; > > Be _very_ careful when adding spaces to .tex output.
not in this case, where a space is useful for a pretty output. > Having all in one row make only sense if the rows are short... the LaTeX export of tables from LyX is a mess ... at least you should have & cell entry & cell entry\\ ... Herbert