From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52249 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Multi-line labels in MetaPost Date: Wed, 12 Aug 2009 18:15:53 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250093753 719 80.91.229.12 (12 Aug 2009 16:15:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 16:15:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 12 18:15:43 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MbGUJ-00033N-0T for gctc-ntg-context-518@m.gmane.org; Wed, 12 Aug 2009 18:15:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 85853C9A90; Wed, 12 Aug 2009 18:15:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OcajE-OChzTr; Wed, 12 Aug 2009 18:15:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 28EC8C9A81; Wed, 12 Aug 2009 18:15:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E1AB4C9A77 for ; Wed, 12 Aug 2009 18:15:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1nSyWXw4Kn65 for ; Wed, 12 Aug 2009 18:15:32 +0200 (CEST) Original-Received: from mail-bw0-f220.google.com (mail-bw0-f220.google.com [209.85.218.220]) by balder.ntg.nl (Postfix) with ESMTP id BFACEC9A81 for ; Wed, 12 Aug 2009 18:15:32 +0200 (CEST) Original-Received: by bwz20 with SMTP id 20so108854bwz.9 for ; Wed, 12 Aug 2009 09:15:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=Zvo6uf9F8upcJ6JrcYnd+rF430lPyW1POQtgMy2JExA=; b=ivB0OXw5yfhZMuWcL4ajtpKTr/sBW+CKvYOpox1ervzjI6V5ek3sjkRmAjJE1ejHkB zhFD2RH9BXsa02kl5eOu13u7vizxqL5usbX2Wk0kBPkj3+azwWIH0Cbp4KFRJ+NRYH+F yIilGOcu91pJXvCjWhNM0D+pnxE41POWqpg4M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=F5UEaEK5xM0plJjVlFZFBeFA+jvdviDMhceTtR+sSB84zyziYKvpLSp3C0JyE+Shfb NokjtQqHgRbB+mHnAT+GOA80v9Jm7j2Drubd9QdPK40vg5F6S6kWqCh2x5O10ZLSmsR+ eTGEiU6UmkbBJwhyuROzoFJwtqMEQ6ig9iacs= Original-Received: by 10.204.163.11 with SMTP id y11mr134171bkx.89.1250093732396; Wed, 12 Aug 2009 09:15:32 -0700 (PDT) Original-Received: from ?192.168.2.23? (p54954CD6.dip.t-dialin.net [84.149.76.214]) by mx.google.com with ESMTPS id 18sm9860120fks.40.2009.08.12.09.15.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 12 Aug 2009 09:15:31 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.936) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:52249 Archived-At: Am 12.08.2009 um 18:09 schrieb richard.stephens@converteam.com: > > Hello, > > Is it possible to generate multi-line labels in MetaPost? I have > naively tried the following hoping to get a line feed between the > two words, but it doesn't work! > > label.rt( btex One \crlf Two etex, (0,0)); \defineframed[mplabel][frame=off,align=right,width=fit] label.rt(textext("\mplabel{One\\Two}"),origin) ; 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________