Hans van der Meer wrote: > In reply to Taco's and Hans' suggestions: > > Setting offset=0pt did help somewhat, but not enough. > > The small example below gives me text protruding outside the frame to > the right ("010" sticking out) and seems to give about as much > whitespace on the left inside the frame. > Without offset=0pt somewhat more sticks out:� "00010". > > Changing the setup to "width=fit,offset=0pt" seems needed for the > right edge, but on the left there is still some whitespace. > Then I realized that typing might have a margin, adding > \setuptyping[margin=no] finally did the trick. > > Thanks for your help. > > \starttext > \placefigure{Sterk gestructureerde tekst}{% > \startframedtext[frame=on] > \starttyping > * MYSTERY PROGRAM� � � � � � � � � � � � � � � � � � � � � � � 00000010 > * D.E.KNUTH� � � � � � � � � � � � � � � � � � � � � � � � � � 00000020 > * THE ART OF COMPUTER PROGRAMMING, VOL I � � � � � � � � � � � 00000030 > \stoptyping > \stopframedtext} i'm not entirely sure what you want to achieve
\starttext \placefigure {Sterk gestructureerde tekst} {\startframedtext[frame=on,width=fit,offset=none] \starttyping * MYSTERY PROGRAM? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 00000010 * D.E.KNUTH? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 00000020 * THE ART OF COMPUTER PROGRAMMING, VOL I ? ? ? ? ? ? ? ? ? ? ? 00000030 \stoptyping \stopframedtext} \placefigure {Sterk gestructureerde tekst} {\startframedtext[frame=on,width=fit,offset=0pt] \startnarrower[right] \starttyping * MYSTERY PROGRAM? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 00000010 * D.E.KNUTH? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 00000020 * THE ART OF COMPUTER PROGRAMMING, VOL I ? ? ? ? ? ? ? ? ? ? ? 00000030 \stoptyping \stopnarrower \stopframedtext} \stoptext typing means monospaces which also means that space is not stretchable, so you can get over/underfull lines maybe the following is better \tt \startlines * MYSTERY PROGRAM? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 00000010 * D.E.KNUTH? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 00000020 * THE ART OF COMPUTER PROGRAMMING, VOL I ? ? ? ? ? ? ? ? ? ? ? 00000030 \stoplines ----------------------------------------------------------------- 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 ----------------------------------------------------------------- _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context