From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Trouble with columns
Date: Wed, 30 Mar 2011 22:19:47 +0200 [thread overview]
Message-ID: <AB86F557-3F71-4BA8-93A4-5EAE5FF30C39@googlemail.com> (raw)
In-Reply-To: <AANLkTinSJKTHcZM-8_h_YgO-wGSfqRnGDnzhunQua0tz@mail.gmail.com>
Am 30.03.2011 um 14:49 schrieb Alasdair McAndrew:
> I was setting up a test for my students, consisting of one page (A4 landscape), three columns. Each column consisted of a question, below which there was an empty frame in which to write the answer. The layout then was something like
> --
> \startcolumns[n=3]
> \startitemize[n]
> \item First question
>
> \framed[height=10cm width=\textwidth]{}
>
> \column
>
> \item Second question
>
> \framed[height=10cm width=\textwidth]{}
>
> \column
>
> \item Third question
>
> \framed[height=10cm width=\textwidth]{}
>
> \stopitemize
> \stopcolumns
> --
>
> All well and good - except! the second "\column" command pushed the third column onto a second page. However without that "\column", no matter what parameters I gave the page layout, the third question text would appear at the bottom of the second column. I ended up getting around this by putting a "\vskip3cm" in place of the second "\column". This worked, but seems like an ugly workaround.
Use the “columns” option for itemize or write the question with the paragraphs (\defineparagraphs, it’s described in the big manual) environment.
\starttext
\startitemize[n,columns,three]
\item First question
\framed[height=10cm,width=\textwidth]{}
\item Second question
\framed[height=10cm,width=\textwidth]{}
\item Third question
\framed[height=10cm,width=\textwidth]{}
\stopitemize
\stoptext
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2011-03-30 20:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-30 12:49 Alasdair McAndrew
2011-03-30 20:19 ` Wolfgang Schuster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AB86F557-3F71-4BA8-93A4-5EAE5FF30C39@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).