* column overflow at times --- any thoughts?
@ 2006-08-01 18:53 David Arnold
2006-08-02 8:20 ` Taco Hoekwater
0 siblings, 1 reply; 7+ messages in thread
From: David Arnold @ 2006-08-01 18:53 UTC (permalink / raw)
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?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: column overflow at times --- any thoughts?
2006-08-01 18:53 column overflow at times --- any thoughts? David Arnold
@ 2006-08-02 8:20 ` Taco Hoekwater
2006-08-02 15:44 ` David Arnold
0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2006-08-02 8:20 UTC (permalink / raw)
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:
>
> http://msenux.redwoods.edu/IntAlgText/chapter0/chapter0.pdf
I do not understand what the problem is. At a first glance,
that page looks fine to me.
Taco
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: column overflow at times --- any thoughts?
2006-08-02 8:20 ` Taco Hoekwater
@ 2006-08-02 15:44 ` David Arnold
2006-08-03 7:08 ` Taco Hoekwater
0 siblings, 1 reply; 7+ messages in thread
From: David Arnold @ 2006-08-02 15:44 UTC (permalink / raw)
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:
>>
>> http://msenux.redwoods.edu/IntAlgText/chapter0/chapter0.pdf
>
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: column overflow at times --- any thoughts?
2006-08-02 15:44 ` David Arnold
@ 2006-08-03 7:08 ` Taco Hoekwater
2006-08-03 7:28 ` David Arnold
0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2006-08-03 7:08 UTC (permalink / raw)
David Arnold wrote:
> 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
Can you try to manally add:
\displaywidowpenalty0\brokenpenalty0
after the \startcolumns and see if it helps?
Taco
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: column overflow at times --- any thoughts?
2006-08-03 7:08 ` Taco Hoekwater
@ 2006-08-03 7:28 ` David Arnold
2006-08-03 8:00 ` Taco Hoekwater
0 siblings, 1 reply; 7+ messages in thread
From: David Arnold @ 2006-08-03 7:28 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 2149 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 4461 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: column overflow at times --- any thoughts?
2006-08-03 7:28 ` David Arnold
@ 2006-08-03 8:00 ` Taco Hoekwater
2006-08-03 8:05 ` David Arnold
0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2006-08-03 8:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: column overflow at times --- any thoughts?
2006-08-03 8:00 ` Taco Hoekwater
@ 2006-08-03 8:05 ` David Arnold
0 siblings, 0 replies; 7+ messages in thread
From: David Arnold @ 2006-08-03 8:05 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-08-03 8:05 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-01 18:53 column overflow at times --- any thoughts? David Arnold
2006-08-02 8:20 ` Taco Hoekwater
2006-08-02 15:44 ` David Arnold
2006-08-03 7:08 ` Taco Hoekwater
2006-08-03 7:28 ` David Arnold
2006-08-03 8:00 ` Taco Hoekwater
2006-08-03 8:05 ` David Arnold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).