<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 10/21/19 8:56 AM, EugĂ©nio Costa
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACw4b3OWYFh-3RDiORJxMS4-e__171LL_dtd0eDxX1W+psOK9w@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi Lyx users and developers</div>
        <div><br>
        </div>
        <div>I am using LyX Version 2.3.1 on Fedora Linux.<br>
        </div>
        <div>I need help to get a Multi-level numbered list this style:</div>
        <div><br>
        </div>
        <div>1. <br>
        </div>
        <div>1.1</div>
        <div>1.2</div>
        <div>1.2.1</div>
        <div>1.2.2</div>
        <div>2</div>
        <div><br>
        </div>
        <div>The default is:</div>
        <div>1.</div>
        <div>(a)</div>
        <div>(b)<br>
        </div>
        <div>i.</div>
        <div>ii.<br>
        </div>
        <div>2.</div>
        <div><br>
        </div>
        <div>This such simple thing is a pain in the ass....</div>
        <div>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.<br>
        </div>
        <div>I did't find a solution to follow.<br>
        </div>
        <div>Would be great to have this option without the need to
          write code, as a simple document option, for a newer version.</div>
        <div><br>
        </div>
        <div>Thank you in advance for the help!</div>
        <div><br>
        </div>
        <div>Coinegue<br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
    </blockquote>
    You can use the enumitem module and add a couple of lines to the
    document preamble:<br>
    <br>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">\setlist[enumerate,2]{label = \theenumi.\arabic*}</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">\setlist[enumerate,3]{label = \theenumii.\arabic*}</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">It will not change how the numbering looks in the LyX GUI, but it will change how it looks in the compiled document. See the attached MWE. If you want to use this regularly, you can create a module of your own to implement it. You can also, in your new module, adjust the way numbering looks in the GUI, if it really bothers you.</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Paul</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <style type="text/css">
p, li { white-space: pre-wrap; }
</style>
  </body>
</html>