ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: output of the table is wierd
Date: Thu, 16 Mar 2017 16:15:19 +0100	[thread overview]
Message-ID: <58CAAC07.9000106@gmail.com> (raw)
In-Reply-To: <B71EEBBF-BB96-41F4-9E44-57B2FAD76EA8@me.com>


[-- Attachment #1.1: Type: text/plain, Size: 1058 bytes --]


> Jeong Dal <mailto:haksan@me.com>
> 16. März 2017 um 15:28via Postbox 
> <https://www.postbox-inc.com/?utm_source=email&utm_medium=sumlink&utm_campaign=reach>
> Dear all,
>
> I made a column as following:
> …
> \starttabulate[|c|c]
> \HL
> \NC $\sim (p \vee q)$ \VL $\sim p \ \wedge \sim q$ \NC\NR \HL
> \NC $\sim (p \ \wedge q)$ \VL $\sim p \vee \sim q$ \NC\NR \HL
> \NC $\sim (p \to q) $ \VL $p \wedge \sim q$ \NC\NR \HL
> \NC $\sim (p \leftrightarrow q)$ \VL $(p \ \wedge \sim q) \vee (q \ 
> \wedge \sim p)$ \NC\NR \HL
> \stoptabulate
> …
>
> The first column is OK.
> But lines in the first three rows in the second column expanded to the 
> width as wide as the last row.
> So the it looked very strange.
>
> Is there a way to avoid such a bad looking output?
You forgat a | at the end of the table template. You can also simplify 
your table when
you add “m” to each cell setting which typesets each cell in math mode, e.g.

     \starttext

     \starttabulate[|mc|]
     \NC a + b = c \NC\NR
     \stoptabulate

     \stoptext

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 2296 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2017-03-16 15:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-16 14:28 Jeong Dal
2017-03-16 15:15 ` Wolfgang Schuster [this message]
     [not found] <mailman.1.1489748401.23726.ntg-context@ntg.nl>
2017-03-17 15:42 ` Jeong Dal

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=58CAAC07.9000106@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).