Hi, in \setupcolumns, what is ntop=<number> and height=<dimension>? I've played with these parameters but couldn't see any effect. Is it possible that align=yes/no is incorrect? See http://source.contextgarden.net/tex/context/base/page-mul.tex?search=%40%40k... (search for @@klalign) Patrick
Quoting Patrick Gundlach
Hi,
in \setupcolumns, what is ntop=<number>
From the source: the minimum number op balanced top lines Consider \starttext \startcolumns[n=2,ntop=15,balance=yes] \dorecurse{20}{This is a test line to check for balancing. } \stopcolumns \page \startcolumns[n=2,ntop=5,balance=yes] \dorecurse{20}{This is a test line to check for balancing. } \stopcolumns \stoptext
and height=<dimension>? I've played with these parameters but couldn't see any effect.
I could not get any visible effect from height=...
Is it possible that align=yes/no is incorrect? See
Dont't know. Aditya
[...]
in \setupcolumns, what is ntop=<number>
From the source: the minimum number op balanced top lines
Consider \starttext \startcolumns[n=2,ntop=15,balance=yes] \dorecurse{20}{This is a test line to check for balancing. } \stopcolumns \page \startcolumns[n=2,ntop=5,balance=yes] \dorecurse{20}{This is a test line to check for balancing. } \stopcolumns \stoptext
This seems to be a binary switch, right? no difference in your example between ntop=15 and ntop=13. Patrick
Quoting Patrick Gundlach
[...]
in \setupcolumns, what is ntop=<number>
From the source: the minimum number op balanced top lines
Consider \starttext \startcolumns[n=2,ntop=15,balance=yes] \dorecurse{20}{This is a test line to check for balancing. } \stopcolumns \page \startcolumns[n=2,ntop=5,balance=yes] \dorecurse{20}{This is a test line to check for balancing. } \stopcolumns \stoptext
This seems to be a binary switch, right? no difference in your example between ntop=15 and ntop=13.
Yes. The way I understand this is: if the number of lines in the column after balancing are greater than ntop, do column balancing (if enabled) otherwise not. For example, \showgrid \starttext \dostepwiserecurse{5}{15}{1}{ \section{\recurselevel} \startcolumns[n=2,ntop=\recurselevel,balance=yes] \dorecurse{20}{This is a test line to check for balancing. } \stopcolumns \page} \stoptext Aditya
Hi, (repost - anybody got an idea on this question?)
Is it possible that align=yes/no is incorrect? See
http://source.contextgarden.net/tex/context/base/page-mul.tex?search=%40%40k...
(search for @@klalign)
\setupcolumns accept align=yes,no,text but the source seem to indicate that only 'text' is allowed which will be passed to \setupalign - which itself does not accept 'yes' or 'no'. Any comments? Patrick
participants (2)
-
Aditya Mahajan
-
Patrick Gundlach