Node:chap 7, Next:, Previous:chap 6, Up:Top



List and tables

List and tables are block elements. The following table list the elements used to implement list and tables.

Element Attribute Content Description or Texinfo equivalence
itemize item, itemx, block @itemize
mark mark before items; default is •
enumerate item, itemx, block @enumerate
start starting number
table item, itemx, block @table
emphasis asis, code, samp, var, kbd, file emphasis for the descriptive item
vtable item, itemx, block @vtable
emphasis asis, code, samp, var, kbd emphasis for the descriptive variable item
ftable item, itemx, block @ftable
emphasis asis, code, samp, var, kbd emphasis for the descriptive function item
item in-line or empty @item
itemx in-line or empty @itemx
multitable columnfraction or columnexample; raw @multitable
columnfraction .n column fraction, where ".n" is the 0.n fraction of the horizontal space
columnexample pure text column fraction, where the inserted text gives the example of the column extention
raw in-line, tab row of the table
tab empty column separation

It follows some examples; first an unnumbered list:

     <itemize mark="#">
     <item>
     
         <p>First item.</p>
     
     <item>
     
         <p>Second item.</p>
     
     </itemize>
     

Here is the result:

Here is a numbered list:

     <enumerate start="3">
     <item>
     
         <p>First item.</p>
     
     <item>
     
         <p>Second item.</p>
     
     </enumerate>
     

Here is the result:

  1. First item.
  2. Second item.

Here is a descriptive list:

     <table emphasis="code">
     <item>ls</item>
     <itemx>dir</itemx>
         <p>List directory contents.</p>
     <item>cd</item>
         <p>Change directory.</p>
     </table>
     

Here is the result:

ls
dir
List directory contents.
cd
Change directory.