Hi Willi, thanks for the quick reply. I have the [align=lohi] as part of the setupTABLE statement. Now I tried adding it into the particular cell -- again no effect even if I add "middle".
\bTD[align=lohi] \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD I suspect the rotate mechanism places the object independent of the align= statement. For that reason some other handling might be needed. I just don't know which :) Martin On Wed, 2019-06-12 at 14:31 +0200, Willi Egger wrote: > Martin, did you try to add [align=lohi]? > > Willi > > > On 12 Jun 2019, at 13:11, Martin Althoff <martin.alth...@yahoo.com> wrote: > > > > I am trying to align rotated text horizontally and vertically in a table > > cell. Vertically > > is no problem, horizontally it fails. Non-rotated text is, of course, fine. > > > > What can I do to fix the problem? Thanks for suggestions. > > > > Martin > > > > using: mtx-context | current version: 2019.05.18 10:42 > > PDF of my output is attached. > > > > MWE: > > > > \starttext > > \setupTABLE[c][1][width=7mm] > > \setupTABLE[c][2][width=30mm] > > \setupTABLE[r][each][align={lohi,middle},height= 50mm] > > > > \bTABLE > > \bTR > > \bTD \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD > > \bTD blah \eTD > > \eTR > > > > \eTABLE > > \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________