ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <hansm@science.uva.nl>
Subject: Re: framed texts
Date: Fri, 6 Jan 2006 21:43:53 +0100	[thread overview]
Message-ID: <89EB6AFB-2C67-4BC4-B141-C04D7F5A25E5@science.uva.nl> (raw)
In-Reply-To: <43BEA6CF.1070800@gmx.net>


On Jan 6, 2006, at 18:20, Peter Rolf wrote:

>> Hans van der Meer wrote:
>> I want to put to some paragraphs, each as framed text, on one line.
>> Such as:
>>
>> \startframedtext[width=...]
>>     para 1
>>     \startitemize
>>     ....etc
>> \stopframedtext
>> \startframedtext[width=...]
>>     para 2
>>     \startitemize
>>     ....etc
>> \stopframedtext
>>
>> I tried some things but the two frames will not come out on one line.
>> How to do this?
>>
> \placesidebyside (context manual p.228) should work. A \hbox is  
> another
> option, but maybe too unhandy for this.
>
> Greetings, Peter

No, that will not work.
After much probing I found the culprit.
The framedtext takes the full linewidth and apparently does not  
reduces it to the given size.
Therefore enclosing in a vbox seems necessary:
    \vbox{\hsize=framesize\startframedtext{width=framesize ...

Question for Hans Hagen: is it an option letting framedtext set the  
hsize when a specific width is given?


yours sincerely,
dr. H. van der Meer

  reply	other threads:[~2006-01-06 20:43 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-06 16:19 Hans van der Meer
2006-01-06 17:20 ` Peter Rolf
2006-01-06 20:43   ` Hans van der Meer [this message]
2006-01-07 12:50     ` Hans Hagen
2006-01-07 22:52       ` framed texts and other "minipage" Maurice Diamantini (dom)
2006-01-09 10:52         ` Hans Hagen
2006-01-09 20:54           ` framed texts for boxing stuff Maurice Diamantini (dom)
2006-01-09 23:01             ` Hans Hagen
2006-01-10 22:14               ` Maurice Diamantini (dom)
2006-01-10 22:50                 ` Hans Hagen
2006-01-10 23:44                   ` Why PDF files generated by ConTeXt are so big? Jilani Khaldi
2006-01-11  8:22                     ` Hans Hagen
2006-01-11 12:41                       ` Jilani Khaldi
2006-01-11 14:14                         ` Hans Hagen
2006-01-11 16:45                           ` Jilani Khaldi
2006-01-11 18:27                             ` Hans Hagen
2006-01-10 22:53                 ` framed texts for boxing stuff Hans Hagen
2006-01-10 23:28                 ` Mojca Miklavec
2006-01-11 20:07               ` Bob Kerstetter
  -- strict thread matches above, loose matches on Subject: below --
2002-04-15 15:01 Framed texts Giuseppe Bilotta
2002-04-24 12:34 ` Giuseppe Bilotta
2002-05-09 18:43   ` Hans Hagen

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=89EB6AFB-2C67-4BC4-B141-C04D7F5A25E5@science.uva.nl \
    --to=hansm@science.uva.nl \
    --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).