[NTG-context] aligning rotated text in a natural table

Willi Egger context at boede.nl
Wed Jun 12 14:31:09 CEST 2019


Martin, did you try to add [align=lohi]?

Willi

> On 12 Jun 2019, at 13:11, Martin Althoff <martin.althoff at 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
> <rotate-test.pdf>___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________



More information about the ntg-context mailing list