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
___________________________________________________________________________________

Reply via email to