add

\dontleavehmode

before the table

Andres Conrado Montoya via ntg-context <ntg-context@ntg.nl> 於 2021年11月23日 週二 上午7:58寫道:
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 ángulos de la tabla y teniendo en cuenta lo siguiente: $n_{\text{aire}} = 1$ y $n_{\text{aceite de inmersión}} = 1.515$:
  \blank
  \startxtable[align=middle,option=stretch]
  \startxtablebody[body]
  \startxrow
  \startxcell Objetivo 4x \stopxcell
  \startxcell $n=1$ \stopxcell
  \startxcell $\alpha=5.8$ \stopxcell
  \startxcell {\sc an}$=$ \stopxcell
  \stopxrow
  \startxrow
  \startxcell Objetivo 10x \stopxcell
  \startxcell $n=1$ \stopxcell
  \startxcell $\alpha=14.5$ \stopxcell
  \startxcell {\sc an}$=$ \stopxcell
  \stopxrow
  \startxrow
  \startxcell Objetivo 40x \stopxcell
  \startxcell $n=1$ \stopxcell
  \startxcell $\alpha=40.5$ \stopxcell
  \startxcell {\sc an}$=$ \stopxcell
  \stopxrow
  \stopxtablebody
  \startxtablefoot[foot]
  \startxrow
  \startxcell Objetivo 100x \stopxcell
  \startxcell $n=1.515$ \stopxcell
  \startxcell $\alpha=55.6$ \stopxcell
  \startxcell {\sc an}$=$ \stopxcell
  \stopxrow
  \stopxtablefoot
  \stopxtable

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


--
----------------------------------------
Los fines no justifican los medios, porque la medida verdadera de nuestro carácter está dada por los medios que estamos dispuestos a utilizar, no por los fines que proclamamos.
----------------------------------------

“You develop an instant global consciousness, a people orientation, 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 look so petty. You want to grab a politician by the scruff of the neck and drag him a quarter of a million miles out and say, ‘Look at that, you son of a bitch.’” — 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
___________________________________________________________________________________