column overflow at times --- any thoughts?
![](https://secure.gravatar.com/avatar/13a310a9e966d8e50f10029887c37493.jpg?s=120&d=mm&r=g)
Hans et al, Any thoughts on this? We are using: \setupcolumns [tolerance=stretch, balance=yes, blank=flexible, rule=off, distance=2.5em] However, once in a while we get column overflow. See page 55 on: http://msenux.redwoods.edu/IntAlgText/chapter0/chapter0.pdf Are we doing this correctly? Any suggestions?
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
David Arnold wrote:
Hans et al, Any thoughts on this?
We are using:
\setupcolumns [tolerance=stretch, balance=yes, blank=flexible, rule=off, distance=2.5em]
However, once in a while we get column overflow. See page 55 on:
I do not understand what the problem is. At a first glance, that page looks fine to me. Taco
![](https://secure.gravatar.com/avatar/13a310a9e966d8e50f10029887c37493.jpg?s=120&d=mm&r=g)
We've edited that page and the problem is gone. To see another example, consider page 61 of: http://msenux.redwoods.edu/IntAlgText/chapter1/chapter1.pdf On Aug 2, 2006, at 1:20 AM, Taco Hoekwater wrote:
David Arnold wrote:
Hans et al, Any thoughts on this?
We are using:
\setupcolumns [tolerance=stretch, balance=yes, blank=flexible, rule=off, distance=2.5em]
However, once in a while we get column overflow. See page 55 on:
I do not understand what the problem is. At a first glance, that page looks fine to me.
Taco _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
David Arnold wrote:
We've edited that page and the problem is gone. To see another example, consider page 61 of:
Can you try to manally add: \displaywidowpenalty0\brokenpenalty0 after the \startcolumns and see if it helps? Taco
![](https://secure.gravatar.com/avatar/13a310a9e966d8e50f10029887c37493.jpg?s=120&d=mm&r=g)
Taco, Nice try, but didn't help. On Aug 3, 2006, at 12:08 AM, Taco Hoekwater wrote:
\displaywidowpenalty0\brokenpenalty0
The difficulty might be that Exercise #27 is in a textblock. % Exercise #27 \beginquestion \startquestion[ex:secqu.27] $f(x)=\sqrt{x+5}$. \stopquestion \endquestion \beginlonganswer[] \startanswer \stopanswer \endlonganswer \beginshortanswer[] \startanswer $\text{Domain}=[-5,\infty)=\{x:\,x\ge -5\}$ \startbuffer %initialize scale numeric u; 20u=2in; %draw axes \includeMPgraphic{1010_xy_axes_ti} %define function vardef f(expr x)= sqrt(x+5) enddef; %create function path path p; p:=(-5,f(-5)); for x=-5 step .1 until 10: p:=p--(x,f(x)); endfor; p:=p--(10,f(10)); p:=p scaled u; drawarrow p withcolor blue; label.rt(btex $\tfx f$ etex, (10,f(10)) scaled u); %create projection domain for x=-5 step 1 until 10: drawarrow ((x,f(x))--(x,0)) scaled u withcolor green; endfor; pickup pencircle scaled 2pt; drawarrow (-5u,0)--(10u,0) withcolor red; pickup defaultpen; filleddotred((-5u,0)); label.bot(btex $\tfx -5$ etex, (-5u,0)); \stopbuffer \startlinecorrection[blank] \midaligned{\processMPbuffer} \stoplinecorrection \column <--------------------Taco, inserting a column break works, which is what we'll probably do $\text{Range}=\{y:\,y\ge 0\}=[0,\infty)$ \startbuffer %initialize scale numeric u; 20u=2in; %draw axes \includeMPgraphic{1010_xy_axes_ti} %define function vardef f(expr x)= sqrt(x+5) enddef; %create function path path p; p:=(-5,f(-5)); for x=-5 step .1 until 10: p:=p--(x,f(x)); endfor; p:=p--(10,f(10)); p:=p scaled u; drawarrow p withcolor blue; label.rt(btex $\tfx f$ etex, (10,f(10)) scaled u); %create projection domain for y=0 step 1 until 3: drawarrow ((y*y-5,y)--(0,y)) scaled u withcolor green; endfor; for y=4 step 1 until 10: drawarrow ((10,y)--(0,y)) scaled u withcolor green; endfor; pickup pencircle scaled 2pt; drawarrow (0,0)--(0,10u) withcolor red; pickup defaultpen; filleddotred((0,0)); label.lft(btex $\tfx 0$ etex, (0,0)); \stopbuffer \startlinecorrection[blank] \midaligned{\processMPbuffer} \stoplinecorrection \stopanswer \endshortanswer
![](https://secure.gravatar.com/avatar/13a310a9e966d8e50f10029887c37493.jpg?s=120&d=mm&r=g)
Thanks for trying, Taco. Appreciate the help. On Aug 3, 2006, at 1:00 AM, Taco Hoekwater wrote:
David Arnold wrote:
Taco,
Nice try, but didn't help.
If the \column break works out ok, then I am not going to spend any more time on this, ok? No doubt there is a bug somewhere, but without a minimal file it will be extremely hard to track down anyway.
Cheers, taco _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
participants (2)
-
David Arnold
-
Taco Hoekwater