ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš Ing. - Pontex s. r. o." <LPr@pontex.cz>
To: ConTeXt <ntg-context@ntg.nl>
Subject: Tabulate: lines bellow header
Date: Sat, 11 Jul 2015 11:26:32 +0200	[thread overview]
Message-ID: <op.x1lq6i1ttpjj8f@lpr> (raw)

[-- Attachment #1: Type: text/plain, Size: 1410 bytes --]

Hello,

Let's have the following code:

----
\starttext
   \setuptabulate[header=repeat,split=yes]
   \starttabulatehead
     \HL
     \NC H \NC H \NC\NR
     \LL % \LL[8] causes error
   \stoptabulatehead
   \starttabulate[|l|l|]
     \dorecurse{50}{
       \NC A \NC A \NC\NR
       \HL[8]
     }
   \stoptabulate
\stoptext
----

It produces:

1) horizontal line bellow header, which is somewhat shifted down, closer to the first body row, but only on the 1st page;

2) horizontal line bellow header on page look differently from that on page 1
	- its thickness if about a half of that between body rows,
	- and also its position is different from that on page 1.

3) Is there a way to affect thickness of the rule bellow header? \LL[8] causes error.
I guess this is quite normal - to have a table header separated by a thicker rule, to have:

------------
table header
============
body row 1
------------
body row 2
------------

So:

Ad 1: Is it possible to place the rule bellow the header to a "better" position? E.g. using a "more proper" command than \LL?

Ad 2: Is it a Ctx feature or -- ?

Ad 3: Any idea how to achieve this?

Best regards,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

[-- Attachment #2: Pg1.png --]
[-- Type: image/png, Size: 11887 bytes --]

[-- Attachment #3: Pg2.png --]
[-- Type: image/png, Size: 11883 bytes --]

[-- Attachment #4: Tabulate.mkiv --]
[-- Type: application/octet-stream, Size: 261 bytes --]

\starttext
  \setuptabulate[header=repeat,split=yes]
  \starttabulatehead
    \HL
    \NC H \NC H \NC\NR
    \LL
  \stoptabulatehead
  \starttabulate[|l|l|]
    \dorecurse{50}{
      \NC A \NC A \NC\NR
      \HL[8]
    }
  \stoptabulate
\stoptext

[-- Attachment #5: Tabulate.pdf --]
[-- Type: application/pdf, Size: 6065 bytes --]

[-- Attachment #6: Type: text/plain, Size: 485 bytes --]

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

                 reply	other threads:[~2015-07-11  9:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=op.x1lq6i1ttpjj8f@lpr \
    --to=lpr@pontex.cz \
    --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).