> Begin forwarded message:
> 
> From: Hal Kierstead <[email protected]>
> Subject: Re: No first line in double enumeration
> Date: November 26, 2020 at 9:40:46 AM MST
> To: Richard Kimberly Heck <[email protected]>
> 
> 
> 
>> On Nov 26, 2020, at 9:37 AM, Richard Kimberly Heck <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> On 11/26/20 10:22 AM, Hal Kierstead wrote:
>>> 
>>> 
>>>> 
>>>> 
>>>> On 2020-11-25 21:22 , Hal Kierstead wrote:
>>>>>> All -
>>>>>> 
>>>>>> Is there a way to enter the following code in LyX without ERT:
>>>>>> 
>>>>>> \begin{enumerate}
>>>>>> \item 
>>>>>> \begin{enumerate}
>>>>>> \item a
>>>>>> \item b
>>>>>> \end{enumerate}
>>>>>> \item 2
>>>>>> \end{enumerate}
>>>>>> 
>>>>>> 
>>>>>> Thanks,
>>>>>> 
>>>>>> Hal
>>>>>> 
>>>>> 
>>>>> Begin forwarded message:
>>>>> 
>>>>> From: Dr Eberhard W Lisse <[email protected] <mailto:[email protected]>>
>>>>> Subject: Re: No first line in double enumeration
>>>>> Date: November 26, 2020 at 4:51:43 AM MST
>>>>> To: [email protected] <mailto:[email protected]>
>>>>> 
>>>>> RTFM,
>>>>> 
>>>>> the TAB button is your friend.
>>>>> 
>>>>> 
>>>>> el
>>> 
>>>> To add a bit more: This is what "Increase List Depth" does. Find it on
>>>> the edit menu.
>>> 
>>> 
>>>> Riki-- 
>>>> lyx-users mailing list
>>>> [email protected] <mailto:[email protected]>
>>>> http://lists.lyx.org/mailman/listinfo/lyx-users 
>>>> <http://lists.lyx.org/mailman/listinfo/lyx-users>
>>> 
>>> 
>>> Thanks for the suggestions, but unfortunately they do not address my issue. 
>>> I want the secondary enumeration to start on the first line of the primary 
>>> enumeration. It works in LaTex.
>>> 
>>> I tried the tab button first. The problem is that LyX does not like empty 
>>> lines. I can use a hard space for the first item, but then I get an empty 
>>> line of output that I do not want. If I erase the hard space in LyX and 
>>> then preview, I get what I want, but as soon as I move the cursor to I new 
>>> paragraph, LyX replaces the empty line with \item a .
>> OK, I see the problem. Two solutions:
>> 
>> The simplest is to add an empty ERT box to the first item. This will prevent 
>> LyX from collapsing the empty element and adds nothing to the output.
>> Local Layout:
>> Format 66
>> Style Enumerate
>> KeepEmpty 1
>> End
>> The "KeepEmpty" layout tag instructs LyX not to delete empty lines.
>> 
>> Riki
>> 
>> 
>> 
> (1), the empty ERT box, is easy and does exactly what I wanted.
> Thanks,
> Hal

-- 
lyx-users mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to