Changes

Jump to navigation Jump to search
no edit summary
<tr valign="top" class="third">
<td class="cmd">type</td>
<td>''???''{| class="wikitable"|-| 1 || {{code|...1...1 / ...}} place breaking character before linebreak|-| 2 || {{code|...2... / 2-...}} place breaking character after linebreak, hyphen inside it. (Used if a break happens before the parenthesised part of a word.)|-| 3 || {{code|...3...-3 / ...}} place breaking character before linebreak, hyphen inside it. (Used if a break happens after the parenthesised part of a word.)|-| 4 || {{code|...4...4 / 4...}} place breaking character on both sides of linebreak|-| 5 || specify pattern with {{code|left}}, {{code|middle}}, and {{code|right}}.|- |}</td>
</tr>
<tr valign="top" class="third">
<td class="cmd">middle</td>
<td>''???'how breaking character should display when no break takes place. Used in combination with {{code|type=5}}.''</td>
</tr>
<tr valign="top" class="third">
<td class="cmd">left</td>
<td>''???how breaking character should display at break, at end of first line. Used in combination with {{code|type=5}}.''</td>
</tr>
<tr valign="top" class="third">
<td class="cmd">right</td>
<td>''???how breaking character should display at break, at start of second line. Used in combination with {{code|type=5}}.''</td>
</tr>
</table>
\definebreakpoint [compound] [(] [nleft=3,nright=3,type=2]
\definebreakpoint [compound] [)] [nleft=3,nright=3,type=3]
</texcode>
 
An illustration of a custom breakpoint of type 5:
<texcode>
\definebreakpoints[test]
 
\definebreakpoint [test] [?] [type=5,left=L,right=R,middle=M]
 
\setbreakpoints[test]
 
\setuppapersize[A7]
 
\starttext \showframe
xxxx?xxxx?xxxx?xxxx?xxxx?xxxx?xxxx?xxxx\par
\stoptext
</texcode>

Navigation menu