From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94866 Path: news.gmane.org!not-for-mail From: "L.S.-Soc&Gam" Newsgroups: gmane.comp.tex.context Subject: Re: Graphics not being aligned correctly in natural tables Date: Tue, 17 May 2016 21:44:36 +0200 Message-ID: <573B74A4.1010200@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2536899194899725301==" X-Trace: ger.gmane.org 1463514324 13707 80.91.229.3 (17 May 2016 19:45:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 May 2016 19:45:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 17 21:45:13 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 1b2kvY-00040Z-B0 for gctc-ntg-context-518@m.gmane.org; Tue, 17 May 2016 21:45:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BF1A9D188; Tue, 17 May 2016 21:44: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 hal6W7CksoFh; Tue, 17 May 2016 21:44:50 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 15619D189; Tue, 17 May 2016 21:44:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C8C2DD189 for ; Tue, 17 May 2016 21:44:48 +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 a4k8XmR7nVVY for ; Tue, 17 May 2016 21:44:47 +0200 (CEST) Original-Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) (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 60561D188 for ; Tue, 17 May 2016 21:44:37 +0200 (CEST) Original-Received: by mail-wm0-f48.google.com with SMTP id n129so154300723wmn.1 for ; Tue, 17 May 2016 12:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=+d5wDoDUKgrURRG711W6t3BVXL1aQbcBTeHaMJzPP3k=; b=jvA59uYYz1FUikMy4eb259KxP0p+0C3OrDpiEXvj5HTlsmriUtqBnh8yK9hM2kWvty RfXXKH9IBZ+1roANKrFgloyUL05oo6sweNyy5ivdNDo9l44m3cf+A/LNsacj6nn/LCny 0Md3B64crPt65IMnD9yLDWA8UORaxvaWqv68bfYPq/4esIM7NHI4aWELgFIqvuNAnWG0 xEbupuiDiz99nY7eRyUmw+/3vepD23/jXJ12JUeCH+Kgg+U3mVAycCoMkCkHIFV19wmi 3lB4FHajKhRn8fgJ6nTSbnDB7Ug0ya+M9nO7SkZvvI2P/tUST7rYiHmlijKr+eKvVYtv KV6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=+d5wDoDUKgrURRG711W6t3BVXL1aQbcBTeHaMJzPP3k=; b=CvJeIFwd15ko8XopbHNvCnCrgc5G16gd24Kthpuu9L0c/pe/lJKj+wXh5QtGCviPFX krniPCr6EZIAJoYc9hdekRjjwyJKW4hK4l+NmcD03eF1pWZWGiHu6FBp05YpchZCo9Ta WWPgex4bClRF4iDCf1lmatvzfFiEm+R7dZpWGtRuoafEpr6VD7qqIlDHKe7Nxqi6R00/ UzhyeGkiLzmXrr+s5MptsNGt7fG3VbKd7lNcjND2Ui5MPYQfzQ2XJr1f9Fz5lal9/6KA 2WqkeVmH/Wr22Mx/bIL5ExLrao3GTDKPfjdgHdRgS3dArm1k3EFbUmm650Lr9SRMW5vM 9bgw== X-Gm-Message-State: AOPr4FXJFZNiSW/cvDa7sm+h3wQIx3UJGltwWhY5PZUX8/hiH99G3WgfDO/lUBe80ZqbJQ== X-Received: by 10.28.14.73 with SMTP id 70mr3185833wmo.15.1463514276821; Tue, 17 May 2016 12:44:36 -0700 (PDT) Original-Received: from [192.168.1.2] (port-92-201-110-134.dynamic.qsc.de. [92.201.110.134]) by smtp.googlemail.com with ESMTPSA id m140sm25599152wma.24.2016.05.17.12.44.35 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 May 2016 12:44:36 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 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:94866 Archived-At: This is a multi-part message in MIME format. --===============2536899194899725301== Content-Type: multipart/alternative; boundary="------------000906070308010504080104" This is a multi-part message in MIME format. --------------000906070308010504080104 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Luigi, I am afraid that "mwe..." doesn't help. Thanks tho bro, Sebastian Am 17.05.2016 um 18:55 schrieb luigi scarso: > > > 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 > > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ --------------000906070308010504080104 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hi Luigi,

I am afraid that "mwe..." doesn't help.

Thanks tho bro,

Sebastian




Am 17.05.2016 um 18:55 schrieb luigi scarso:


On Tue, May 17, 2016 at 6:47 PM, cryo shock <axteffekt@gmail.com> 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


___________________________________________________________________________________
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
___________________________________________________________________________________

--------------000906070308010504080104-- --===============2536899194899725301== 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= --===============2536899194899725301==--