ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Keep text elements together
@ 2009-04-14 13:32 Uriel Avalos
  2009-04-15 13:34 ` Uriel Avalos
  0 siblings, 1 reply; 3+ messages in thread
From: Uriel Avalos @ 2009-04-14 13:32 UTC (permalink / raw)
  To: ntg-context

Hi all. I'm writing a Multiple Choice test set in two-columns. I would like to keep the multiple-choice items together with the question both on the same page AND on the same column.

Question 1     Question 3
  choice 1     	  choice 1
  choice 2	  choice 2
  choice 3	  choice 3

Question 2     Question 4
  choice 1     	  choice 1
  choice 2	  choice 2
  choice 3	  choice 3

(Apologies, it's easier to draw than describe). 

So I don't want the multiple choices breaking to another page or going to another column. How can I achieve this?
I tried setting the "intro" flag of itemize but it doesn't work.

Here's what I did:

\item[columns]

...
\item Question
\startitemize[intro]
\item choice
\item choice
...
\stopitemize
...

\stopitemize

but the multiple-choice items would still break across pages and columns

F
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Keep text elements together
  2009-04-14 13:32 Keep text elements together Uriel Avalos
@ 2009-04-15 13:34 ` Uriel Avalos
  2009-04-16  8:17   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Uriel Avalos @ 2009-04-15 13:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

So does anyone know how to do this? I'm sure it's possible -- I did it in TeX once but I can't find the ConTeXt equivalent in the docs...

On Tue, Apr 14, 2009 at 09:32:16AM -0400, Uriel Avalos wrote:
> Hi all. I'm writing a Multiple Choice test set in two-columns. I would like to keep the multiple-choice items together with the question both on the same page AND on the same column.
> 
> Question 1     Question 3
>   choice 1     	  choice 1
>   choice 2	  choice 2
>   choice 3	  choice 3
> 
> Question 2     Question 4
>   choice 1     	  choice 1
>   choice 2	  choice 2
>   choice 3	  choice 3
> 
> (Apologies, it's easier to draw than describe). 
> 
> So I don't want the multiple choices breaking to another page or going to another column. How can I achieve this?
> I tried setting the "intro" flag of itemize but it doesn't work.
> 
> Here's what I did:
> 
> \item[columns]
> 
> ...
> \item Question
> \startitemize[intro]
> \item choice
> \item choice
> ...
> \stopitemize
> ...
> 
> \stopitemize
> 
> but the multiple-choice items would still break across pages and columns
> 
> F
> ___________________________________________________________________________________
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Keep text elements together
  2009-04-15 13:34 ` Uriel Avalos
@ 2009-04-16  8:17   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2009-04-16  8:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Uriel Avalos wrote:
> So does anyone know how to do this? I'm sure it's possible -- I did it in TeX once but I can't find the ConTeXt equivalent in the docs...

you can try \startitemize[packed]

> On Tue, Apr 14, 2009 at 09:32:16AM -0400, Uriel Avalos wrote:
>> Hi all. I'm writing a Multiple Choice test set in two-columns. I would like to keep the multiple-choice items together with the question both on the same page AND on the same column.
>>
>> Question 1     Question 3
>>   choice 1     	  choice 1
>>   choice 2	  choice 2
>>   choice 3	  choice 3
>>
>> Question 2     Question 4
>>   choice 1     	  choice 1
>>   choice 2	  choice 2
>>   choice 3	  choice 3
>>
>> (Apologies, it's easier to draw than describe). 
>>
>> So I don't want the multiple choices breaking to another page or going to another column. How can I achieve this?
>> I tried setting the "intro" flag of itemize but it doesn't work.
>>
>> Here's what I did:
>>
>> \item[columns]
>>
>> ...
>> \item Question
>> \startitemize[intro]
>> \item choice
>> \item choice
>> ...
>> \stopitemize
>> ...
>>
>> \stopitemize
>>
>> but the multiple-choice items would still break across pages and columns
>>
>> F
>> ___________________________________________________________________________________
>> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-16  8:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-14 13:32 Keep text elements together Uriel Avalos
2009-04-15 13:34 ` Uriel Avalos
2009-04-16  8:17   ` Hans Hagen

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).