From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69831 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Trying to get figure frame corners to clip figure Date: Wed, 6 Jul 2011 23:48:59 -0400 (EDT) Message-ID: References: <1310004686.12352.41.camel@kip-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1310010541 16747 80.91.229.12 (7 Jul 2011 03:49:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Jul 2011 03:49:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 07 05:48:57 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 1QefaC-0006V6-FU for gctc-ntg-context-518@m.gmane.org; Thu, 07 Jul 2011 05:48:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 597B2CADF8; Thu, 7 Jul 2011 05:48:55 +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 VOlOiyQN7X-Y; Thu, 7 Jul 2011 05:48:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9DC10CADFB; Thu, 7 Jul 2011 05:48:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C23F1CADFB for ; Thu, 7 Jul 2011 05:48:48 +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 jjg+6ghD+dQG for ; Thu, 7 Jul 2011 05:48:46 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 24D15CADF8 for ; Thu, 7 Jul 2011 05:48:46 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p673mhPQ011090 for ; Thu, 7 Jul 2011 05:48:45 +0200 Original-Received: FROM adi-netbook (bas3-montreal02-1096681338.dsl.bell.ca [65.94.7.122]) By tombraider.mr.itd.umich.edu ID 4E152C99.66579.13536 ; Authuser adityam; 6 Jul 2011 23:48:41 EDT In-Reply-To: <1310004686.12352.41.camel@kip-laptop> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05F4PMHkV - 3d0216238b95 - 20110707 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:69831 Archived-At: On Wed, 6 Jul 2011, Kip Warner wrote: > Hey list, > > I'd like the rounded corners of my figure's frame to clip off the > outside corners of the image so they aren't sticking out. This is what > I'm making do with: > > \setupexternalfigures > [frame=on, > corner=25, > framecolor=colour_frame_border, > background=color, > backgroundcolor=colour_page, > rulethickness=2pt] > > It almost works, but the image still sticks out at the corners beyond > the frame edge. You can use \clip[mp=...]{\framed[...]{...}} (I think that the metafun manual gives an example). Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________