From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94865 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Graphics not being aligned correctly in natural tables Date: Tue, 17 May 2016 18:55:38 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0714029120701791071==" X-Trace: ger.gmane.org 1463504185 10319 80.91.229.3 (17 May 2016 16:56:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 May 2016 16:56:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 17 18:56:14 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b2iI1-0005LK-Ol for gctc-ntg-context-518@m.gmane.org; Tue, 17 May 2016 18:56:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 21CA8D1B7; Tue, 17 May 2016 18:55:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YuHfiJTqjw5s; Tue, 17 May 2016 18:55:51 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id AF7C3D1B8; Tue, 17 May 2016 18:55:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DFFB8D1B6 for ; Tue, 17 May 2016 18:55:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EFKVsTZmn3V0 for ; Tue, 17 May 2016 18:55:49 +0200 (CEST) Original-Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com [209.85.217.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 61BA9D1B5 for ; Tue, 17 May 2016 18:55:39 +0200 (CEST) Original-Received: by mail-lb0-f179.google.com with SMTP id ww9so8243645lbc.2 for ; Tue, 17 May 2016 09:55:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=EXW7dVbPuHQdBeTClhdbq5wTFjnKu8QfAPYHrCcDOdk=; b=0KJvzY1FLH6opAwCrWqlTeTZxk4scBtN4kN92wxkJEcAYlUQzIhkTKapfnUye2DMzi qFTvDEBsCA1wVWnsEmJV3P1NQgkH1qnJBdhLheu1V0RUPycOeuax7HkyiabgiPJI/BSH /GHZzFjJiXUBcPxK6im5O/fGrKDaJVDWPdkIKtiEvQjEd5BazZQ/HvU1Q3zA6bmx36eG kxqkkj1QGazpxYTVCWzLZdyk3pWMd8wSllOb0zWmio/CUE2AOcCBLllmh5WthAZFSlw1 QidL6I7PzvcrC7F1JXGUYGMDHPo7IeX7qoIF/KQrnUWI4ds5B7V8K3bg6L22c4PnNeN1 EJ3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=EXW7dVbPuHQdBeTClhdbq5wTFjnKu8QfAPYHrCcDOdk=; b=irl4ZkxQ/hteKLSqamoY7H5QjRhy7GeJyeFzw4PUH644RtY0hcjRvnKPwfqbbSHF12 qvqLV7YCcm/TuKjF/wvPMbece0B8n+p3vofIuc4dSWbpg3yNp2frjDfkhRM88N5kwY7k jnYKKRjWPu+T97fch08aNpqlvIhUIYjgPnKDVRf9Wi0XHtYU+zMRN/JsqAHkcYZBpv7/ wXANXi9nrvBAdnnvLx4zmBEcqQ3xCrUoP/0KlI5BN1lCo4tJlOerd18jJSbB6CIWajL8 PDAP+5vwbht//GaLgzt+GtXjoniVkRdhsmxJ0iApSW9mZrmpzTNmJ3Yf9YAiqayfSDQx 0lEg== X-Gm-Message-State: AOPr4FUozx9Ar7EhzY3FigzOTAdUBdk4WnrIZFrsB5Lv8PNlgAeudPJxW4DmIhPkqfpFBNN//BAvl3/gzqFgZw== X-Received: by 10.112.205.69 with SMTP id le5mr922993lbc.138.1463504138927; Tue, 17 May 2016 09:55:38 -0700 (PDT) Original-Received: by 10.25.82.77 with HTTP; Tue, 17 May 2016 09:55:38 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:94865 Archived-At: --===============0714029120701791071== Content-Type: multipart/alternative; boundary=001a11c3c1be5406d505330c9cd4 --001a11c3c1be5406d505330c9cd4 Content-Type: text/plain; charset=UTF-8 On Tue, May 17, 2016 at 6:47 PM, cryo shock wrote: > Hello fellow ConTeXt lovers, > > I am having trouble with placing graphics in between \bTD and \eTD. I am > using the \externalfigure to do so which works great. The problem is that > they aren't being aligned at all when i use > \setupTABLE[align={middle,lohi}] whereas text is being aligned perfectly in > the middle of each cell. > I found out that one can use \dontleavehmode\externalfigure to force > alignment, which als works. But when I use \dontleave... the graphic isn't > being placed perfectly in the middle but slightly a little bit more to the > top of the cell. > It's not a real problem for me but since everything looks great in the > document, the slightly to the top moved graphics bother me somehow. > Does anybody know a workaround maybe? > > Greets, Sebastian > mwe... -- luigi --001a11c3c1be5406d505330c9cd4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Tue, May 17, 2016 at 6:47 PM, cryo shock <axteffekt@gmail.com= > wrote:

Hello f= ellow ConTeXt lovers,

I am having trouble with placing graphics in between \bTD an= d \eTD. I am using the \externalfigure to do so which works great. The prob= lem is that they aren't being aligned at all when i use \setupTABLE[ali= gn=3D{middle,lohi}] whereas text is being aligned perfectly in the middle o= f each cell.
I found out that one can use \dontleavehmode\externalfigure to force alignm= ent, which als works. But when I use \dontleave... the graphic isn't be= ing placed perfectly in the middle but slightly a little bit more to the to= p of the cell.
It's not a real problem for me but since everything looks great in the = document, the slightly to the top moved graphics bother me somehow.
Does anybody know a workaround maybe?

Greets, Sebastian

mwe...


--
luigi
--001a11c3c1be5406d505330c9cd4-- --===============0714029120701791071== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0714029120701791071==--