From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Thomas Meyer <thomasgmeyer@t-online.de>
Subject: [NTG-context] Re: Problem with tabulate
Date: Mon, 11 Nov 2024 23:52:40 +0100 [thread overview]
Message-ID: <21d6d575-e2f0-c228-1fd1-db10ae39f614@gmail.com> (raw)
In-Reply-To: <c4ce645c-8a7b-4a36-b559-98836f97f9d5@t-online.de>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2024-11-11 22:54 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 ` Wolfgang Schuster [this message]
2024-11-13 9:33 ` [NTG-context] " Thomas Meyer
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=21d6d575-e2f0-c228-1fd1-db10ae39f614@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=thomasgmeyer@t-online.de \
/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).