Re: Tables inside an enumerate environment

2006-12-16 Thread Hillel

Thanks Uwe

I did try to play with the content alignment setting, but it didn't solve
all my problems. The remaining problem is that even when the content
alignment is set to middle, the top of the box is aligned with the *bottom*
of the text line. What I need is to get the top of the box aligned with the
*top* of the text line.

Is there a way I can get that effect?

On 12/16/06, Uwe Stöhr  wrote:



Set the box content alignment to middle.
Attached an example.
I'll add this hint to the documentation.

regards Uwe





Re: Tables inside an enumerate environment

2006-12-16 Thread Hillel

Thanks Uwe

I did try to play with the content alignment setting, but it didn't solve
all my problems. The remaining problem is that even when the content
alignment is set to middle, the top of the box is aligned with the *bottom*
of the text line. What I need is to get the top of the box aligned with the
*top* of the text line.

Is there a way I can get that effect?

On 12/16/06, Uwe Stöhr  wrote:



Set the box content alignment to middle.
Attached an example.
I'll add this hint to the documentation.

regards Uwe





Re: Tables inside an enumerate environment

2006-12-16 Thread Hillel

Thanks Uwe

I did try to play with the "content alignment" setting, but it didn't solve
all my problems. The remaining problem is that even when the "content
alignment" is set to middle, the top of the box is aligned with the *bottom*
of the text line. What I need is to get the top of the box aligned with the
*top* of the text line.

Is there a way I can get that effect?

On 12/16/06, Uwe Stöhr  wrote:



Set the box content alignment to "middle".
Attached an example.
I'll add this hint to the documentation.

regards Uwe





Re: Tables inside an enumerate environment

2006-12-15 Thread Hillel

I tried your suggestion and read the docs, but for some reason I can't get
it right.

I created a simple lyx file, with a few words of text followed by a box that
holds a table with multiple rows. When I set the box vertical alignment to
bottom, the box is correctly aligned. However, when I set the box vertical
alignment to middle or top there is no difference in the output. In both
cases the preceding line of text if aligned to the middle of the table.
Another interesting thing is that when in addition to Box Vertical - Top,
I also set Content Vertical - middle (instead of the default Content
Vertical - Top), The box top suddenly does align with the text line,
although its still bad since its the box top is aligned with the text line
*bottom* part.

My goal is to get the top of the text line aligned to the top of the box. Is
this a bug or am I doing something wrong?

--
Lyx Version 1.4.3
Latex 2003/12/01
Hillel

On 12/13/06, Uwe Stöhr [EMAIL PROTECTED] wrote:


Hillel schrieb:

 I am new to LyX and I'm trying to use tables inside an enumerate
 environment. My problem is that with respect to vertical alignment, the
 number (of the current enumerate item) is aligned to the vertical center
of
 the table, while I want it aligned to its top.

Put the table inside into a minipage and set the alignment top or
bottom for the minipage box.
(See chapter 5.2 and 5.4 of the Extended-Insets manual:
http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets )

regards Uwe



Re: Tables inside an enumerate environment

2006-12-15 Thread Hillel

I tried your suggestion and read the docs, but for some reason I can't get
it right.

I created a simple lyx file, with a few words of text followed by a box that
holds a table with multiple rows. When I set the box vertical alignment to
bottom, the box is correctly aligned. However, when I set the box vertical
alignment to middle or top there is no difference in the output. In both
cases the preceding line of text if aligned to the middle of the table.
Another interesting thing is that when in addition to Box Vertical - Top,
I also set Content Vertical - middle (instead of the default Content
Vertical - Top), The box top suddenly does align with the text line,
although its still bad since its the box top is aligned with the text line
*bottom* part.

My goal is to get the top of the text line aligned to the top of the box. Is
this a bug or am I doing something wrong?

--
Lyx Version 1.4.3
Latex 2003/12/01
Hillel

On 12/13/06, Uwe Stöhr [EMAIL PROTECTED] wrote:


Hillel schrieb:

 I am new to LyX and I'm trying to use tables inside an enumerate
 environment. My problem is that with respect to vertical alignment, the
 number (of the current enumerate item) is aligned to the vertical center
of
 the table, while I want it aligned to its top.

Put the table inside into a minipage and set the alignment top or
bottom for the minipage box.
(See chapter 5.2 and 5.4 of the Extended-Insets manual:
http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets )

regards Uwe



Re: Tables inside an enumerate environment

2006-12-15 Thread Hillel

I tried your suggestion and read the docs, but for some reason I can't get
it right.

I created a simple lyx file, with a few words of text followed by a box that
holds a table with multiple rows. When I set the box vertical alignment to
"bottom", the box is correctly aligned. However, when I set the box vertical
alignment to "middle" or "top" there is no difference in the output. In both
cases the preceding line of text if aligned to the middle of the table.
Another interesting thing is that when in addition to "Box Vertical - Top",
I also set "Content Vertical - middle" (instead of the default "Content
Vertical - Top"), The box top suddenly does align with the text line,
although its still bad since its the box top is aligned with the text line
*bottom* part.

My goal is to get the top of the text line aligned to the top of the box. Is
this a bug or am I doing something wrong?

--
Lyx Version 1.4.3
Latex 2003/12/01
Hillel

On 12/13/06, Uwe Stöhr <[EMAIL PROTECTED]> wrote:


Hillel schrieb:

> I am new to LyX and I'm trying to use tables inside an enumerate
> environment. My problem is that with respect to vertical alignment, the
> number (of the current enumerate item) is aligned to the vertical center
of
> the table, while I want it aligned to its top.

Put the table inside into a minipage and set the alignment "top" or
bottom" for the minipage box.
(See chapter 5.2 and 5.4 of the Extended-Insets manual:
http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets )

regards Uwe



Tables inside an enumerate environment

2006-12-12 Thread Hillel

Hi all

I am new to LyX and I'm trying to use tables inside an enumerate
environment. My problem is that with respect to vertical alignment, the
number (of the current enumerate item) is aligned to the vertical center of
the table, while I want it aligned to its top.

Does anyone know how do I get the desired effect?

Thanks,

--
Hillel


Tables inside an enumerate environment

2006-12-12 Thread Hillel

Hi all

I am new to LyX and I'm trying to use tables inside an enumerate
environment. My problem is that with respect to vertical alignment, the
number (of the current enumerate item) is aligned to the vertical center of
the table, while I want it aligned to its top.

Does anyone know how do I get the desired effect?

Thanks,

--
Hillel


Tables inside an enumerate environment

2006-12-12 Thread Hillel

Hi all

I am new to LyX and I'm trying to use tables inside an enumerate
environment. My problem is that with respect to vertical alignment, the
number (of the current enumerate item) is aligned to the vertical center of
the table, while I want it aligned to its top.

Does anyone know how do I get the desired effect?

Thanks,

--
Hillel