From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25030 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: framed texts and other "minipage" Date: Mon, 09 Jan 2006 11:52:47 +0100 Message-ID: <43C2407F.1090303@wxs.nl> References: <43BEA6CF.1070800@gmx.net> <89EB6AFB-2C67-4BC4-B141-C04D7F5A25E5@science.uva.nl> <43BFB90C.6060308@wxs.nl> <227466F7-6C41-47B4-A3B1-525D68788F02@free.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1136803990 16162 80.91.229.2 (9 Jan 2006 10:53:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 Jan 2006 10:53:10 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 09 11:53:05 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Evudv-0007yk-QA for gctc-ntg-context-518@m.gmane.org; Mon, 09 Jan 2006 11:52:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 34356127BD; Mon, 9 Jan 2006 11:52:51 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31221-04; Mon, 9 Jan 2006 11:52:49 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D901B1279E; Mon, 9 Jan 2006 11:52:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A7B6A1279E for ; Mon, 9 Jan 2006 11:52:46 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31343-02 for ; Mon, 9 Jan 2006 11:52:45 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with SMTP id 7F5E412791 for ; Mon, 9 Jan 2006 11:52:45 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 10904 for multiple; Mon, 09 Jan 2006 12:02:17 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: Diamantini Maurice , mailing list for ConTeXt users In-Reply-To: <227466F7-6C41-47B4-A3B1-525D68788F02@free.fr> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25030 Archived-At: Maurice Diamantini (dom) wrote: > > Le 7 janv. 06 =EF=BF=BD 13:50, Hans Hagen a =EF=BF=BDcrit : > >>> No, that will not work. >>> After much probing I found the culprit. >>> The framedtext takes the full linewidth and apparently does not =20 >>> reduces it to the given size. >>> Therefore enclosing in a vbox seems necessary: >>> \vbox{\hsize=3Dframesize\startframedtext{width=3Dframesize ... >>> >>> Question for Hans Hagen: is it an option letting framedtext set =20 >>> the hsize when a specific width is given? >> >> >> \hbox to \hsize \bgroup >> \startframedtext[none][width=3D.5\textwidth] >> \input tufte >> \stopframedtext >> \startframedtext[none][width=3D.5\textwidth] >> \input zapf >> \stopframedtext >> \egroup > > > Why is it not possible to simply use the \framed command (with some =20 > magic option to > put text into it) to do the obove thing? > \startframed[width=3D.5\textwidth, xxxx] > \input tufte > \stopframed > \startframed[width=3D.5\textwidth, xxxx] > \input zapf > \stopframed in most cases you can use framed (make sure that you set 'align' to=20 something in order to enter vmode) framedtext is a bit more clever and handles some spacing issues > > If it is impossible, is there any equivalent to de minipage or =20 > \parbox LaTeX > equivalent? i dunno what those are, vboxes? Hans