From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55908 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Figure not placed at margin Date: Wed, 03 Feb 2010 19:49:40 +0100 Message-ID: <4B69C544.2050604@wxs.nl> References: <004301caa4fa$41164c00$c342e400$@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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1265223003 32154 80.91.229.12 (3 Feb 2010 18:50:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Feb 2010 18:50:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 03 19:49:59 2010 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 1NckIY-0000RI-1u for gctc-ntg-context-518@m.gmane.org; Wed, 03 Feb 2010 19:49:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F8AEC9C8B; Wed, 3 Feb 2010 19:50:59 +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 2bxwyY37o0h2; Wed, 3 Feb 2010 19:50:57 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D840CC9C1F; Wed, 3 Feb 2010 19:50:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5D40CC9C1F for ; Wed, 3 Feb 2010 19:50:52 +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 TYC4yuV3FFcm for ; Wed, 3 Feb 2010 19:50:49 +0100 (CET) Original-Received: from mail.solcon.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id A3B51C9BF1 for ; Wed, 3 Feb 2010 19:50:49 +0100 (CET) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-9 (SurgeMail 4.2d2) with ESMTP id 2592-1713362 for multiple; Wed, 03 Feb 2010 19:49:15 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 In-Reply-To: <004301caa4fa$41164c00$c342e400$@com> X-Authenticated-User: hagen@controller-9 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:55908 Archived-At: On 3-2-2010 18:56, Tom wrote: > The following code fragment places the desired graphic at the beginning of > the chapter but indents it to the right a quarter or 3/8 of an inch. The > text (parameter #2, the chapter title) prints to the right of the figure but > sometimes extends into the right margin. Other times, it wraps down to > following lines as it should. The text begins right against the graphic (in > a blank space) as it should, but the whole thing, graphic and text, are > offset to the right rather than being aligned with the left margin. All > other figures in the document are where they are supposed to be. Any ideas? > > \def\Myheader#1#2{ > \setupfloats[offset=none,margin=0 in] > \startfiguretext > [left] > [fig:graphic] > {none} > {\externalfigure[graphic][frame=off]} > {\switchtobodyfont[26pt] {\ss\bf\sl #1}} > \godown[.5in] > {\ss\bf #2} > \stopfiguretext} see details.pdf on how to define you own float class and configure it ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________