On Wed, Jan 20, 2016 at 12:59 AM, Uwe Stöhr <uwesto...@web.de> wrote:
>
>> I am trying to increase the height of all rows of a specific table of
>> a document (not all tables).
>
> See sec. 2.14.1 "Row Spacing" of the EmbeddedObjects manual that you find in
> LyX's help menu.
>
> There you find that you can add e.g. this code to your document preamble:
>
> % used to have extra space in table cells
> \@ifundefined{extrarowheight}
>  {\usepackage{array}}{}
> \setlength{\extrarowheight}{2pt}
>
> If you only want the 2pt space only for one table, add this as TeX code
> before the table:
>
> % used to have extra space in table cells
> \@ifundefined{extrarowheight}
>  {\usepackage{array}}{}
> \setlength{\extrarowheight}{2pt}
>
> and this behind it:
>
> % used to have extra space in table cells
> \@ifundefined{extrarowheight}
>  {\usepackage{array}}{}
> \setlength{\extrarowheight}{0pt}

Thanks, Uwe. There was an error with

\@ifundefined{extrarowheight}
{\usepackage{array}}{}

but after having removed that, it works perfectly. I mean, it suffices to use

\setlength{\extrarowheight}{2pt}

and

\setlength{\extrarowheight}{0pt}

Paul

Reply via email to