startcolumns: text runs into footer
Hi at all, now I've run into the next problem: Trying to set text in 2 columns. Even in the simples case: \showframe \starttext \startcolumns \dorecurse{20}{\input knuth} \stopcolumns \stoptext The text goes ca 1 line into the footer-region. I played around with various settings (blank, align=yes, setupwhitespace etc), but can not figure out how to keep the text in the main area only. Another related question: for which purpose is the columns setting in setuplayout? It doesnt seem to affect the output? And still another question: how can i fine-control the amount of whitespace, especially the strechability and shrinkability? is \setupwhitespace[2pt plus 2pt minus 2pt] the right way? And how is the equivalent syntax for \blank? Thanks, Achim
Hi Achim! On 2010-12-19 <13:09:51>, Achim Jander wrote:
Hi at all, now I've run into the next problem: Trying to set text in 2 columns. Even in the simples case:
\showframe
\starttext
\startcolumns
\dorecurse{20}{\input knuth}
\stopcolumns
\stoptext
The text goes ca 1 line into the footer-region. I played around with various settings (blank, align=yes, setupwhitespace etc), but can not figure out how to keep the text in the main area only. Another related question: for which purpose is the columns setting in setuplayout? It doesnt seem to affect the output? And still another question: how can i fine-control the amount of whitespace, especially the strechability and shrinkability? is \setupwhitespace[2pt plus 2pt minus 2pt] the right way? And how is the equivalent syntax for \blank?
(1) Columnsets cause less trouble than the ordinary “\[start|stop]columns”; (2) you have to define the vskips prior to using them with “\setupwhitespace” or “\blank”. ···8<···························································· \showframe \definecolumnset[two][n=2] \newskip\Hugeskip \Hugeskip = 4em plus 4em minus 4em \definevspacingamount[Huge][\Hugeskip][\Hugeskip] % for \blank \definewhitespacemethod[Notsohuge]{\ctxparskip.5\Hugeskip} % for \setupwhitespace \starttext \startcolumnset[two] \dorecurse{10}{\input knuth \blank[Huge]} \setupwhitespace[Notsohuge] \dorecurse{10}{\input knuth} \stopcolumnset \stoptext ···8<···························································· Further answers reside inside spac-ver.mkiv. Regards, Philipp
Thanks, Achim ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
participants (2)
-
Achim Jander
-
Philipp Gesang