From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69126 Path: news.gmane.org!not-for-mail From: Christoph Redecker Newsgroups: gmane.comp.tex.context Subject: Placing figures flush right and captions in the margin Date: Mon, 13 Jun 2011 16:14:47 +0200 Message-ID: <4DF61B57.6050708@tu-harburg.de> 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 1307974509 27835 80.91.229.12 (13 Jun 2011 14:15:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2011 14:15:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 13 16:15:04 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 1QW7uw-0001Ko-47 for gctc-ntg-context-518@m.gmane.org; Mon, 13 Jun 2011 16:15:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 25912CADBC; Mon, 13 Jun 2011 16:14: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 4d2K+OsPoRhU; Mon, 13 Jun 2011 16:14:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F131BCADB7; Mon, 13 Jun 2011 16:14:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1C626CADB7 for ; Mon, 13 Jun 2011 16:14:44 +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 uCeZPTGxAZOH for ; Mon, 13 Jun 2011 16:14:41 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id D5EC6CAD9E for ; Mon, 13 Jun 2011 16:14:41 +0200 (CEST) Original-Received: from smtp3.rz.tu-harburg.de (smtp3.rz.tu-harburg.de [134.28.202.138]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5DEEeuj005036 for ; Mon, 13 Jun 2011 16:14:41 +0200 Original-Received: from mail.tu-harburg.de (mail.tu-harburg.de [134.28.202.179]) by smtp3.rz.tu-harburg.de (8.13.8/8.13.8) with ESMTP id p5DEEeid024205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 13 Jun 2011 16:14:40 +0200 Original-Received: from [192.168.2.146] (f054100185.adsl.alicedsl.de [78.54.100.185]) (user=ttcr mech=PLAIN bits=0) by mail.tu-harburg.de (8.13.8/8.13.8) with ESMTP id p5DEEdc8031092 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 13 Jun 2011 16:14:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tu-harburg.de; s=x2011-24; t=1307974480; bh=PUVCYrXV8+tRPg1KFo40l8IwALWplB1q4I15wpaQRUw=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=Vxn9JhMMzt6Ob0Se+EbnB+O4+BWlTLKaVWjgUHEcpsw4AtILTLM4UYsAFl2DUqHsV zA6dXZVD92+LtRFc4w37+pZRYeqTkntSrZjwsFLpL1dUzQUVEVG3YKmsCGhr4CLOJD KzbAyu7gc4kJ9R1+ZwKkyv1e9jA1LZdD2TukmILA= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-Scanned-By: TUHH Rechenzentrum content checker on 134.28.202.138 X-Scanned-By: TUHH Rechenzentrum content checker on 134.28.202.179 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=134.28.202.138; country=DE; region=04; city=Hamburg; latitude=53.5500; longitude=10.0000; http://maps.google.com/maps?q=53.5500,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rETqeFdv - 2cc284d9ca37 - 20110613 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:69126 Archived-At: Hi, I want to place my figures flush right, so that they are aligned with the right border of my text area. Captions should be in the right margin, flush left, ragged right. It is a one-sided document. I've tried \setupfloats[ location=right] \setupcaptions[ location=rightmargin, align=flushleft, headstyle=\tfx, style=\tfx] \usemodule[tikz] \starttext \placefigure{Test figure caption with a pretty long text which might eventually require a line break.}{ \starttikzpicture \draw (0,0) rectangle (2,2); \stoptikzpicture } \stoptext and the figure is placed left, and no caption is shown. When I remove location=rightmargin, the caption is visible. Other settings I've tried: outermargin - invisible righthanging - invisible right - caption is typeset in the gap between text and margin I found this old thread: http://archive.contextgarden.net/message/20090707.065101.8175a86c.en.html, but it is not very enlightening. I'm taking the options from http://pmrb.free.fr/contextref.pdf. My ConTeXt version is 2011.06.11. How can I place figures flush right? How can I place the captions in the right margin? Regards Christoph ___________________________________________________________________________________ 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 ___________________________________________________________________________________