From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87280 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Vertical alignment of \placefigure[right] Date: Wed, 7 May 2014 14:23:03 +0200 Message-ID: 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 1399465416 10377 80.91.229.3 (7 May 2014 12:23:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 May 2014 12:23:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 07 14:23: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 1Wi0sl-00083j-Ud for gctc-ntg-context-518@m.gmane.org; Wed, 07 May 2014 14:23:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 37A9110239 for ; Wed, 7 May 2014 14:23:30 +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 wWN3d-gD1PwQ for ; Wed, 7 May 2014 14:23:30 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2788E101EA for ; Wed, 7 May 2014 14:23:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 75F60101E2 for ; Wed, 7 May 2014 14:23:22 +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 HGOjhq70atbq for ; Wed, 7 May 2014 14:23:11 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id C2EAE101E1 for ; Wed, 7 May 2014 14:23:06 +0200 (CEST) Original-Received: from mail-ve0-x231.google.com (mail-ve0-x231.google.com [IPv6:2607:f8b0:400c:c01::231]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s47CN4AN005630 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 7 May 2014 14:23:05 +0200 Original-Received: by mail-ve0-f177.google.com with SMTP id db11so1110655veb.36 for ; Wed, 07 May 2014 05:23:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=8Ro2lsASAGaXmXRvJTefXKNuMFvDi77CgdpGGUuFYls=; b=iToJZM2XQewQu+q4oMpXsPwaDuxSgvMK2dhwcjeS6CNtmxmO3pjWGsFNROGHw1WF/W ygSUpal5l3hWDnOS13dqC80nAOU6oVqRrMbsfhcut9sv6hZoGlDIoCbfIUrr/oH3+Mzo hpUFxjAgbufVgcufZFGtvBAPyNG5YUoH1L8eVWjgCc/llnw//z653XBdz82CEQBUuaqs A+MHXL3sFyuPMMVMBB8iohzTkra9bKlv7j0W7woagLf0xALQk6vEwoQaEF2KzYpD1Fkp /OuVhyG42vaLOhTQZ7JqQ6Yrhq1aS77Ugkv2m0XDDNBV/NWxL/xAyrtLJCw04rftl5ax LnnQ== X-Received: by 10.220.183.4 with SMTP id ce4mr397325vcb.54.1399465384010; Wed, 07 May 2014 05:23:04 -0700 (PDT) Original-Received: by 10.58.200.198 with HTTP; Wed, 7 May 2014 05:23:03 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400c:c01::231; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TLX0n5Nd - 5da2c0fbbe6f - 20140507 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:87280 Archived-At: Hi, 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 paragraph. Here's a minimal example. The second "ugly workaround" shows what I'm trying to achieve, but ideally using a cleaner approach. Does there exist a magic keyword for that? \starttext \hrule \placefigure[right]{Caption}{\framed[width=5cm,height=4cm]{}} \input knuth % ugly workaround \hrule \vskip-11pt \placefigure[right]{Caption}{\framed[width=5cm,height=4cm]{}} \vskip11pt \input knuth \stoptext Thank you, Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________