ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	vm via ntg-context <ntg-context@ntg.nl>
Subject: [NTG-context] Re: [ using horizontal table lines ]
Date: Mon, 15 Apr 2024 20:31:21 +0200	[thread overview]
Message-ID: <314b619b-9ba2-0d03-e667-7566aa62a414@gmail.com> (raw)
In-Reply-To: <0bc984cb-439a-47f6-984e-14ebc5e60ed0@klankschap.nl>

vm via ntg-context schrieb am 15.04.2024 um 13:15:
> I'm probably using the \starttable incorrectly:
> 
> with this code I only get only *one* horizontal line in the header
> 
> [...]
> 
> with this code I get two horizontal lines, but the second is too short.
> 
> [...]
> 
> with this code I get two horizontal lines, with correct length, but 
> above the wrong columns
> 
> [...]
> 
> 
> diff:
> \NC\DC\DC\DC\DL[4]\DL[4]\AR
> \NC\DC\DC\DC\DL[4]\DL[3]\AR
> \NC\DC\DC\DL[4]\DL[4]\AR
> 
> There is (probably) a correct way to solve this.

My suggestion is to switch to either natural table or extreme tables but 
it seems to me there is a problem with the division lines which always 
leave an empty column afterwards.

The following example should add horizontal lines above the first and 
third column but this setting results in an error. When I omit the last 
\DC the error disappears but as can be seen in the output the second 
line appears above the fourth column.

\starttext

\starttable[||||||]
%\DL      \DC      \DL      \DC      \DC         \DR
\DL[red] \DC      \DL[red] \DC                  \DR
\VL   01 \VL   02 \VL   03 \VL   04 \VL   05 \VL\SR
\stoptable

\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	other threads:[~2024-04-15 18:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-15 11:15 [NTG-context] " vm via ntg-context
2024-04-15 18:31 ` Wolfgang Schuster [this message]

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=314b619b-9ba2-0d03-e667-7566aa62a414@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --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).