From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113497 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: fv leung via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: fixing indentation of xtable inside item Date: Tue, 23 Nov 2021 08:19:49 +0800 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1326390820664591257==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31090"; mail-complaints-to="usenet@ciao.gmane.io" Cc: fv leung To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 23 01:20:37 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpJY4-0007wC-Sj for gctc-ntg-context-518@m.gmane-mx.org; Tue, 23 Nov 2021 01:20:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8583E2893C3; Tue, 23 Nov 2021 01:20:08 +0100 (CET) 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 xhqI5JiJSqkh; Tue, 23 Nov 2021 01:20:06 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 106FD2896A3; Tue, 23 Nov 2021 01:20:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 789AF28966B for ; Tue, 23 Nov 2021 01:20:04 +0100 (CET) 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 e5d70drHLn11 for ; Tue, 23 Nov 2021 01:20:02 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.176; helo=mail-vk1-f176.google.com; envelope-from=fvleung@gmail.com; receiver= Original-Received: from mail-vk1-f176.google.com (mail-vk1-f176.google.com [209.85.221.176]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 77CA32893C3 for ; Tue, 23 Nov 2021 01:20:02 +0100 (CET) Original-Received: by mail-vk1-f176.google.com with SMTP id b125so11334425vkb.9 for ; Mon, 22 Nov 2021 16:20:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=hf78E3MkB5eumd7s6s5LGRAKS4bdOQFxtsU0XzF8Ayk=; b=Y3kOfUqO2B6NT5aAwdpf5yT5F9PAlsWjvB3DffFkdjfRs6IR2ZNaOYaha6TpjHdqg3 orYwYZwCThrMQr28gXmc43hvpCkILfuTqOV9ueqx9ZghwmQPDmSYnfQja6mEwlqWV/YA T3jE4FY1Ap+0z5QBi/abUhsBgRXcUw+QRZzPa226EnET7kjXBDFZFHNkWKLU9mivXdYQ ynF/OpckeADaa2fCS1KJJeOO+PvLppQOK/Y+Ms7VTs0zrcV6wmpD4pA6mCVayPDhFiZ4 belbEScUjMDWEKV+hL9JatlffAoGu5nY7eDruHBJDHETy9cSrlAK1NNv4/QJltIp1Z1R Jf2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=hf78E3MkB5eumd7s6s5LGRAKS4bdOQFxtsU0XzF8Ayk=; b=ACiTQszIzbgVNUKg8sIJeFkO0iXFEMz9Ri/CJNx2+W0MPcG2I7XeQK+Ga/twkY2TR6 xPOQHx5w3CeNp7OBCI4cuwFaENHgmaKA5T67JVV9U3mx/Z/WMeJFdTqhfPSCu2DLS4Zb ZgeEIN9YXQvXEh4Mgr8NZwKmuY/SjuHbFSMFmJYyv1v0VzKb0WBcbSRN9eccA3ses6OT +bem/viGv+UN7s6xnmMHQpzRql/eLgwJjVCLWGHdaNbDg8V7lNnEQFIRdMvrTOTgMJW0 YZ9ejYH79v+oYnPWI6NzJlUVPWTbEIWOsUEV+IZV/qH4bnsQ4iW0x+MD+3jiF44dVEaZ ecXA== X-Gm-Message-State: AOAM532lLEC0isgW8Y7FF8eOfah8rSB/MX5gAqiOiwPvcKaCju4Qf5Li DsdJ0wEyi/8+eE8XnoLuMcK1oqXnB2Lm1Nb69mFugC84cbw= X-Google-Smtp-Source: ABdhPJyAxnBOr6ZlqEIKodA4X8Y+F/TaByoex0z052r97BvPezPaqeX5X0n1OyAPYXLmyxxzrGm0r5c/zxIxtb731BA= X-Received: by 2002:a05:6122:d05:: with SMTP id az5mr1399433vkb.9.1637626800764; Mon, 22 Nov 2021 16:20:00 -0800 (PST) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:113497 Archived-At: --===============1326390820664591257== Content-Type: multipart/alternative; boundary="000000000000bbfddf05d169b36f" --000000000000bbfddf05d169b36f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable add \dontleavehmode before the table Andres Conrado Montoya via ntg-context =E6=96=BC 2021= =E5=B9=B411=E6=9C=8823=E6=97=A5 =E9=80=B1=E4=BA=8C =E4=B8=8A=E5=8D=887:58=E5=AF=AB=E9=81=93=EF=BC=9A > Considering the following MWE, I would like to know how I can get > the table inside the item to be aligned with the item. It seems the > tabel takes the width right, but it gets pushed to the left, disregarding > the item's indentation. > > I think I read about this behaviour somewhere, but I have spent 4 hours > looking for it in the manuals and I can't find it. :( > > Any help would be appreciated. > > %-------------------------startwme > \starttext > \startitemize > \item > Determine la {\sc an} de cada objetivo del microscopio, con los =C3=A1n= gulos > de la tabla y teniendo en cuenta lo siguiente: $n_{\text{aire}} =3D 1$ y > $n_{\text{aceite de inmersi=C3=B3n}} =3D 1.515$: > \blank > \startxtable[align=3Dmiddle,option=3Dstretch] > \startxtablebody[body] > \startxrow > \startxcell Objetivo 4x \stopxcell > \startxcell $n=3D1$ \stopxcell > \startxcell $\alpha=3D5.8$ \stopxcell > \startxcell {\sc an}$=3D$ \stopxcell > \stopxrow > \startxrow > \startxcell Objetivo 10x \stopxcell > \startxcell $n=3D1$ \stopxcell > \startxcell $\alpha=3D14.5$ \stopxcell > \startxcell {\sc an}$=3D$ \stopxcell > \stopxrow > \startxrow > \startxcell Objetivo 40x \stopxcell > \startxcell $n=3D1$ \stopxcell > \startxcell $\alpha=3D40.5$ \stopxcell > \startxcell {\sc an}$=3D$ \stopxcell > \stopxrow > \stopxtablebody > \startxtablefoot[foot] > \startxrow > \startxcell Objetivo 100x \stopxcell > \startxcell $n=3D1.515$ \stopxcell > \startxcell $\alpha=3D55.6$ \stopxcell > \startxcell {\sc an}$=3D$ \stopxcell > \stopxrow > \stopxtablefoot > \stopxtable > > \stopitemize > \stoptext > %-------------------------startwme > > > -- > Andr=C3=A9s Conrado Montoya > Andi K=C3=BA > andresconrado@gmail.com > http://sesentaycuatro.com > http://messier87.com > http://chiquitico.org > ---------------------------------------- > Los fines no justifican los medios, porque la medida verdadera de nuestro > car=C3=A1cter est=C3=A1 dada por los medios que estamos dispuestos a util= izar, no por > los fines que proclamamos. > ---------------------------------------- > > =E2=80=9CYou develop an instant global consciousness, a people orientatio= n, an > intense dissatisfaction with the state of the world, and a compulsion to = do > something about it. From out there on the moon, international politics lo= ok > so petty. You want to grab a politician by the scruff of the neck and dra= g > him a quarter of a million miles out and say, =E2=80=98Look at that, you = son of a > bitch.=E2=80=99=E2=80=9D =E2=80=94 Apollo 14 astronaut Edgar Mitchell > > _________________________________________________________________________= __________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --000000000000bbfddf05d169b36f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
add

