ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: Strange behaviour of \bTABLE ... \eTABLE
Date: Tue, 26 Jul 2005 00:23:21 +0200	[thread overview]
Message-ID: <42E56659.70508@gmail.com> (raw)
In-Reply-To: <42E54EC6.6070407@wxs.nl>

Hans Hagen wrote:
> Mojca Miklavec wrote:
>> On the wiki (http://contextgarden.net/Vertically_centred) a while ago 
>> someone asked how to do the following in ConTeXt:
>>
>> %%%%%%
>>
>> \documentclass{article}
>> \begin{document}
>> a box with a table:
>> \fbox{\begin{tabular}[c]{l}1\\2\\3\end{tabular}}\par
>>
>> a midaligned parbox: \parbox[c]{1em}{1 2 3}
>> \end{document}
>>
>> %%%%%%
>>

> ^^^^ watch the \\ ! ! ! !

Thanks, Hans,

I'm sorry. I take my word about strange line breaking back.

But nevertheless ... the live.contextgarden.net version seems to have 
problems with all these examples. It does strange things (see the PNGs 
attached to my first posting).

I don't have the newest version installed, so I can't test test it here.

Mojca


> so, in order to compare, use 1\\2\\3 here too
> 
> \setupTABLE[frame=on] % only for debugging reasons
> \setupTABLE[c][1,2][align=lohi] % to center vertically (any better way?)
> \bTABLE
> \bTR\bTD
>    a midaligned parbox:
> \eTD\bTD[offset=overlay,width=1em] % 1em wide paragraph
>    1 2 3
> \eTD\eTR
> \bTR\bTD
>    a midaligned parbox:
> \eTD\bTD[offset=overlay,width=1em] % 1em wide paragraph
>    \ruledhbox{1 2} 3
> \eTD\eTR
> \bTR\bTD
>    a midaligned parbox:
> \eTD\bTD[offset=overlay,width=1em] % 1em wide paragraph
>    1\\2\\3
> \eTD\eTR
> \eTABLE

  reply	other threads:[~2005-07-25 22:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-25 18:27 Mojca Miklavec
2005-07-25 20:42 ` Hans Hagen
2005-07-25 22:23   ` Mojca Miklavec [this message]
2005-07-25 18:52 Elena Fraboschi
2005-07-25 20:04 ` Mojca Miklavec
2005-07-25 20:46   ` Hans Hagen
2005-07-26  8:22     ` Taco Hoekwater
2005-07-25 20:43 ` Hans Hagen

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=42E56659.70508@gmail.com \
    --to=mojca.miklavec.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).