When typesetting inside a \midaligned a version with markers around: A\startembeddedxtable\xmlflush{#1}\stopembeddedxtable B then the A and B show up centered and have the width of the table material between them. The embeddedxtable stuff is placed outside that range starting at the location of the B. A sketch of what happens: A B Definitely something with embeddedxtable placement, I might guess. Some unwanted spaces in the code perhaps? Hans van der Meer On 24 May 2015, at 12:18, Meer, H. van der > wrote: With the construct \startembeddedxtable\xmlflush{#1}\stopembeddedxtable placed inside a \midaligned I used to get a neatly centered content. But now the material is shifted to the right, even sticking out of the page. Has something changed in the embeddedxtable alignment handling since the end of 2013? (The embeddedxtable macro was needed because the typeset material exists inside \startbuffer..\stopbuffer.) Hans van der Meer ___________________________________________________________________________________ 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 ___________________________________________________________________________________