Fwd: I forgot to send to LyX: No first line in double enumeration
Hal Kierstead
hal.kierstead at me.com
Thu Nov 26 16:43:11 UTC 2020
> Begin forwarded message:
>
> From: Hal Kierstead <hal.kierstead at me.com>
> Subject: Re: No first line in double enumeration
> Date: November 26, 2020 at 9:40:46 AM MST
> To: Richard Kimberly Heck <rikiheck at lyx.org>
>
>
>
>> On Nov 26, 2020, at 9:37 AM, Richard Kimberly Heck <rikiheck at lyx.org <mailto:rikiheck at lyx.org>> 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 <nospam at lisse.NA <mailto:nospam at lisse.NA>>
>>>>> Subject: Re: No first line in double enumeration
>>>>> Date: November 26, 2020 at 4:51:43 AM MST
>>>>> To: lyx-users at lists.lyx.org <mailto:lyx-users at lists.lyx.org>
>>>>>
>>>>> 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
>>>> lyx-users at lists.lyx.org <mailto:lyx-users at lists.lyx.org>
>>>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20201126/7378add5/attachment.html>
More information about the lyx-users
mailing list