<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'><pre class="tw-data-text tw-text-large XcVN5d tw-ta" data-placeholder="Traduction" id="tw-target-text" style="text-align:left" dir="ltr"><span lang="en">Thank you Paul for your help and for your time reading me.
I keep your solution while waiting for something better.
I would prefer, as you understood, to change the part written in preamble‚Ķ<br><br>Didier<br></span></pre><br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
  
    
  
  
    <div class="moz-cite-prefix">On 11/12/20 7:29 AM,
      <a class="moz-txt-link-abbreviated" href="mailto:didiergabory@free.fr" target="_blank">didiergabory@free.fr</a> wrote:<br>
    </div>
    <blockquote cite="mid:606702184.7248308.1605184189819.JavaMail.root@zimbra62-e11.priv.proxad.net">
      
      <style>p { margin: 0; }</style>
      <div style="font-family: arial,helvetica,sans-serif; font-size:
        12pt; color: #000000">
        <div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
          <style>p { margin: 0; }</style>
          <div style="font-family: arial,helvetica,sans-serif;
            font-size: 12pt; color: #000000">
            <div>Hello,</div>
            <div><br>
            </div>
            <div><span class="tlid-translation translation" lang="en"><span title="" class="">The pdf shows the alignment issue
                  which I cannot resolve. </span></span><span class="tlid-translation translation" lang="en"><span title="" class=""><span class="tlid-translation
                    translation" lang="en"><span title="" class="">I
                      tried to understand the doc of the enumitem
                      package but how to say... Not very easy...</span></span></span></span></div>
            <div><span class="tlid-translation translation" lang="en"><span title="" class=""><span class="tlid-translation
                    translation" lang="en"><span title="" class=""></span></span></span><br>
                <span title="" class="">As you can see the label of the
                  first item, in second level enumerate, is shifted to
                  the right ...</span><br>
                <br>
                <span title="">I attach a mwe in lyx as well as the
                  generated tex.</span></span></div>
            <div><span class="tlid-translation translation" lang="en"><span title=""><br>
                </span></span></div>
            <div><br>
              <span class="tlid-translation translation" lang="en"><span title=""><span class="tlid-translation translation" lang="en"><span title="" class="">Here are the lines
                      entered in the preamble:</span></span></span></span></div>
            <div><span class="tlid-translation translation" lang="en"><span title=""><span class="tlid-translation translation" lang="en"><span title="" class=""><br>
                    </span></span></span></span></div>
            <div><span class="tlid-translation translation" lang="en"><span title=""><span class="tlid-translation translation" lang="en"><span title="" class="">\setlist[enumerate]{font=\bfseries}<br>
\setlist[enumerate,1]{label=\textbf{\emph{Q\,\arabic*.}}, %</span></span></span></span></div>
            <div><span class="tlid-translation translation" lang="en"><span title=""><span class="tlid-translation translation" lang="en"><span title="" class=""><span style="white-space:pre">    </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span>labelwidth=30pt,
                      align=left, labelsep*=2pt,<span style="white-space:pre"></span>
                      leftmargin=0pt, %</span></span></span></span></div>
            <div><span class="tlid-translation translation" lang="en"><span title=""><span class="tlid-translation translation" lang="en"><span title="" class=""><span style="white-space:pre">    </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre"></span>labelindent=0pt,
                      itemindent=!,
                      listparindent=0pt}                                <br>
                      \setlist[enumerate,2]{label=\emph{\alph*)}, %</span></span></span></span></div>
            <div><span class="tlid-translation translation" lang="en"><span title=""><span class="tlid-translation translation" lang="en"><span title="" class=""><span style="white-space:pre">    </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span>labelwidth=10pt,
                      align=left, labelsep*=2pt,leftmargin=30pt,%</span></span></span></span></div>
            <div><span class="tlid-translation translation" lang="en"><span title=""><span class="tlid-translation translation" lang="en"><span title="" class=""><span style="white-space:pre">    </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span>labelindent=30pt,
                      itemindent=!, listparindent=0pt}</span></span></span></span></div>
            <div><span class="tlid-translation translation" lang="en"><span title=""><span class="tlid-translation translation" lang="en"><span title="" class=""><br>
                    </span></span></span></span></div>
            <div><br>
              <span class="tlid-translation translation" lang="en"><span title=""><span class="tlid-translation translation" lang="en"><span title="" class=""><span class="tlid-translation translation" lang="en"><span title="" class="">Thanks for your help.</span></span></span></span></span></span></div>
            <div><span class="tlid-translation translation" lang="en"><span title=""><span class="tlid-translation translation" lang="en"><span title="" class=""><span class="tlid-translation translation" lang="en"><span title="" class=""><br>
                        </span></span></span></span></span></span></div>
            <div><span class="tlid-translation translation" lang="en"><span title=""><span class="tlid-translation translation" lang="en"><span title="" class=""><span class="tlid-translation translation" lang="en"><span title="" class="">Didier.<br>
                        </span></span></span></span></span></span></div>
          </div>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
    </blockquote>
    I don't know the correct way to do this, but the attached hack seems
    to get the job done. The vertical spacing adjustment (-17pt), which
    brings the first item of the inner list onto the same line as the
    outer list label, was done by trial and error and may not line up
    perfectly. There likely is a better way to get the correct value,
    but it is (way) beyond my LaTeX skills.<br>
    <br>
    Paul<br>
    <br>
  

<br>-- <br>lyx-users mailing list<br>lyx-users@lists.lyx.org<br>http://lists.lyx.org/mailman/listinfo/lyx-users<br></blockquote><br></div></body></html>