ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to rotate the caption of a table...
@ 2023-03-25 20:39 Willi Egger via ntg-context
  2023-03-25 20:55 ` Henning Hraban Ramm via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Willi Egger via ntg-context @ 2023-03-25 20:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Willi Egger

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

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:

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 19700 bytes --]

[-- Attachment #3: Type: text/plain, Size: 261 bytes --]


\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

[-- Attachment #4: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to rotate the caption of a table...
  2023-03-25 20:39 How to rotate the caption of a table Willi Egger via ntg-context
@ 2023-03-25 20:55 ` Henning Hraban Ramm via ntg-context
  2023-03-25 21:37   ` Willi Egger via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2023-03-25 20:55 UTC (permalink / raw)
  To: Willi Egger via ntg-context; +Cc: Henning Hraban Ramm

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to rotate the caption of a table...
  2023-03-25 20:55 ` Henning Hraban Ramm via ntg-context
@ 2023-03-25 21:37   ` Willi Egger via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Willi Egger via ntg-context @ 2023-03-25 21:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Willi Egger

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@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@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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-25 21:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-25 20:39 How to rotate the caption of a table Willi Egger via ntg-context
2023-03-25 20:55 ` Henning Hraban Ramm via ntg-context
2023-03-25 21:37   ` Willi Egger via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).