\dontleavehmode

<= /div>
before the table

Andres Conrado Montoya via ntg-context <= ntg-context@ntg.nl> =E6=96=BC = 2021=E5=B9=B411=E6=9C=8823=E6=97=A5 =E9=80=B1=E4=BA=8C =E4=B8=8A=E5=8D=887:= 58=E5=AF=AB=E9=81=93=EF=BC=9A
Considering the following=C2=A0MWE, I would = like to know how I can get the=C2=A0table inside the item to be aligned wit= h the item. It seems the tabel=C2=A0takes the width=C2=A0right, but it gets= pushed to the left,=C2=A0disregarding the item's indentation.=C2=A0
I think I read about this behaviour somewhere, but I have = spent 4 hours looking for it in the manuals and I can't find it. :(

Any help would be appreciated.=C2=A0
<= br clear=3D"all">
%-------------------------startwme
\startte= xt
\startitemize
\item
=C2=A0 Determine la {\sc an} de cada objeti= vo del microscopio, con los =C3=A1ngulos de la tabla y teniendo en cuenta l= o siguiente: $n_{\text{aire}}=E2=80=89=3D=E2=80=891$ y $n_{\text{aceite de = inmersi=C3=B3n}}=E2=80=89=3D=E2=80=891.515$:
=C2=A0 \blank
=C2=A0 \st= artxtable[align=3Dmiddle,option=3Dstretch]
=C2=A0 \startxtablebody[body]=
=C2=A0 \startxrow
=C2=A0 \startxcell Objetivo 4x \stopxcell
=C2= =A0 \startxcell $n=3D1$ \stopxcell
=C2=A0 \startxcell $\alpha=3D5.8$ \st= opxcell
=C2=A0 \startxcell {\sc an}$=3D$ \stopxcell
=C2=A0 \stopxrow<= br>=C2=A0 \startxrow
=C2=A0 \startxcell Objetivo 10x \stopxcell
=C2= =A0 \startxcell $n=3D1$ \stopxcell
=C2=A0 \startxcell $\alpha=3D14.5$ \s= topxcell
=C2=A0 \startxcell {\sc an}$=3D$ \stopxcell
=C2=A0 \stopxrow=
=C2=A0 \startxrow
=C2=A0 \startxcell Objetivo 40x \stopxcell
=C2= =A0 \startxcell $n=3D1$ \stopxcell
=C2=A0 \startxcell $\alpha=3D40.5$ \s= topxcell
=C2=A0 \startxcell {\sc an}$=3D$ \stopxcell
=C2=A0 \stopxrow=
=C2=A0 \stopxtablebody
=C2=A0 \startxtablefoot[foot]
=C2=A0 \star= txrow
=C2=A0 \startxcell Objetivo 100x \stopxcell
=C2=A0 \startxcell = $n=3D1.515$ \stopxcell
=C2=A0 \startxcell $\alpha=3D55.6$ \stopxcell
= =C2=A0 \startxcell {\sc an}$=3D$ \stopxcell
=C2=A0 \stopxrow
=C2=A0 \= stopxtablefoot
=C2=A0 \stopxtable

\stopitemize
\stoptext
%-------------------------startwme

--
Andr=C3=A9s Conrado Montoya
Andi K=C3=BA
andresconrado@gmail.com
http://sesentaycuatro.com=
----------------------------------------=
Los fines no justifican los medios, porque la medida verdadera de nuest= ro car=C3=A1cter est=C3=A1 dada por los medios que estamos dispuestos a uti= lizar, no por los fines que proclamamos.
-------------------------------= ---------

=E2=80=9CYou develop an instant global consciousness, a peo= ple orientation,=20 an intense dissatisfaction with the state of the world, and a compulsion to do something about it. From out there on the moon, international=20 politics look so petty. You want to grab a politician by the scruff of=20 the neck and drag him a quarter of a million miles out and say, =E2=80=98Lo= ok at that, you son of a bitch.=E2=80=99=E2=80=9D =E2=80=94 Apollo 14 astronaut = Edgar Mitchell

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000bbfddf05d169b36f-- --===============1326390820664591257== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1326390820664591257==--