ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Eckhart Guthöhrlein" <eckhart.guthoehrlein@uni-bielefeld.de>
Subject: struggle for booktabs
Date: Fri, 8 Apr 2005 16:26:06 +0200	[thread overview]
Message-ID: <20050408142606.GA14997@cebitec.uni-bielefeld.de> (raw)

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

Hi again,

since I often need row and column spanning, I have tried to use natural
tables to produce good looking tables (booktabs-like, as discussed in
the recent thread). I think it will be possible to achieve what I want,
but I have some open points.
For those interested, I have attached a file showing what I have devised
to get the job done. The code is not very elegant, and the parameters
controlling spacing and rule thickness are just for testing. But the
main idea becomes clear: I use dummy rows with a height determined by
rule thickness and vertical separation. The rules are drawn by metapost.
Any comments and suggestions are very welcome.
Now, my questions/remarks:

- How to control spacing between table rows and columns? I can't simply
	set the offset, since I must be able to set vertical and horizontal
	spacing independently.
- To have each cell entry centered horizontally and vertically, I have
	to say \setupTABLE[row][each][align={middle,lohi}]. I think it should
	also be possible to do this via \setupTABLE[align={middle,lohi}] which
	currently has no effect.
- I think I will come to the point where I want to define macros of my
	own wich can take a key=value list of arguments with the ability to
	set defaults using a setup command. Can someone give me a pointer
	where to look in order to learn how this is done?

Thanks for your help and comments,
Eckhart

[-- Attachment #2: tab.tex --]
[-- Type: application/x-tex, Size: 2569 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

                 reply	other threads:[~2005-04-08 14: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=20050408142606.GA14997@cebitec.uni-bielefeld.de \
    --to=eckhart.guthoehrlein@uni-bielefeld.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).