In the lyx-1.1.5fix1-1, under Help->Extended,
Sec 5.5 Extra Space Between Table Rows, it says:

"LaTeX allows you to put a bit of extra space between rows in a table
by giving an optional argument to the end-of-row specifier (\\). LyX
has not yet implemented this in a formal way, so here are two dirty
little tricks to do the same job.

...In the LaTeX preamble, add the following command definition:

\newcommand{\extratablespace}[1]{\noalign{vskip#1}} This command takes
a single argument---the amount of space you would like to insert.
Insert the command in the first column of the row after where you
would like the space to appear."


So I add that \newcommand to the preamble, and make the following table,
just selecting a 3x3 table from the Insert menu, and adding the letters,
and the TeX \extratablespace{3ex} bit:

+----------------------------------+---------------+----------------+
| aaaaaaaaaaaa                     | bbbbbbbbbbbbb | cccccccccccccc |
+----------------------------------+---------------+----------------+
| \extratablespace{3ex} dddddddddd | eeee          | ffffffff       |
+----------------------------------+---------------+----------------+
| gggggggggggggggg                 | hhhhhh        | iii            |
+----------------------------------+---------------+----------------+

-----------------end of input-----------------

The above just hangs with the watch symbol when File->View dvi is run.
I have to kill LyX from outside.  If I toggle the TeX off the
\extratablespace command, xdvi does its job and shows me the table,
without the extra space, of course.

Is there a way to avoid this sort of failure?  It's inconvenient to
have to kill LyX so abruptly from outside.

Is this Extended "feature" broken? Can I fix it?  Am I making some
silly syntax error?  If so, it'd be nice if it weren't so catastrophic.
This is my first attempt at using a \newcommand in the preamble, so
maybe I'm committing some stupid newbie error.

I recently installed the lyx-1.1.5fix1-1.i386.rpm from the sylvan.com
site.  It seemed to be working fine, until this...

The table example for doing this sort of thing on Herbert Voss' site
works as advertised, using \def instead of \newcommand and no arguments.
I'm really just concerned with why this example from the docs blew
up this way.

TIA

Jim

Reply via email to