7

I have the same question as this one, but for lyx

Resuming a list

Any suggestions?

Menny
  • 247

1 Answers1

12

First, go to Document --> Settings --> Modules, add the Customisable lists (enumitem) module:

enter image description here

For LyX 2.3+

After adding the module, you can use the Enumerate-Resume layout. This will resume previous enumerations, if they exist, both in LyX and the output document.

enter image description here

Alternatively

Write the two lists with text between them, and to add the [resume] option, right click the first entry in the second list, and choose Enumerate options (shortcut Alt + A1):

enter image description here

In the inset that shows up, type resume:

enter image description here

LyX and output:

enter image description here

Torbjørn T.
  • 206,688
  • 2
    After adding the module, you can also use the "Enumerate-resume" environment. In LyX 2.3.0 (but not before), if you do it that way LyX will also display the correct number (e.g. in the example above "Fourth" will be prefixed with a "4." instead of a "1."). – scottkosty Apr 22 '17 at 01:29
  • @scottkosty thanks the "enumerate-resume" environment works and resumes numbering in the compiled PDF, but it doesn't display the correct number in LyX. – Paul Rougieux Feb 03 '18 at 16:36
  • @PaulRougieux Are you using LyX 2.3? As scottkosty said, the numbering will not be correct in older versions. – Torbjørn T. Feb 03 '18 at 17:31
  • Torbjørn T. is right. Note also that 2.3.0 has not yet been released. If you are interested in testing 2.3.0rc2 (a test version that will not be too different from 2.3.0), we would be very interested in any feedback. But you should not use 2.3.0rc2 for serious work. – scottkosty Feb 03 '18 at 17:39
  • @TorbjørnT. yes I'm using Lyx V2.2.2. Thanks now I know why numbering doesn't display properly. – Paul Rougieux Feb 06 '18 at 13:06
  • Is there a way to perform the resume using a local layout? – Anthony Macks Jan 23 '21 at 03:31
  • @AnthonyMacks Don't know. I guess maybe copy all the relevant code from the module file to the local layout, but I don't know if that works. – Torbjørn T. Jan 24 '21 at 21:01