From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25179 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Re: Keep framed on the baseline Date: Sat, 14 Jan 2006 12:44:19 -0800 Message-ID: References: <47F44246-ACB6-46C9-95BE-F48E4952181E@cox.net> <6faad9f00601141210t7efedfe7t718a88e3ee5302e7@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1137271545 4892 80.91.229.2 (14 Jan 2006 20:45:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Jan 2006 20:45:45 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 14 21:45:42 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 1ExsHO-0000ZS-LQ for gctc-ntg-context-518@m.gmane.org; Sat, 14 Jan 2006 21:45:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 424551282E; Sat, 14 Jan 2006 21:45:41 +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 18398-01; Sat, 14 Jan 2006 21:45:38 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E29C2127C3; Sat, 14 Jan 2006 21:45:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 267FB127C3 for ; Sat, 14 Jan 2006 21:45:37 +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 18179-05 for ; Sat, 14 Jan 2006 21:45:36 +0100 (CET) Original-Received: from fed1rmmtao10.cox.net (fed1rmmtao10.cox.net [68.230.241.29]) by ronja.ntg.nl (Postfix) with SMTP id 987AA1278A for ; Sat, 14 Jan 2006 21:45:35 +0100 (CET) Original-Received: from [10.0.1.2] (really [70.191.56.23]) by fed1rmmtao10.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060114204417.DBUX20441.fed1rmmtao10.cox.net@[10.0.1.2]> for ; Sat, 14 Jan 2006 15:44:17 -0500 In-Reply-To: <6faad9f00601141210t7efedfe7t718a88e3ee5302e7@mail.gmail.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.746.2) 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:25179 Archived-At: Mojca et al, This seems to do what I want. I wanted the strikeout just a bit longer. \startuniqueMPgraphic{strikeme} draw (-1,-1)--(OverlayWidth+1,OverlayHeight+1) withpen pencircle scaled 1pt withcolor red; \stopuniqueMPgraphic \defineoverlay[strikeme][\uniqueMPgraphic{strikeme}] \def\strikeout#1{\mframed[frame=off,background=strikeme]{#1}} I tried working with offset (instead of attacking the graphic as I did), but that raised the numbers. This look OK to folks, or should I be doing something with enlarged 1pt or some such thing? On Jan 14, 2006, at 12:10 PM, Mojca Miklavec wrote: > David Arnold wrote: >> All, >> >> I have: >> >> \placeformula[-] >> \startformula >> \eqalign{ >> &\text{Divisors of 12}: \framed{1},\ \framed{2},\ \framed{3},\ 4,\ >> \framed{6},\ 12\cr >> &\text{Divisors of 18}: \framed{1},\ \framed{2},\ \framed{3},\ >> \framed{6},\ 9,\ 18} >> \stopformula >> >> But I'd like to keep the numbers on the same baseline and let the >> frame dip below the baseline. > > What about \mframed? (Probably already evident from the other mail.) > > Mojca > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context