1begin caption message, width
2  local t
3
4  # Word wrap message then display it as a table with only one entry.
5  #
6  font 'Helvetica', 3
7  let t[1] = wordwrap(message, width)
8  color "Black"
9  linestyle 0.1
10  clearpath
11  move 0, 0
12  table "background=LightYellow", t
13end
14
15newpage "eps", "tutorialwordwrap1.eps", 95, 50
16move 20, 28
17caption "SYDNEY: A cloudy morning followed by a partly cloudy afternoon.
18Mostly fine apart from the chance of a shower early.  Light to moderate
19W/NW winds, turning moderate SW during the day.", 35
20
21clearpath
22move 30, 44
23caption "BRISBANE: Rain easing to showers.  Mild to warm with moderate
24to fresh gusty S/SW winds.", 35
25