From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68220 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: How to create a breakable text box inside math equation? Date: Fri, 6 May 2011 16:50:11 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1304693425 16655 80.91.229.12 (6 May 2011 14:50:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 May 2011 14:50:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 06 16:50:21 2011 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.69) (envelope-from ) id 1QIMMG-0004VD-G2 for gctc-ntg-context-518@m.gmane.org; Fri, 06 May 2011 16:50:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E06A8CACA5; Fri, 6 May 2011 16:50:19 +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 OS5RmmPYzJ9Y; Fri, 6 May 2011 16:50:16 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5C187CAC9E; Fri, 6 May 2011 16:50:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 45446CAC9E for ; Fri, 6 May 2011 16:50:15 +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 xXqO4AX77rGQ for ; Fri, 6 May 2011 16:50:13 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 83DC9CABB6 for ; Fri, 6 May 2011 16:50:13 +0200 (CEST) Original-Received: from mail-gx0-f169.google.com (mail-gx0-f169.google.com [209.85.161.169]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p46EoCeS028888 for ; Fri, 6 May 2011 16:50:12 +0200 Original-Received: by gxk23 with SMTP id 23so1617364gxk.14 for ; Fri, 06 May 2011 07:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=nNCCPKnIB2q4ujaNNdFzIn+OKkcBV8dg6T6N4yIY3Wk=; b=Tl9mfNTp4+9rmCa5lNCsg80IaeL7YuTfXMnaasA2YgeS1Fe3x5uf63GMTQveFNm4Og dAoi0b3oW1+8e4yysG7CIoPyuq92r5KV0JIb1jivLYf4vNFJA6wcHTzpFtNrBaQut2vf BCnqVHo0qXFPYzWHDf1+Cc4JJxEOdFGVrPUqM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=T0otfQl0w/2Fgu1KwlmXujqX2GbY7hJNDOmqfXJvaN2x1knmVw2G5BpfB8nA2Dx8GW iZd6XgbZ1TsmSuNbRASmJA4gPa7frFRbALR70n3lKEmJsYr2RQBO9esVshG7gxii7z9M iy9+Bl5D96NRV/GVWcidVjV2iG0k/wn2ZbSPA= Original-Received: by 10.229.127.144 with SMTP id g16mr2645869qcs.152.1304693411662; Fri, 06 May 2011 07:50:11 -0700 (PDT) Original-Received: by 10.229.237.147 with HTTP; Fri, 6 May 2011 07:50:11 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cEEeOcSC - 19b33d0a83c7 - 20110506 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:68220 Archived-At: Hello, This is probably a very trivial question, but I'm not sure how TeX works in that respect. I'm used to use a macro \def\unit#1{{\rm\ #1} in constructs such as $1\unit{cm^2} \times 2\unit{cm}$. However I figured out that the contents of \unit{} cannot be broken accross lines, most probably because this becomes an hbox. Is there any simple workaround? Thanks a lot, Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________