Hi,

El lun., 21 oct. 2019 a las 18:34, Eugénio Costa (<[email protected]>)
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
> [email protected]
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to