From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54728 Path: news.gmane.org!not-for-mail From: Curiouslearn Newsgroups: gmane.comp.tex.context Subject: Adjusting the size of a figure when using placefigure Date: Tue, 24 Nov 2009 20:44:48 -0500 Message-ID: <3b4b12310911241744n75ca7a13k19e81f6d6378c3a3@mail.gmail.com> 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: ger.gmane.org 1259113509 21125 80.91.229.12 (25 Nov 2009 01:45:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Nov 2009 01:45:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 25 02:45:02 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 1ND6wH-0001FQ-2Y for gctc-ntg-context-518@m.gmane.org; Wed, 25 Nov 2009 02:45:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 47059C9BC2; Wed, 25 Nov 2009 02:42:13 +0100 (CET) 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 pxZL1oolpQbd; Wed, 25 Nov 2009 02:42:10 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4C86C9BCF; Wed, 25 Nov 2009 02:42:09 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7F7FDC9BCF for ; Wed, 25 Nov 2009 02:42:07 +0100 (CET) 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 jE5ckYW0jWt8 for ; Wed, 25 Nov 2009 02:42:04 +0100 (CET) Original-Received: from mail-px0-f179.google.com (mail-px0-f179.google.com [209.85.216.179]) by balder.ntg.nl (Postfix) with ESMTP id D373AC9BC2 for ; Wed, 25 Nov 2009 02:42:03 +0100 (CET) Original-Received: by pxi9 with SMTP id 9so2592422pxi.16 for ; Tue, 24 Nov 2009 17:44:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=O/sAS7Fz7g5J2fVH1bFNATd7PeUjKY9EqRsvjm/nnaw=; b=Rmo56UbQvdEBmb4NVsCTEO8bhKYWA7OMONJ6ne7Lv3oAD/WpWZgke6BCJpvrktRkCC lqZ8PzcBbPbadBLyxCp2Q+IWG0AkjkWqCxiFaGteu42h0IDQaGcp40RbYyiX8fXvId4G HI1dNTp23AaB3/WPAH8i/raFAHtwiEZSZ9wgY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=t+p+6scOPtLUf4NwbK8TKANlbEv+RT9x8JFAZY9agHoX5pnQh8S79stanSir0SVUGe pheIo0oPFOJhjcnm5jyUJ0ByXiyBHDuJUVrXybfhM/MlYzeDzHFtchTpSjWTz9Lj6Dul uIsc3teYPL2/CKO0dfXRS5xrQVkMxnPVgL8fQ= Original-Received: by 10.142.8.3 with SMTP id 3mr756571wfh.72.1259113488240; Tue, 24 Nov 2009 17:44:48 -0800 (PST) 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:54728 Archived-At: Please see the figure generated by the following minimal example. Due to the dimensions chosen in the figure, the figure is wider than the text width. Is there an option in \placefigure or another command that can help to make this figure smaller (without changing the code of the original figure)? Thank you. \setuppapersize[letter][letter] \setuplayout[leftedge=0in,leftmargin=1in,leftmargindistance=0in,rightmargin=1in,rightmargindistance=0in,rightedge=0in,leftedgedistance=0in,rightedgedistance=0in,topspace=0.5in,width=6.5in,height=10in] \setupcolors[state=start] \starttext \startuseMPgraphic{firstFig} numeric u; u:=1in; draw (0,0)--(4u,0) withpen pencircle scaled 2pt withcolor red; \stopuseMPgraphic \startuseMPgraphic{secondFig} numeric u; u:=1in; draw (0,0)--(4u,0) withpen pencircle scaled 2pt withcolor blue; \stopuseMPgraphic \placefigure[here]{Two figures next to each other} \startcombination[2*1] {\useMPgraphic{firstFig}}{(a)} {\useMPgraphic{secondFig}}{(b)} \stopcombination It can be seen that due to the dimensions in the figure, the figure is wider than the text. Is there a way to make the figure as wide as the text by setting some option of "\placefigure". \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________