Re: Empty \item

2008-12-13 Thread Guenter Milde
On 2008-12-12, rgheck wrote:
 Máté Salát wrote:
 Hello,

 If you are in an enumerate environment what is the recommended way for 
 creating an \item element with no content? You may need it to have a 
 sub enumerate environment start at the same line as the previous \item 
 element starts in the outer enumerate.

 I could prevent the empty \item from disappearing by putting an empty 
 ERT box after it. But there may be a more elegant way for doing it.

 That's pretty much how people do it.

IMO, a LyX note is slightly more elegant (as this is a workaround for a
LyX problem where raw LaTeX (ERT) is not needed) but opinions might
differ.

Günter



Re: Empty \item

2008-12-13 Thread Guenter Milde
On 2008-12-12, rgheck wrote:
 Máté Salát wrote:
 Hello,

 If you are in an enumerate environment what is the recommended way for 
 creating an \item element with no content? You may need it to have a 
 sub enumerate environment start at the same line as the previous \item 
 element starts in the outer enumerate.

 I could prevent the empty \item from disappearing by putting an empty 
 ERT box after it. But there may be a more elegant way for doing it.

 That's pretty much how people do it.

IMO, a LyX note is slightly more elegant (as this is a workaround for a
LyX problem where raw LaTeX (ERT) is not needed) but opinions might
differ.

Günter



Re: Empty \item

2008-12-13 Thread Guenter Milde
On 2008-12-12, rgheck wrote:
> Máté Salát wrote:
>> Hello,

>> If you are in an enumerate environment what is the recommended way for 
>> creating an \item element with no content? You may need it to have a 
>> sub enumerate environment start at the same line as the previous \item 
>> element starts in the outer enumerate.

>> I could prevent the empty \item from disappearing by putting an empty 
>> ERT box after it. But there may be a more elegant way for doing it.

> That's pretty much how people do it.

IMO, a LyX note is slightly more elegant (as this is a workaround for a
LyX problem where raw LaTeX (ERT) is not needed) but opinions might
differ.

Günter



Empty \item

2008-12-12 Thread Máté Salát
Hello,

If you are in an enumerate environment what is the recommended way for creating 
an \item element with no content? You may need it to have a sub enumerate 
environment start at the same line as the previous \item element starts in the 
outer enumerate.

I could prevent the empty \item from disappearing by putting an empty ERT box 
after it. But there may be a more elegant way for doing it.

Regards, Mátéattachment: Enumerate.png

Re: Empty \item

2008-12-12 Thread rgheck

Máté Salát wrote:

Hello,
 
If you are in an enumerate environment what is the recommended way for 
creating an \item element with no content? You may need it to have a 
sub enumerate environment start at the same line as the previous \item 
element starts in the outer enumerate.
 
I could prevent the empty \item from disappearing by putting an empty 
ERT box after it. But there may be a more elegant way for doing it.
 

That's pretty much how people do it.


Empty \item

2008-12-12 Thread Máté Salát
Hello,

If you are in an enumerate environment what is the recommended way for creating 
an \item element with no content? You may need it to have a sub enumerate 
environment start at the same line as the previous \item element starts in the 
outer enumerate.

I could prevent the empty \item from disappearing by putting an empty ERT box 
after it. But there may be a more elegant way for doing it.

Regards, Mátéattachment: Enumerate.png

Re: Empty \item

2008-12-12 Thread rgheck

Máté Salát wrote:

Hello,
 
If you are in an enumerate environment what is the recommended way for 
creating an \item element with no content? You may need it to have a 
sub enumerate environment start at the same line as the previous \item 
element starts in the outer enumerate.
 
I could prevent the empty \item from disappearing by putting an empty 
ERT box after it. But there may be a more elegant way for doing it.
 

That's pretty much how people do it.


Empty \item

2008-12-12 Thread Máté Salát
Hello,

If you are in an enumerate environment what is the recommended way for creating 
an \item element with no content? You may need it to have a sub enumerate 
environment start at the same line as the previous \item element starts in the 
outer enumerate.

I could prevent the empty \item from disappearing by putting an empty ERT box 
after it. But there may be a more elegant way for doing it.

Regards, Máté<>

Re: Empty \item

2008-12-12 Thread rgheck

Máté Salát wrote:

Hello,
 
If you are in an enumerate environment what is the recommended way for 
creating an \item element with no content? You may need it to have a 
sub enumerate environment start at the same line as the previous \item 
element starts in the outer enumerate.
 
I could prevent the empty \item from disappearing by putting an empty 
ERT box after it. But there may be a more elegant way for doing it.
 

That's pretty much how people do it.