From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87223 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: linebreaks and cell width in xtables Date: Sun, 04 May 2014 14:27:43 -0400 Message-ID: <5366869F.3000902@rik.users.panix.com> References: <53666B1C.4040104@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1699309402==" X-Trace: ger.gmane.org 1399228095 11351 80.91.229.3 (4 May 2014 18:28:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 May 2014 18:28:15 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun May 04 20:28:10 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wh18w-0004tq-Vg for gctc-ntg-context-518@m.gmane.org; Sun, 04 May 2014 20:28:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 766AD1021A for ; Sun, 4 May 2014 20:28:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wDsMrEJe5kCE for ; Sun, 4 May 2014 20:28:06 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 27F7010230 for ; Sun, 4 May 2014 20:28:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4FB1B101E2 for ; Sun, 4 May 2014 20:27:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bCtOp+F+PzoM for ; Sun, 4 May 2014 20:27:56 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id CC4D5101E1 for ; Sun, 4 May 2014 20:27:48 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s44IRlp9004586 for ; Sun, 4 May 2014 20:27:47 +0200 Original-Received: from [192.168.201.179] (cpe-67-240-55-150.nycap.res.rr.com [67.240.55.150]) by mailbackend.panix.com (Postfix) with ESMTP id 424012E02A for ; Sun, 4 May 2014 14:27:46 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <53666B1C.4040104@gmx.es> X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=Richmond Hill; latitude=40.7005; longitude=-73.8345; http://maps.google.com/maps?q=40.7005,-73.8345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06LVSrLcd - 63cbcddf7b26 - 20140504 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87223 Archived-At: This is a multi-part message in MIME format. --===============1699309402== Content-Type: multipart/alternative; boundary="------------010906040707020806050905" This is a multi-part message in MIME format. --------------010906040707020806050905 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable On 2014-05-04 12:30, Pablo Rodriguez wrote: > Dear list, > > I have the following sample: > > \starttext > \startxtable[option=3Dstretch] > \startxrow > \startxcell > One line > > And another > \stopxcell > \startxcell > This breaks the following cell. > \stopxcell > \stopxrow > \startxrow > \startxcell > This cell has multiple lines. > Vertical spacing is wrong. > \stopxcell > \startxcell > What am I missing? > \stopxcell > \stopxrow > \stopxtable > \stoptext > > I don=92t know whether this is a bug. My question is the following: how > can I get a new line inside a cell? > > I have another question: how can I force that both rows (in this case > two) have the same width? > > Many thanks for your help, > > > Pablo Any of the following will work here. Which is or are idiomatic I will=20 leave for others to say. This cell has multiple lines.\\ This cell has multiple lines.\par This cell has multiple lines.\blank[none] -- Rik Kabel --------------010906040707020806050905 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
On 2014-05-04 12:30, Pablo Rodriguez wrote:
Dear list,

I have the following sample:

\starttext
    \startxtable[option=3Dstretch]
        \startxrow
            \startxcell
                One line

                And another
            \stopxcell
            \startxcell
                This breaks the following cell.
            \stopxcell
        \stopxrow
        \startxrow
            \startxcell
                This cell has multiple lines.
                Vertical spacing is wrong.
            \stopxcell
            \startxcell
                What am I missing?
            \stopxcell
        \stopxrow
    \stopxtable
\stoptext

I don=92t know whether this is a bug. My question is the following: how
can I get a new line inside a cell?

I have another question: how can I force that both rows (in this case
two) have the same width?

Many thanks for your help,


Pablo
Any of the following will work here. Which is or are idiomatic I will leave for others to say.

This cell has multiple lines.\\

This cell has multiple lines.\par

This cell has multiple lines.\blank[none]

--
Rik Kabel

--------------010906040707020806050905-- --===============1699309402== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1699309402==--