From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97564 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: output of the table is wierd Date: Thu, 16 Mar 2017 16:15:19 +0100 Message-ID: <58CAAC07.9000106@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8968683911128099272==" X-Trace: blaine.gmane.org 1489677366 9531 195.159.176.226 (16 Mar 2017 15:16:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 16 Mar 2017 15:16:06 +0000 (UTC) User-Agent: Postbox 5.0.11 (Macintosh/20170302) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 16 16:16:00 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coX8A-0001iv-A7 for gctc-ntg-context-518@m.gmane.org; Thu, 16 Mar 2017 16:15:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9716183FC6; Thu, 16 Mar 2017 16:15:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wZ-RbSI6CV7b; Thu, 16 Mar 2017 16:15:36 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 9924584010; Thu, 16 Mar 2017 16:15:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9F54F83FF8 for ; Thu, 16 Mar 2017 16:15:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KIIdu22APMTv for ; Thu, 16 Mar 2017 16:15:34 +0100 (CET) Original-Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 544B683FC6 for ; Thu, 16 Mar 2017 16:15:24 +0100 (CET) Original-Received: by mail-wm0-f41.google.com with SMTP id t189so50635225wmt.1 for ; Thu, 16 Mar 2017 08:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=T0UYXD3xMMh5Dcd3nY+EG+s0RCxbzZBMP11xKNWPnMQ=; b=Cc2LfkCbSFo2oipuFToWb5pxCEIK7G9RDcbAJLHS5ohU5okJVJwVMLcw5Nk6o0my7L DToHI1upFH2vY4YGYyqpsTZSey9qlQDULorKeOr+xTlwFG13nXwqKyBxd/qzSG5/OJWw jxLe6zXBoDBj8229+daTI2Dh2IKcJWJBfKN6dLPxuMsknhhE0R57d5g4zXOh4deRZfxm SYDG7qhOI51WEuLcg7qLBMraA58XUpIEe5FAfzK2UnvUPNaGnVm3EuQ1tZQrcNN0PJ5I X/YROxFzg12Yu3VVTWvS7XYYPqc2jWfUxlTujrgViGSKp9xw+rYcvabsakhTK3PjUTbF lxpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=T0UYXD3xMMh5Dcd3nY+EG+s0RCxbzZBMP11xKNWPnMQ=; b=W/bI0qSx3Nq2WgkZoeLEsClDd1BZFjQ1eTGaUbgp9F2jCHqePCVuEXigbPvYg/3+A2 JKBUd1rzRfCHIvuoJxX88gfGx2GM9JecTc0dmU+UA3QhJv7ONh/kAZDqqZOKkaXZnd/0 71IGvYd7CsqXHp0nMUsGFjkXCHD4caJuZL6vh/qvBEYHjm/gukjcElC2YnWhCG6TY9q7 XBks7YgFayu/fw4J7oizf0dQpNrWX2+c/F+mq0pgWrnNqYM0o8TcbEq2pc22SM56PHag rhORsdJD7SMYOJRZub0RIPeQfa30YveDKccdE46uieXKJzZ4XS4HF2o9nPqfazUt3a9B 7Sog== X-Gm-Message-State: AFeK/H33R9F1rddZUhWTnJPnvTWtvRyxsHHZ0dC7C2RM2RWhtUD+WJTaDuznNPyQAxY5yg== X-Received: by 10.28.155.65 with SMTP id d62mr10119631wme.7.1489677322783; Thu, 16 Mar 2017 08:15:22 -0700 (PDT) Original-Received: from Wolfgangs-MBP.localdomain (x2f2957b.dyn.telefonica.de. [2.242.149.123]) by smtp.gmail.com with ESMTPSA id f67sm4677899wmd.0.2017.03.16.08.15.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Mar 2017 08:15:21 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:97564 Archived-At: This is a multi-part message in MIME format. --===============8968683911128099272== Content-Type: multipart/alternative; boundary="------------000607090204060003070509" This is a multi-part message in MIME format. --------------000607090204060003070509 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > Jeong Dal > 16. März 2017 um 15:28via Postbox > > 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 --------------000607090204060003070509 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
16. März 2017 um 15:28 via Postbox
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

--------------000607090204060003070509-- --===============8968683911128099272== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8968683911128099272==--