From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87284 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Vertical alignment of \placefigure[right] Date: Wed, 07 May 2014 08:48:02 -0400 Message-ID: <87y4ydpxfh.fsf@approx.mit.edu> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1399466917 2197 80.91.229.3 (7 May 2014 12:48:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 May 2014 12:48:37 +0000 (UTC) To: Mojca Miklavec , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 07 14:48:32 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wi1Gx-0001qf-1H for gctc-ntg-context-518@m.gmane.org; Wed, 07 May 2014 14:48:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A9E081023B for ; Wed, 7 May 2014 14:48:28 +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 M4MRDcBU+mHx for ; Wed, 7 May 2014 14:48:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 81C38101E9 for ; Wed, 7 May 2014 14:48:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A26D8101E2 for ; Wed, 7 May 2014 14:48:20 +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 zf+LLiQb8mCF for ; Wed, 7 May 2014 14:48:19 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 43A31101E1 for ; Wed, 7 May 2014 14:48:10 +0200 (CEST) Original-Received: from dmz-mailsec-scanner-6.mit.edu (dmz-mailsec-scanner-6.mit.edu [18.7.68.35]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s47Cm7Xx017859 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 7 May 2014 14:48:09 +0200 X-AuditID: 12074423-f79916d000000c54-15-536a2b867598 Original-Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP id 68.DB.03156.78B2A635; Wed, 7 May 2014 08:48:07 -0400 (EDT) Original-Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id s47Cm5hB008869; Wed, 7 May 2014 08:48:06 -0400 Original-Received: from approx.mit.edu (pool-72-93-170-229.bstnma.east.verizon.net [72.93.170.229]) (authenticated bits=0) (User authenticated as sanjoy@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s47Cm3uV021970 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 7 May 2014 08:48:05 -0400 Original-Received: from sanjoy by approx.mit.edu with local (Exim 4.82) (envelope-from ) id 1Wi1GU-0005lK-BN; Wed, 07 May 2014 08:48:02 -0400 In-Reply-To: User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1 (i486-pc-linux-gnu) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIIsWRmVeSWpSXmKPExsUixG6notuunRVsMHc+s0XryhZmi7XzFzE5 MHnsnHWX3ePYqsWMAUxRXDYpqTmZZalF+nYJXBnnVt1iK/jGXLG08QdLA+Nk5i5GTg4JAROJ 63+WsULYYhIX7q1n62Lk4hASmM0k8en2ayYIZwOjxKSJM5ghnLNMEq92d7FDODMYJU62vgFy ODjYBFQl/v4PBBklIlAo0XXuP9hYYQEXiSd3T4Ct4xQIlJi35iojiC0kECBx/+IjFhBbVCBI 4nrTU7AaFqAxB+/dZgexeQW0JTY/n8IEYQtKnJz5BKyeWUBC4uCLF8wTGAVmIUnNQpJawMi0 ilE2JbdKNzcxM6c4NVm3ODkxLy+1SNdMLzezRC81pXQTIzgkXZR3MP45qHSIUYCDUYmHt+NF RrAQa2JZcWXuIUZJDiYlUV5W7qxgIb6k/JTKjMTijPii0pzU4kOMEhzMSiK8rzSBcrwpiZVV qUX5MClpDhYlcd631lbBQgLpiSWp2ampBalFMFkZDg4lCd5wLaBGwaLU9NSKtMycEoQ0Ewcn yHAeoOFBIDW8xQWJucWZ6RD5U4yKUuK83SBbBUASGaV5cL2wlPGKURzoFWHeWJB2HmC6get+ BTSYCWgwl3E6yOCSRISUVAPjQhH5mVNYWidMiazfsnDpizNf9zVUce7xvLKdY5Z79KGpHRua WDb9MjC/9POJ/IrdqzaeFGTMTVuZPzXkjeGnnx+3HdPvctysfm2ZXZXrtDwTXYbyfcmzz/A1 Jtz/eeXQun5uRsYHpuzRvzs4DhY1dC4xaHLelVjidGjFJF8v7r8vn8/x/TZ9kRJL X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=18.7.68.35; country=US; region=Massachusetts; city=Cambridge; latitude=42.3931; longitude=-71.1345; http://maps.google.com/maps?q=42.3931,-71.1345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WLX0M81W - 9899ac00f654 - 20140507 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87284 Archived-At: > I would like to vertically shift the placement of figures > (\placefigure[right]...), so that the upper side of the figure would > be aligned with the top of the first line in a paragraph as opposed to > the bottom [of the first line?] of the first paragraph. Ah, I can finally answer a question. The key is "high": \starttext \hrule \placefigure[right,high]{Caption}{\framed[width=5cm,height=4cm]{}} \input knuth \stoptext But that seems too easy. Is it what you want? -Sanjoy ___________________________________________________________________________________ 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 ___________________________________________________________________________________