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 21:07:20 +0100 [thread overview]
Message-ID: <56C38178.30808@gmail.com> (raw)
In-Reply-To: <56C37FA2.2010905@gmx.es>
[-- Attachment #1.1: Type: text/plain, Size: 1524 bytes --]
> Pablo Rodriguez <mailto:oinos@gmx.es>
> 16. Februar 2016 um 20:59
> On 02/16/2016 08:22 PM, Wolfgang Schuster wrote:
>>> Pablo Rodriguez 16. Februar 2016 um 20:11
>>> [...]
>>> 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]
>> or
>> \startplacetable[location={force,none}]
>
> Many thanks for your reply, Wolfgang.
>
> Only the second option works with the real table. The first one crashes
> compilation.
>
>>> 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.
>
> MetaPost is unknown to me. How would it be with this minimal sample?
There is a second method which let you create your own argument for the
leftframe,
rightframe etc. keys.
\installleftframerenderer
{small}{\blackrule[height=\overlayheight,width=1\linewidth]}
\installleftframerenderer{medium}{\blackrule[height=\overlayheight,width=2\linewidth]}
\installleftframerenderer
{big}{\blackrule[height=\overlayheight,width=3\linewidth]}
\starttext
\framed{Text}
\framed[leftframe=small]{Text}
\framed[leftframe=medium]{Text}
\framed[leftframe=big]{Text}
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2781 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 20:07 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
2016-02-16 19:59 ` Pablo Rodriguez
2016-02-16 20:07 ` Wolfgang Schuster [this message]
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=56C38178.30808@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).