Numbered list - multi-level

Ricardo Berlasso rgb.mldc at gmail.com
Tue Oct 22 11:26:59 UTC 2019


El mar., 22 oct. 2019 a las 10:24, Eugénio Costa (<coinegue at gmail.com>)
escribió:

> Hi Ricardo,
>
> Thank you very much for your support!
> I managed to do it, putting a TeX box in the beginning  of the document
> with the code.
> Only problem is that the result only comes in the output, which is great
> and does the job.
>
> But it is not so easy to work on the document without the numbers, as
> there is a need to reference other numbers.
> There is a need to double check which letter or character corresponds to a
> nested number in the output.
> In my opinion this is a simple feature that is essential and could be
> easier to choose within the graphical interface.
>

I think it's possible to change how LyX display things while editing the
document, but I have no experience changing that, maybe other users in the
list can help in that point.

Regards,
Ricardo


>
> I am a general user, not academic or coder and I think that Lyx is a
> powerful tool for productive work.
> But it also requires time to learn and takes in productivity with these
> simple things.
> Great book, thank you, I want to put the time on this to get more
> knowledge about Lyx.
>
> Thank you!!!
> Obrigado ;)
>
> Eugénio
>
>
> On Mon, 21 Oct 2019 at 22:37, Ricardo Berlasso <rgb.mldc at gmail.com> wrote:
>
>> Hi,
>>
>> El lun., 21 oct. 2019 a las 18:34, Eugénio Costa (<coinegue at gmail.com>)
>> escribió:
>>
>>> Hi Lyx users and developers
>>>
>>> I am using LyX Version 2.3.1 on Fedora Linux.
>>> I need help to get a Multi-level numbered list this style:
>>>
>>> 1.
>>> 1.1
>>> 1.2
>>> 1.2.1
>>> 1.2.2
>>> 2
>>>
>>>
>> Right now, there is no other way than writing some code.
>>
>> I describe the procedure in section 9.2 of my book
>>
>> https://frommindtotype.wordpress.com/lyx-book/
>>
>> At the beginning of the document, in a TeX box you need to write
>> something like this
>>
>> \renewcommand{\theenumi}{\arabic{enumi}}
>> \renewcommand{\labelenumi}{{\theenumi}}
>> \renewcommand{\theenumii}{\arabic{enumii}}
>> \renewcommand{\labelenumii}{{\theenumi}.{\theenumii}}
>> \renewcommand{\theenumiii}{\arabic{enumiii}}
>> \renewcommand{\labelenumiii}{{\theenumi}.{\theenumii}.{\theenumiii}}
>> \renewcommand{\theenumiv}{\arabic{enumiv}}
>>
>> \renewcommand{\labelenumiv}{{\theenumi}.{\theenumii}.{\theenumiii}.{\theenumiv}}
>>
>> This will set the list up to the fourth level, always using numbers.
>>
>> Regards,
>> Ricardo
>>
>>
>>
>>
>>
>>> The default is:
>>> 1.
>>> (a)
>>> (b)
>>> i.
>>> ii.
>>> 2.
>>>
>>> This such simple thing is a pain in the ass....
>>> I need to write a law contract/agreement, where the text refers to
>>> previous points, and there is no other way to do it than with numbers.
>>> I did't find a solution to follow.
>>> Would be great to have this option without the need to write code, as a
>>> simple document option, for a newer version.
>>>
>>
>> Thank you in advance for the help!
>>>
>>> Coinegue
>>>
>>> --
>>> lyx-users mailing list
>>> lyx-users at lists.lyx.org
>>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20191022/d862fab6/attachment-0001.html>


More information about the lyx-users mailing list