[NTG-context] How to rotate the caption of a table...

Willi Egger w.egger at boede.nl
Sat Mar 25 22:37:17 CET 2023


Hello Hraban,

thank you! indeed the trick is to use \startplacetable[location=90]

Cheers

Willi

> On 25 Mar 2023, at 21:55, Henning Hraban Ramm via ntg-context <ntg-context at ntg.nl> wrote:
> 
> Am 25.03.23 um 21:39 schrieb Willi Egger via ntg-context:
>> Hello everybody,
>> in my project is a table which does not fit the width of the page. Hence I need to rotate it. Rotating the table is ok, but the caption is not rotated. My question is how can I instruct ConTeXt to rotate the caption and place it on the right side?
>> My attempt:
>> \setupcaption[table][location=right,orientation=90]
>> \startplacetable
>> 	[location=middle,
>> 	 reference=tab:papierformaten,
>> 	 title={Standaardformaten}]
>> 	 \rotate[rotation=90]{\externalfigure[Table1][type=buffer]}
>> \stopplacetable
> 
> I think \setupcaption[orientation=90] should work. Did you try different locations?
> 
> But the problem might be your use of \rotation, since \startplacefloat as well as \setupTABLE have options for rotation.
> Try \startplacetable[location=90]
> 
> Hraban
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________



More information about the ntg-context mailing list