ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Tabulate: Change cell orienation for individual cells?
@ 2023-06-27  8:56 Denis Maier via ntg-context
  2023-06-27 10:03 ` Denis Maier via ntg-context
  2023-06-27 23:46 ` Bruce Horrocks via ntg-context
  0 siblings, 2 replies; 3+ messages in thread
From: Denis Maier via ntg-context @ 2023-06-27  8:56 UTC (permalink / raw)
  To: ntg-context; +Cc: denis.maier


[-- Attachment #1.1: Type: text/plain, Size: 445 bytes --]

Hi,

is it possible to override the defined orienatation for a given cell ?

Take this example from the wiki:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\starttext
\starttabulate[|l|c|r|]
\NC this and that \NC left and right \NC here and there \NC \NR
\NC such and so \NC up and down \NC on and on \NC \NR
\stoptabulate
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

How can I change the alignment for a particular cell?

Best,
Denis


[-- Attachment #1.2: Type: text/html, Size: 2636 bytes --]

[-- Attachment #2: 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: [NTG-context] Tabulate: Change cell orienation for individual cells?
  2023-06-27  8:56 [NTG-context] Tabulate: Change cell orienation for individual cells? Denis Maier via ntg-context
@ 2023-06-27 10:03 ` Denis Maier via ntg-context
  2023-06-27 23:46 ` Bruce Horrocks via ntg-context
  1 sibling, 0 replies; 3+ messages in thread
From: Denis Maier via ntg-context @ 2023-06-27 10:03 UTC (permalink / raw)
  To: ntg-context; +Cc: denis.maier


[-- Attachment #1.1: Type: text/plain, Size: 1307 bytes --]

Ok, if you use p for the column definition you can just use \setupalign on individual cells...

%%%%%%%%%%%%%%%%%%%
\starttext
\starttabulate[|pA{verytolerant,extremestretch}|pA{verytolerant,extremestretch}|]
\NC Heading flushleft \NC \setupalign[flushright] Heading flushright \NC \NR
\NC \input ward  \NC \input ward \NC \NR
\stoptabulate
\stoptext
%%%%%%%%%%%%%%%%%%%

Best,
Denis

Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Denis Maier via ntg-context
Gesendet: Dienstag, 27. Juni 2023 10:56
An: ntg-context@ntg.nl
Cc: Maier, Denis Christian (UB) <denis.maier@unibe.ch>
Betreff: [NTG-context] Tabulate: Change cell orienation for individual cells?

Sie erhalten nicht oft eine E-Mail von ntg-context@ntg.nl<mailto:ntg-context@ntg.nl>. Erfahren Sie, warum dies wichtig ist<https://aka.ms/LearnAboutSenderIdentification>
Hi,

is it possible to override the defined orienatation for a given cell ?

Take this example from the wiki:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\starttext
\starttabulate[|l|c|r|]
\NC this and that \NC left and right \NC here and there \NC \NR
\NC such and so \NC up and down \NC on and on \NC \NR
\stoptabulate
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

How can I change the alignment for a particular cell?

Best,
Denis


[-- Attachment #1.2: Type: text/html, Size: 5886 bytes --]

[-- Attachment #2: 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: [NTG-context] Tabulate: Change cell orienation for individual cells?
  2023-06-27  8:56 [NTG-context] Tabulate: Change cell orienation for individual cells? Denis Maier via ntg-context
  2023-06-27 10:03 ` Denis Maier via ntg-context
@ 2023-06-27 23:46 ` Bruce Horrocks via ntg-context
  1 sibling, 0 replies; 3+ messages in thread
From: Bruce Horrocks via ntg-context @ 2023-06-27 23:46 UTC (permalink / raw)
  To: ntg-context mailing list; +Cc: Bruce Horrocks



> On 27 Jun 2023, at 09:56, Denis Maier via ntg-context <ntg-context@ntg.nl> wrote:
> 
> Hi,
>  is it possible to override the defined orienatation for a given cell ?

\starttext
\starttabulate[|l|c|r|]
\NC this and that \NC left and right \NC here and there \NC \NR
\NC such and so \NC \rotate[rotation=90]{up and down} \NC on and on \NC \NR
\stoptabulate
\stoptext

—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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-06-27 23:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-27  8:56 [NTG-context] Tabulate: Change cell orienation for individual cells? Denis Maier via ntg-context
2023-06-27 10:03 ` Denis Maier via ntg-context
2023-06-27 23:46 ` Bruce Horrocks 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).