Am 15.03.23 um 23:27 schrieb fv leung via ntg-context:
How about using \vfill ?
\define[1]{\RtH}{\vfill\rotate{#1}}
This is actually the only version that works flawlessly.
But thanks for all answers! (I was busy over the weekend.)
Hraban
Henning Hraban Ramm via ntg-context schrieb am 15.03.2023 um 19:15:
Hi!
In my table, I want the header texts to be 90˚ rotated and aligned to
the bottom of their cell. I couldn’t find an option to do that.
Tried \dontleavehmode or \hfill in my \RtH macro to no avail.
Is it possible?
\setupTABLE inherits from \setupframed which has an orientation option.
So \bTR[orientation=90] on the header row should do it, with the content
specified normally i.e. without using \RtH.
A quick test on one of my tables showed some issues with alignment so you may
need to fix the 'width'
How about using \vfill ?
\define[1]{\RtH}{\vfill\rotate{#1}}
Henning Hraban Ramm via ntg-context 於 2023年3月16日 週四
上午2:16寫道:
> Hi!
>
> In my table, I want the header texts to be 90˚ rotated and aligned to
> the bottom of their cell. I couldn’t find an option to do that.
> Tried \dontleavehmode
Hi!
In my table, I want the header texts to be 90˚ rotated and aligned to
the bottom of their cell. I couldn’t find an option to do that.
Tried \dontleavehmode or \hfill in my \RtH macro to no avail.
Is it possible?
\define[1]{\RtH}{\rotate{#1}}
\starttext
\setupTABLE[offset=3pt]