simplelist

simplelist — An undecorated list of single words or short phrases.

Synopsis

simplelist ::=

Attributes

Common attributes and common linking attributes.

Additional attributes:

  • columns (integer)
  • type (enumeration) [default=“vert”]
    • “horiz”
    • “vert”
    • “inline”

Description

A simplelist is a list of words or phrases. It offers a convenient alternative to the other list elements for inline content.

Processing expectations

Ironically, the processing expectations of a simplelist are quite complex. The value of the type attribute determines if the list is presented inline, or in a row- or column-major table. In the table cases, the columns attribute determines the number of columns in the table.

Attributes

Common attributes and common linking attributes.

any attribute

Any attribute in any other explicit namespace

columns

Specifies the number of columns for horizontal or vertical presentation

type

Specifies the type of list presentation

Enumerated values:
“horiz”

A tabular presentation in row-major order.

“vert”

A tabular presentation in column-major order.

“inline”

An inline presentation, usually a comma-delimited list.

Parents

These elements contain simplelist: abstract, acknowledgements, answer, appendix, article, bibliodiv, bibliography, bibliolist, blockquote, callout, calloutlist, caption, caution, chapter, colophon, cover, danger, dedication, dialogue, drama, entry, example, figure, footnote, glossary, glossdef, glossdiv, glosslist, important, index, informalexample, informalfigure, itemizedlist, legalnotice, linegroup, listitem, meta (db.meta.content), note, orderedlist, para, partintro, poetry, preface, procedure, qandadiv, qandaset, question, result, revdescription, section, setindex, sidebar, simplesect, step, taskprerequisites, taskrelated, tasksummary, textobject, tip, toc, variablelist, warning.

Children

The following elements occur in simplelist: member.

See Also

Related elements: calloutlist, itemizedlist, listitem, orderedlist, variablelist.

Examples

 1 |<article xmlns='http://docbook.org/ns/docbook'>
   |<title>Example simplelist</title>
   | 
   |<para>Here is a <tag>SimpleList</tag>, rendered inline: 
 5 |<simplelist type='inline'>
   |<member>A</member>
   |<member>B</member>
   |<member>C</member>
   |<member>D</member>
10 |<member>E</member>
   |<member>F</member>
   |<member>G</member>
   |</simplelist>
   |</para>
15 | 
   |</article>

Here is a SimpleList, rendered inline: A, B, C, D, E, F, G

 1 |<article xmlns='http://docbook.org/ns/docbook'>
   |<title>Example simplelist</title>
   | 
   |<para>Here is the same <tag>SimpleList</tag> rendered horizontally with 
 5 |three columns:
   |<simplelist type='horiz' columns='3'>
   |<member>A</member>
   |<member>B</member>
   |<member>C</member>
10 |<member>D</member>
   |<member>E</member>
   |<member>F</member>
   |<member>G</member>
   |</simplelist>
15 |</para>
   | 
   |</article>

Here is the same SimpleList rendered horizontally with three columns:

ABC
DEF
G

 1 |<article xmlns='http://docbook.org/ns/docbook'>
   |<title>Example simplelist</title>
   | 
   |<para>Finally, here is the list rendered vertically:
 5 |<simplelist type='vert' columns='3'>
   |<member>A</member>
   |<member>B</member>
   |<member>C</member>
   |<member>D</member>
10 |<member>E</member>
   |<member>F</member>
   |<member>G</member>
   |</simplelist>
   |</para>
15 | 
   |</article>

Finally, here is the list rendered vertically:

ADG
BE
CF