![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
Hi, please have a look at the following minimal (4 text-lines): \hyphenation{Er-gän-zungs-lie-fe-rung} \showframe \starttext Text text text text text text text text text text text text text text text 26.\,Ergänzungslieferung% this should brake after Ergän- Text text text text text text text text text text text text text text text 26.|\,|Ergänzungslieferung% this does brake after Ergän- Text text text text text text text text text text text text text text text text 26.|\,|Ergänzungslieferung% this should NOT brake after 26. Text text text text text text text text text text text text text text text text 26.\,Ergänzungslieferung% this does NOT brake after 26. \stoptext I need a thinspace that prevents line-break between "26." and "Ergänzungslieferung". On the other hand this thinspace shouldn't kill my hyphenation points (i.e. the word should stay breakable)! Any idea? Thanks, Steffen
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Steffen Wolfrum wrote:
On the other hand this thinspace shouldn't kill my hyphenation points (i.e. the word should stay breakable)!
bla|~|bla should do that ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
Am 17.12.2007 um 14:54 schrieb Steffen Wolfrum:
Hi,
please have a look at the following minimal (4 text-lines):
\hyphenation{Er-gän-zungs-lie-fe-rung} \showframe
\starttext
Text text text text text text text text text text text text text text text 26.\,Ergänzungslieferung% this should brake after Ergän-
Text text text text text text text text text text text text text text text 26.|\,|Ergänzungslieferung% this does brake after Ergän-
Text text text text text text text text text text text text text text text text 26.|\,|Ergänzungslieferung% this should NOT brake after 26.
Text text text text text text text text text text text text text text text text 26.\,Ergänzungslieferung% this does NOT brake after 26.
\stoptext
I need a thinspace that prevents line-break between "26." and "Ergänzungslieferung". On the other hand this thinspace shouldn't kill my hyphenation points (i.e. the word should stay breakable)!
The tilde sign "~" would be perfect, it is just to wide: \hyphenation{ Er-gän-zungs-lie-fe-rung } \showframe \starttext Text text text text text text text text text text text text text text text 26.~Ergänzungslieferung% this should brake after Ergän- Text text text text text text text text text text text text text text text text 26.~Ergänzungslieferung% this should NOT brake after 26. Text text text text text text text text text text text text text text text text 26.\,Er-gänzungslieferung% this should NOT brake after 26. Text text text text text text text text text text text text text text text text 26.\,Er-gänzungslieferung% this should NOT brake after 26. \stoptext Is there something that is narrow as \, or \thinspace but behaves (see above) like ~ ??? Steffen
![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
Wolfgang knew the answer, and as the solution is so brilliant I don't want to be selfish about this treasure: \definetextmodediscretionary ThinSpace {\penalty\plustenthousand\hskip.166em\relax} \definetextmodediscretionary ThickSpace {\penalty\plustenthousand\hskip.277em\relax} ... and in situations like "today is the 204.|ThinSpace|anniversary of the death of Johann Gottfried von Herder" you will avoid an unintended line-break after "204." but will keep all hyphenation points in "anniversary". And that's great. Cheers Johann Gottfried, btw!! Steffen Am 18.12.2007 um 11:05 schrieb Steffen Wolfrum:
Am 17.12.2007 um 14:54 schrieb Steffen Wolfrum:
Hi,
please have a look at the following minimal (4 text-lines):
\hyphenation{Er-gän-zungs-lie-fe-rung} \showframe
\starttext
Text text text text text text text text text text text text text text text 26.\,Ergänzungslieferung% this should brake after Ergän-
Text text text text text text text text text text text text text text text 26.|\,|Ergänzungslieferung% this does brake after Ergän-
Text text text text text text text text text text text text text text text text 26.|\,|Ergänzungslieferung% this should NOT brake after 26.
Text text text text text text text text text text text text text text text text 26.\,Ergänzungslieferung% this does NOT brake after 26.
\stoptext
I need a thinspace that prevents line-break between "26." and "Ergänzungslieferung". On the other hand this thinspace shouldn't kill my hyphenation points (i.e. the word should stay breakable)!
The tilde sign "~" would be perfect, it is just to wide:
\hyphenation{ Er-gän-zungs-lie-fe-rung } \showframe \starttext
Text text text text text text text text text text text text text text text 26.~Ergänzungslieferung% this should brake after Ergän-
Text text text text text text text text text text text text text text text text 26.~Ergänzungslieferung% this should NOT brake after 26.
Text text text text text text text text text text text text text text text text 26.\,Er-gänzungslieferung% this should NOT brake after 26.
Text text text text text text text text text text text text text text text text 26.\,Er-gänzungslieferung% this should NOT brake after 26.
\stoptext
Is there something that is narrow as \, or \thinspace but behaves (see above) like ~ ???
Steffen ______________________________________________________________________ _____________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ______________________________________________________________________ _____________
participants (2)
-
Hans Hagen
-
Steffen Wolfrum