ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: rotated columns
Date: Sun, 28 Aug 2011 08:12:40 +0200	[thread overview]
Message-ID: <CBED91FA-03E9-4F6B-A80E-AF5BA371B686@googlemail.com> (raw)
In-Reply-To: <j3bcpu$tdt$1@dough.gmane.org>


Am 27.08.2011 um 20:25 schrieb Jano Kula:

> Hi Wolfgang,
> 
> the example was too minimal :)
> 
> This is what I want to achieve:
> 
> \starttext
> \rotate[rotation=90]{
> \startframedtext
> \startcolumns[n=2,balance=yes]
> \input tufte
> \stopcolumns
> \stopframedtext
> }
> \stoptext
> 
> Rotation is done in \hbox. To get kind of minipage I "frame" it first, as you suggest somewhere else on the list. But then balanced columns are lost. Without framed text the prevdepth conflict appears. I do understand, the columns environment needs to know the available space to compute and balance columns, but playing with height parameter in \rotate or \startframedtext didn't help either.

You can’t use the columns environment in framed. When you don’t need something special you can use simplecolumns:

\starttext

\framed
  [orientation=90,height=\textheight,align=normal]
  {\startsimplecolumns
   \input tufte
   \stopsimplecolumns}

\rotate{\framed
  [width=\textheight,align=normal]
  {\startsimplecolumns
   \input tufte
   \stopsimplecolumns}}

\stoptext

> This is still very simplified situation of the problem to typeset some material in balanced columns (which is the most natural way, not necessarily with this kind of columns) and then rotate the typeset material and put in into the margins (just the part of the whole typeset page).

You can take a look at streams which can be used for this.

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
___________________________________________________________________________________


  reply	other threads:[~2011-08-28  6:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-27 11:32 Jano Kula
2011-08-27 15:51 ` Wolfgang Schuster
2011-08-27 18:25   ` Jano Kula
2011-08-28  6:12     ` Wolfgang Schuster [this message]
2011-08-29 19:05       ` Jano Kula

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=CBED91FA-03E9-4F6B-A80E-AF5BA371B686@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).