Copy link to clipboard
Copied
In a table of software-related keywords, a few keywords are sometimes to long to fit in one line, e.g. "QuiteLenghtySampleKeyword" would be hyphenated like this:
QuiteLengthySampleKey-
word
If I add the suppress hyphenation character \x05, the maximum number of characters is held in the first line, and the word breaks without a hyphen:
QuiteLengthySampleKeyw
ord
Is it possible to control hyphenation in way that a keyword breaks without a hyphen (as it does in the 2nd example) but at a specified position? I can't really use a forced return, because it appears as an extra space in cross-references to that keyword.
Thanks in advance for any helpful suggestions.
Johannes
Try adding a "zero-width" space; best implemented through a variable.
First define a character format (e.g. zMinWidth, where all is "As Is", except Size=2pt, Spread= -5%, Stretch=10%), and then define a variable which only has this character format followed by a regular space. Insert the variable it where you want to allow line breaks without hyphens.
I used a variation of this with a forward slash followed by this zero/near zero space in documents where the forward slash cannot be allowed as a li
...Copy link to clipboard
Copied
Try adding a "zero-width" space; best implemented through a variable.
First define a character format (e.g. zMinWidth, where all is "As Is", except Size=2pt, Spread= -5%, Stretch=10%), and then define a variable which only has this character format followed by a regular space. Insert the variable it where you want to allow line breaks without hyphens.
I used a variation of this with a forward slash followed by this zero/near zero space in documents where the forward slash cannot be allowed as a line-break point on a general basis (so that "I/O" does not break between lines, but "installation/configuration" does break at the slash if needed).
Shlomo Perets, http://www.microtype.com
FrameMaker training & consulting
Copy link to clipboard
Copied
Works perfectly. Thank you, Shlomo.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more