* widow and orphans in columns
@ 2012-06-14 7:13 Pavel Dohnal
2012-06-14 7:29 ` Philipp Gesang
0 siblings, 1 reply; 3+ messages in thread
From: Pavel Dohnal @ 2012-06-14 7:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello,
I am trying to avoid widow and orphans in multicolumn document. My settings:
\clubpenalty=10000
\widowpenalty=10000
does not any effect, and last row of the paragraph is on the only row
of the second column. Column is is started by this command:
\startcolumns[n=2,distance=1cm,balance=no,tolerance=stretch,ntop=2]
Can you help me with this problem?
Thank you
Pavel Dohnal
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: widow and orphans in columns
2012-06-14 7:13 widow and orphans in columns Pavel Dohnal
@ 2012-06-14 7:29 ` Philipp Gesang
2012-06-14 7:31 ` Pavel Dohnal
0 siblings, 1 reply; 3+ messages in thread
From: Philipp Gesang @ 2012-06-14 7:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1667 bytes --]
Hi Pavel!
···<date: 2012-06-14, Thursday>···<from: Pavel Dohnal>···
> Hello,
> I am trying to avoid widow and orphans in multicolumn document. My settings:
> \clubpenalty=10000
> \widowpenalty=10000
> does not any effect, and last row of the paragraph is on the only row
> of the second column. Column is is started by this command:
> \startcolumns[n=2,distance=1cm,balance=no,tolerance=stretch,ntop=2]
> Can you help me with this problem?
1. You could help too by supplying a MWE.
2. Did you try setting the penalties inside the columns
environment? (They are zeroed with \startcolumns.)
·······································································
\setuplayout[height=7cm]
\starttext
\startcolumns[n=2,distance=1cm,balance=no,tolerance=stretch,ntop=2]
\clubpenalty10000
\widowpenalty10000
\dorecurse{10}{\input knuth \par}
\stopcolumns
\stoptext
·······································································
Regards
Philipp
> Thank you
> Pavel Dohnal
> ___________________________________________________________________________________
> 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
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: widow and orphans in columns
2012-06-14 7:29 ` Philipp Gesang
@ 2012-06-14 7:31 ` Pavel Dohnal
0 siblings, 0 replies; 3+ messages in thread
From: Pavel Dohnal @ 2012-06-14 7:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thank you! It works exactly as I need.
Pavel
2012/6/14 Philipp Gesang <gesang@stud.uni-heidelberg.de>:
> Hi Pavel!
>
> ···<date: 2012-06-14, Thursday>···<from: Pavel Dohnal>···
>> Hello,
>> I am trying to avoid widow and orphans in multicolumn document. My settings:
>> \clubpenalty=10000
>> \widowpenalty=10000
>> does not any effect, and last row of the paragraph is on the only row
>> of the second column. Column is is started by this command:
>> \startcolumns[n=2,distance=1cm,balance=no,tolerance=stretch,ntop=2]
>> Can you help me with this problem?
>
> 1. You could help too by supplying a MWE.
>
> 2. Did you try setting the penalties inside the columns
> environment? (They are zeroed with \startcolumns.)
> ·······································································
> \setuplayout[height=7cm]
> \starttext
> \startcolumns[n=2,distance=1cm,balance=no,tolerance=stretch,ntop=2]
> \clubpenalty10000
> \widowpenalty10000
> \dorecurse{10}{\input knuth \par}
> \stopcolumns
> \stoptext
> ·······································································
>
> Regards
> Philipp
>
>
>> Thank you
>> Pavel Dohnal
>> ___________________________________________________________________________________
>> 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
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-14 7:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-14 7:13 widow and orphans in columns Pavel Dohnal
2012-06-14 7:29 ` Philipp Gesang
2012-06-14 7:31 ` Pavel Dohnal
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).