Go to page:

Search:   Help

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

LyX /

Numbering

Categories: Numbering
<< | Page list | >>

Introduction

You want the following result, or something like it:

1. Enumerate item

2. Enumerate item

Standard text, not embedded in enumerate environment.

3. Enumerate item

4. Enumerate item

More standard text, etc.

In other words, you would like an interrupted numbered list, or sequential numbering.

Setting up an interrupted list in enumerate

There are several ways to accomplish this using the familiar LaTeX enumerate environment,

or methods using either ERT or the preamble. The following packages are useful:

For a quick-and-dirty explanation with an example see this FAQ entry.

Using other environments/packages for interrupted numbered lists

Another solution would be to move away from enumerate and use packages such as covington.sty or gb4e.sty. These packages allow you to have sequential numbering throughout the text without resorting to ERT, and you can set up LyX to include them in your default document class. Covington is described here.

Reducing vertical space in enumerate lists

See this FAQ entry.

A LyX file containing an example of an interrupted list in enumerate using mdwlist

SuspendedEnumerate.lyx

A LyX file containing an example of alphabetical sub-items with Beamer class

AlphSubitem.lyx

Swapping level i and level ii numbering schemes

If you would like to write a document in which the first level of a numbered list uses the abc letters instead of "normal" numbers and the second level will be numbered with 1, 2, 3...:

a. bla bla bla

b. bla bla bla

c. bla bla

    1. bla bla bla

    2. bla bla bla

d. bla bla bla

The following FAQ page will get you started, but what you want is a bit more complex. Try this in the preamble:

\renewcommand{\theenumi}{\alph{enumi}} \renewcommand{\theenumii}{\arabic{enumii}} \renewcommand{\labelenumii}{\theenumii.}

Note that this changes all first and second level enumerations throughout the document. The enumerate environment will look as it always does in LyX, so you'll see the results only when you typeset the document in PDF.

Embedding on the same line in enumerate

By default, embedded lettered items in enumerate will appear on a different line from the numbered item:

1.

    (a) one
    (b) two
    (c) three

If you'd like enumerate to look like this,

1. (a) one

    (b) two
    (c) three

Put an empty ERT in the line with "1." It won't appear correctly within LyX, but it will typeset how you want. See also this FAQ page? for a more in depth explanation.

Numbering

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2010-08-06 10:34 CEST