Next: , Previous: , Up: Signalling Chart Attributes and Styles   [Contents]


9.10.2 Word Wrappiog and Long Labels

Before Msc-generator 3.6 the user was required to manually specify line breaks in labels. Using the text.wrap attribute you can instruct Msc-generator to break lines automatically depending on how much horizontal space is available. For labels with this attribute set the line breaks of the source file inside the label are ignored. However, the line breaks inserted into the label via the \n escape sequence are still honoured. You can set the text.wrap attribute of labels globally via the text.wrap chart option, but you can also override this setting individually for each label.

Word wrapping is not available for graphviz graphs.