public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Centering in a grid table
Date: Sat, 16 Sep 2023 23:19:08 -0700	[thread overview]
Message-ID: <AFD31CFE-2891-41ED-B94C-9D3D00EDA29D@gmail.com> (raw)
In-Reply-To: <a398bb83-eb1b-40d2-866e-702494b9d6abn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

That's a really good question. Probably this deserves to be on the issue tracker.

Support for colspans was recently added in this syntax, and it's not entirely clear how centering SHOULD work when combined with colspans.
 
> On Sep 16, 2023, at 5:39 PM, Paul Kelleher <paul-JZTKsBFbLNkkm2bSNb+QWw@public.gmane.org> wrote:
> 
> +--------+:------------:+-------------+--+:--------------:+-------------+
> |        | Heading 1    |             |  | Heading 2      |             |
> +--------+---+----+-----+-------------+--+----+------+----+-------------+
> |        |   |    |     |             |  |    |      |    |             |
> +--------+---+----+-----+-------------+--+----+------+----+-------------+
> |        | A |    | B   | Q           |  | C  |      | D  | Q           |
> +--------+---+----+-----+-------------+--+----+------+----+-------------+
> | T      | 1 |    | 121 | 61          |  | 49 |      | 64 | 56.5        |
> +--------+---+----+-----+-------------+--+----+------+----+-------------+
> | U      | 1 |    | 121 | 61          |  | 49 |      | 64 | 56.5        |
> +--------+---+----+-----+-------------+--+----+------+----+-------------+
> |        |   |    |     |             |  |    |      |    |             |
> +--------+---+----+-----+-------------+--+----+------+----+-------------+
> | V      | 2 |    | 22  |             |  | 14 |      | 16 |             |
> +--------+---+----+-----+-------------+--+----+------+----+-------------+
> |        |   |    |     |             |  |    |      |    |             |
> +--------+---+----+-----+-------------+--+----+------+----+-------------+
> | W      |   | 12 |     |             |  |    | 15   |    |             |
> +--------+---+----+-----+-------------+--+----+------+----+-------------+
> |        |   |    |     |             |  |    |      |    |             |
> +--------+---+----+-----+-------------+--+----+------+----+-------------+
> | X      | 1 |    | 121 |             |  | 49 |      | 64 |             |
> +--------+---+----+-----+-------------+--+----+------+----+-------------+
> | Y      |   | 61 |     |             |  |    | 56.5 |    |             |
> +--------+---+----+-----+-------------+--+----+------+----+-------------+


      parent reply	other threads:[~2023-09-17  6:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-16 18:10 Paul Kelleher
     [not found] ` <793cd5ee-40ed-4731-8510-85c879f9c719n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-09-17  0:39   ` Paul Kelleher
     [not found]     ` <a398bb83-eb1b-40d2-866e-702494b9d6abn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-09-17  6:19       ` John MacFarlane [this message]

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=AFD31CFE-2891-41ED-B94C-9D3D00EDA29D@gmail.com \
    --to=fiddlosopher-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /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).