[NTG-context] setupframedtexts

Hans van der Meer hansm at science.uva.nl
Wed Feb 1 17:57:27 CET 2006


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}

yours sincerely,
dr. H. van der Meer



On Feb 1, 2006, at 13:11, Taco Hoekwater wrote:

> Hans van der Meer wrote:
>> I guess I am getting a left margin when I enclose some text in a
>> \framedtext and want to get rid of it.
>
> Don't you need the offset parameter?
>
> Cheers, Taco
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20060201/92d9cdbe/attachment.html 


More information about the ntg-context mailing list