ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rik Kabel <context@rik.users.panix.com>
To: ntg-context@ntg.nl
Subject: Re: linebreaks and cell width in xtables
Date: Sun, 04 May 2014 14:27:43 -0400	[thread overview]
Message-ID: <5366869F.3000902@rik.users.panix.com> (raw)
In-Reply-To: <53666B1C.4040104@gmx.es>


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

On 2014-05-04 12:30, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following sample:
>
> \starttext
>      \startxtable[option=stretch]
>          \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’t 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


[-- Attachment #1.2: Type: text/html, Size: 1660 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
___________________________________________________________________________________

  reply	other threads:[~2014-05-04 18:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-04 16:30 Pablo Rodriguez
2014-05-04 18:27 ` Rik Kabel [this message]
2014-05-04 19:46   ` Pablo Rodriguez
2014-05-04 22:19     ` Rik
2014-05-04 22:20     ` Rik Kabel
2014-05-05 14:48       ` Pablo Rodriguez
2014-05-05 18:45         ` Hans Hagen
2014-05-05 19:01           ` 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=5366869F.3000902@rik.users.panix.com \
    --to=context@rik.users.panix.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).