From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: two issues with xtables
Date: Tue, 16 Feb 2016 20:22:14 +0100 [thread overview]
Message-ID: <56C376E6.5010505@gmail.com> (raw)
In-Reply-To: <56C37476.3060109@gmx.es>
[-- Attachment #1.1: Type: text/plain, Size: 1121 bytes --]
> Pablo Rodriguez <mailto:oinos@gmx.es>
> 16. Februar 2016 um 20:11
> Dear list,
>
> I have the following table:
>
> \starttext
> \startalign[center]
> \startxtable[location=middle, frame=off, bottomframe=on,
> topframe=on, rulethickness=2em,
> %~ before={\startalign[center]}, after={\stopalign}
> ]
> \startxrow
> \startxcell test \stopxcell
> \stopxrow
> \stopxtable
> \stopalign
> \stoptext
>
> Well, I thought location would center the table. Before and after (with
> \startalign) crash compilation. Aligning the whole table doesn’t seem to
> make any difference. Sorry, but how can I center the table and not its
> contents?
Use
\startlinealignment[middle]
\startxtable
...
\stopxtable
\stoplinealignment
or
\startplacetable[location={force,none}]
\startxtable
...
\stopxtable
\stopplacetable
> The second issue is about rulethickness: would it be possible to specify
> different dimensions for each frame (top, bottom, left, right)?
Disable the normal frame and use a metapost background with
different values for all borders.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2514 bytes --]
[-- Attachment #2: 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
___________________________________________________________________________________
next prev parent reply other threads:[~2016-02-16 19:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-16 19:11 Pablo Rodriguez
2016-02-16 19:22 ` Wolfgang Schuster [this message]
2016-02-16 19:59 ` Pablo Rodriguez
2016-02-16 20:07 ` Wolfgang Schuster
2016-02-17 14:04 ` Pablo Rodriguez
2016-02-17 14:08 ` Aditya Mahajan
2016-02-17 14:22 ` Pablo Rodriguez
2016-02-17 14:34 ` Pablo Rodriguez
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=56C376E6.5010505@gmail.com \
--to=schuster.wolfgang@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).