Setting Hyphenation in Text Boxes

After you insert a text box, you can adjust the way that the text within it is hyphenated.

How to Set Hyphenation in Text Boxes

  1. Open the stylesheet you want to modify or create a new one.
  2. From the Medium drop-down in the Stylesheet Editor, make sure the proper medium is selected before you begin. In the Advanced view, you can open multiple mediums at once; you just need to look at the title at the top of the medium pane and make sure you are working in the correct one. If you are not using stylesheet mediums for your different outputs or if you want all mediums to have the same settings, just leave the medium set to default and continue.

    Mediums can be used if you want to use one group of settings for online output types and another group of settings for print-based output types. For example, you might use the default medium for your online outputs and the print medium for your print outputs. See Mediums and Media Queries.

    Please note that Contributor remembers the last medium that you used when working in the stylesheet, so it may or may not be the one that you want to use the next time around.

  3. In the local toolbar, make sure the first button displays The button to change the stylesheet to the simplified view. (which means that the Simplified view is currently shown in the editor). If the button displays The button to change the stylesheet to the advanced view. instead, then click it.
  4. In the upper-left corner of the Stylesheet Editor, click in the drop-down field and select The paragraph style category selected in the types of styles drop-down list..
  5. Select the appropriate div style. If you use the default style when inserting the text boxes, then select div. Otherwise, if you have used a class of that style that you created previously, then select it instead.
  6. In the local toolbar of the editor, click Display properties for the selected item.. The Properties dialog opens.
  7. Select the Hyphenation tab.
  8. Complete the options as necessary.
    • Enable Hyphenation Select whether you always or never want words to be hyphenated at the end of lines.
    • Length of shortest word… Enter the minimum number of characters that a word must have in order to be hyphenated.
    • The minimum number of characters remaining… Enter the minimum number of characters that must remain on the initial line when a word is hyphenated. For example, if you enter 4 in this field, a word that normally could be hyphenated after two characters would not be broken at that point. Instead, it would not be broken until at least four letters make an appearance on the first line.
    • The minimum number of characters carried over… Enter the minimum number of characters that must be carried over to the second line when a word is hyphenated. For example, if you enter 3 in this field, a hyphenated word must have at least three characters on the second line after it has been broken.
    • The maximum number of adjacent lines… Enter the maximum number of lines next to each other that are allowed to end with a hyphenated word. For example, if you do not mind seeing three consecutive lines ending in a hyphenated word, but you want to avoid seeing a fourth adjacent line with a hyphenated word, you can enter 3 in this field.
  9. In the Properties dialog, click OK.
  10. Click Save the active file. to save your work.

Note This feature is not supported for MadCap Lingo review package (LIREV) files.

Note You cannot use stylesheets for this feature in the Review (Full Registered) workflow.