How to rotate the caption of a table...
![](https://secure.gravatar.com/avatar/6af06dcf5f958fe4ec149408292d6acd.jpg?s=120&d=mm&r=g)
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 Thank you for your support Willi
![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/6af06dcf5f958fe4ec149408292d6acd.jpg?s=120&d=mm&r=g)
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
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@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 ___________________________________________________________________________________
participants (2)
-
Henning Hraban Ramm
-
Willi Egger