From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4700 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: A label question Date: Sat, 19 May 2001 10:41:27 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010519104127.009b11a0@server-1> References: <3.0.3.32.20010518091843.00cd39f0@mail.northcoast.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035395344 27943 80.91.224.250 (23 Oct 2002 17:49:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:49:04 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: David Arnold In-Reply-To: <3.0.3.32.20010518091843.00cd39f0@mail.northcoast.com> Xref: main.gmane.org gmane.comp.tex.context:4700 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4700 At 09:18 AM 5/18/01 -0700, David Arnold wrote: >All, > >This is a Metapost labeling question. > >I have two points z0 and z1 and a segment connecting them. > >draw z0--z1; > >I'd like to put a TeX label to the left of the segment, but I want to >format it as follows. > >The vertical >deflection of >the center of >gravity $y(t)$ > >That's four lines. > >I tried: > >label.lft(btex The vertical\par deflection of\par the center of\par gravity >$y(t)$ etex, 0.5[z0,z1]); btex \vbox{\raggedright The vertical \par ....}\etex or in context: btex \framed[align=right,frame=off,ofset=overlay]{bla\\bla\\bla} etex this will give you a raggedright tight box and also permits some tracing {turn frame on]; the \framed macro will make the box as small as possible. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------