File: list.u

package info (click to toggle)
udo 6.4.1-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,680 kB
  • sloc: ansic: 42,702; makefile: 81; cpp: 19
file content (59 lines) | stat: -rw-r--r-- 1,201 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#######################################
# @(#) list environments - dh 1996
#######################################

!code_iso
!english

!title		UDO's
!program	List Environments
!author		Dirk Hagedorn

!begin_document
!maketitle
!tableofcontents

!node A simple xlist environment

The following example --- with some European countries and capitals ---
shows how to use xlist environments:

# This is a comment:
# Because we display only few data extra line breaks are surpressed 
# with !list_parsep [off]

!list_parsep [off]
!begin_xlist [Great Britain:]

!item [Belgium:]	Brussels
!item [France:]		Paris
!item [Germany:]	Berlin
!item [Great Britain:]	London
!item [Netherlands:]	Den Haag

!end_xlist
!list_parsep [on]

If you use (!V)blist(!v) instead of (!V)xlist(!v) the items will be displayed
in bold type. Watch the difference:

!list_parsep [off]

#      v  (b vs. x)
!begin_blist [Great Britain:]

!item [Belgium:]	Brussels
!item [France:]		Paris
!item [Germany:]	Berlin
!item [Great Britain:]	London
!item [Netherlands:]	Den Haag

!end_blist
#    ^

!list_parsep [on]

Furthermore you can use (!V)ilist(!i) for italic items and (!V)tlist(!v)
typewritered items. Try yourself!

!end_document