Next: Word Wrapping for Block Diagrams, Previous: Word Wrapping and Long Labels, Up: Word Wrapping and Long Labels [Contents]

#### 9.10.2.1 Word Wrapping for Signalling Charts

You cannot set this attribute for signalling chart entities. Their label is always typeset with `text.wrap=no` exactly as you specify in the source file.

Note that this feature is most useful if you do not use automatic horizontal scaling `hscale=auto`, since in that case the distance between entities is determined from the size of the labels - and with `text.wrap=yes` there is no inherent size for most labels. For notes, which float and whose width is not detemined by the spacing of entities, a new `width` attribute is inserted, which can specify the width of the note making word wrapping meaningful.

You have effective 3 easy way to typeset long labels.

- Word wrapping: Use `text.wrap=yes` (and perhaps a fixed `hscale`), in this case the long labels wrap into multiple lines.
- Automatic scaling: Use `hscale=auto` and no word wrapping, in this case entities are spaced apart, so that there is enough space for all labels.
- None: No word wrappig or automatic scaling (default): long labels expand beyond their available space, which may be sometimes ugly.

You can some combinations, as well.

- Even with `hscale=auto` you can make some long labels word wrap by applying `text.wrap=yes` only to the specific arrow, box, divider or comment. Specifying a long label with word wrapping will not cause entities to be spaced apart to make room for it, but instead the label is typeset into the space available (determined by other labels). Adding horizontal spacing with the `hspace` command can be applied to manually push entities somewhat apart (but perhaps not to the full length of the long label, which will be wrapped into the space available).
- Even with a fixed `hscale` You can push entities further by using the `hspace` command and thereby make enough room for a long label. You can create exactly as much as needed by using the label text as the argument for `hspace`, see below

Next: Word Wrapping for Block Diagrams, Previous: Word Wrapping and Long Labels, Up: Word Wrapping and Long Labels [Contents]