Home Emphasizing text Emphasizing text Enumerations
 The guide of UDO
 The syntax of UDO
 Emphasizing text

Itemizations

ou can use the itemize environment for itemizations where every single item is marked with a bullet, star, dash or point. The itemize environment is started with !begin_itemize and finished with !end_itemize. Each item has to be marked with the !item command.

You can use the itemize environment inside other environments or inside another itemize environment.

This short example shows how to write a simple itemize environment:

!begin_itemize
!item This is the first item.
!item This is the second item with a little bit
      more text to demonstrate how UDO formats
      an itemization.

      This is the second paragraph of the
      second item of the itemize environment.
!item This is the last item.
!end_itemize

... will be printed this way:

And this example, where an itemize environment is used inside another one ...

!begin_itemize
!item This is the first item of the outer
      itemize environment.
!item This is the second item of the outer
      itemize environment.
      !begin_itemize
      !item This is the 1st item of the inner one.
      !item This is the 2nd item of the inner one.
      !end_itemize
!item This is the third item of the outer
      itemize environment.
!end_itemize

... will be printed this way:


UDO separates the text of each item by an empty line. In some cases it's not a good idea to separate the items e.g. if an item contains only some text. In this case it would be better to suppress the empty lines to get a compressed environment.

For printing compressed environment UDO offers you the command named !short you can add to the !begin_itemize command. If you add !short UDO won't separate the items by inserting empty lines. Furthermore in all environments you use inside this itemize environment no empty lines will be printed.

The following two examples show how to use the !short command and which effects this command has. The first example doesn't, the second one uses !short:

Without !short...

!begin_itemize
!item Item 1
!item Item 2
!item Item 3
!end_itemize

... will be displayed this way:

With !short...

!begin_itemize !short
!item Item 1
!item Item 2
!item Item 3
!end_itemize

... will be displayed this way:

If you can't see any difference the destination format doesn't allow it to suppress the item separation.


Please note:

  1. The items of the first itemize environment will be marked with a bullet that is defined on different positions inside the character set of each operating system.
     
  2. If you use the switch !no_umlaute inside the preamble of the source file the items of the first itemize environment will be marked with an `o' instead of a bullet.
     

Copyright © www.udo-open-source.org
Last updated on November 5, 2006

Home Emphasizing text Emphasizing text Enumerations