ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Thomas Meyer <thomasgmeyer@t-online.de>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: Problem with tabulate
Date: Wed, 13 Nov 2024 10:33:27 +0100	[thread overview]
Message-ID: <1aa402e0-7028-4e5b-84f1-e041e30a480d@t-online.de> (raw)
In-Reply-To: <21d6d575-e2f0-c228-1fd1-db10ae39f614@gmail.com>


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

Hi Wolfgang,

thank you very much for your help.
I really don't understand the information behind
\setupTABLE
but unfortunately I can't find anything in the Wiki either. It only says 
something about \bTABLE ...
Where can I find something about this?
The NaturalTables.pdf listed at 
https://wiki.contextgarden.net/Tables_Overview under TABLES in the 
document footnote probably no longer exists.
Greetings
Thomas



Am 11.11.24 um 23:52 schrieb Wolfgang Schuster:
> Thomas Meyer schrieb am 11.11.2024 um 12:35:
>> Hi Guys,
>>
>> I am trying out the following environment:
>>
>> \starttabulate[p(5mm)p(5mm)]
>> \HL
>> \NS[1][c] Wurfstärke R / H \NC\NR
>> \NC 2 \NC 3 \NC\NR
>> \HL
>> \stoptabulate
>>
>> These are the columns of a larger table that cause problems.
>> P() and \NS do not work together. But also
>>
>> \starttabulate[cc]
>> \HL
>> \NS[1][c] WurfstärkeR / H \NC\NR
>> \NC 2 \NC 3 \NC\NR
>> \HL
>> \stoptabulate
>>
>> does not provide the desired result.
>>
>> Ideally, “R / H” should be under “Wurfstärke”, i.e. there should be a 
>> line break. (\\ doesn't work) Both in a combined cell.
>> Then the numbers below should be centered in their separate cells.
>> Something like this:
>>
>>   Wurfstärke
>>       R / H
>>       3    2
>>
>> How can this be achieved?
>> I am grateful for any advice.
>
> Use a different table type.
>
> \starttext
>
> \start
> \setupTABLE[start][frame=off,width=11mm,align=middle,offset=0pt]
> \setupTABLE[row][first][topframe=on]
> \setupTABLE[row][last][bottomframe=on]
> \startTABLE
> \NC[nc=2] Wurfstärke\\ R / H \NC\NR
> \NC 2 \NC 3 \NC\NR
> \stopTABLE
> \stop
>
> \blank
>
> \startframed[frame=off,topframe=on,bottomframe=on,align=middle]
>   Wurfstärke\\
>   R / H\\
>   2\quad 3
> \stopframed
>
> \stoptext
>
> Wolfgang
> ___________________________________________________________________________________ 
>
> If your question is of interest to others as well, please add an entry 
> to the Wiki!
>
> maillist : ntg-context@ntg.nl / 
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net 
> (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
> ___________________________________________________________________________________ 
>

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

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2024-11-13  9:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-11 11:35 [NTG-context] " Thomas Meyer
2024-11-11 22:52 ` [NTG-context] " Wolfgang Schuster
2024-11-13  9:33   ` Thomas Meyer [this message]
2024-11-13 10:06     ` Henning Hraban Ramm
2024-11-14 11:02       ` Thomas Meyer
2024-11-14 11:08         ` Henning Hraban Ramm
2024-11-14 19:13         ` Wolfgang Schuster
2024-11-15  8:52           ` Thomas Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1aa402e0-7028-4e5b-84f1-e041e30a480d@t-online.de \
    --to=thomasgmeyer@t-online.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).