Download Halibut User Manual
Transcript
3.3.2.4 Continuing list items into further paragraphs
All three of the above list types assume that each list item is a single paragraph. For a short,
snappy list in which each item is likely to be only one or two words, this is perfectly sufficient;
but occasionally you will find you want to include several paragraphs in a single list item, or
even to nest other types of paragraph (such as code paragraphs, or other lists) inside a list item.
To do this, you use the \lcont command. This is a command which can span multiple
paragraphs.
After the first paragraph of a list item, include the text \lcont{. This indicates that the
subsequent paragraph(s) are a continuation of the list item that has just been seen. So you
can include further paragraphs, and eventually include a closing brace } to finish the list
continuation. After that, you can either continue adding other items to the original list, or stop
immediately and return to writing normal paragraphs of text.
Here's a (long) example.
Here's a list:
\n One. This item is followed by a code paragraph:
\lcont{
\c code
\c paragraph
}
\n Two. Now when I say \q{two}, I mean:
\lcont{
\n Two, part one.
\n Two, part two.
\n Two, part three.
}
\n Three.
The output produced by this fragment is:
Here's a list:
1. One. This item is followed by a code paragraph:
code
paragraph
2. Two. Now when I say ‘two’, I mean:
21