26 Aug
2010
26 Aug
'10
1:14 p.m.
On Thu, Aug 26 2010, Hans Hagen wrote:
On 26-8-2010 11:02, Peter Münster wrote:
Hello,
How can I teach \type{} to break lines just as \hyphenatedurl{} does?
\starttext \hsize1pt \type{C:bla/blub/foo/bar} \hyphenatedurl{C:bla/blub/foo/bar} \stoptext
not, but there is \typ for normal text
Hello Hans, \typ does not break: \starttext \hsize1pt \typ{c:bla/blub} \stoptext But I've found the solution: % \definetype[Code][style=tt, color=darkblue, align=hyphenated] % not working \def\Code#1{\bgroup\tt\color[darkblue]\hyphenatedurl{#1}\egroup} \starttext \hsize1pt \Code{c:bla/blub} \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/