ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš Ing." <LPr@pontex.cz>
To: ConTeXt <ntg-context@ntg.nl>
Subject: TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs
Date: Sat, 09 Jun 2018 20:33:30 +0200	[thread overview]
Message-ID: <op.zkctt4o262epfj@lkzd-dell-2016> (raw)

[-- Attachment #1: Type: text/plain, Size: 1631 bytes --]

Hello,

I have two questions about TABLEs. Suppose having the following code:

----
\setuplayout[page]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\starttext
   \startalignment[middle]
     \dontleavehmode
     \bTABLE[before=,after=,inbetween=]
       \bTABLEbody
         \dorecurse{10}{
           \bTR
             \bTD aaa\eTD
             \bTD bbb\eTD
           \eTR
         }
       \eTABLEbody
     \eTABLE
     \crlf
     \bTABLE[before=,after=,inbetween=]
       \bTABLEbody
         \bTR
           \bTD AAA\eTD
           \bTD BBB\eTD
         \eTR
       \eTABLEbody
     \eTABLE
   \stopalignment
   %
   \page
   \startalignment[middle]
     \dontleavehmode
     \bTABLE[split=yes]
       \bTABLEbody
         \dorecurse{60}{
           \bTR
             \bTD uuu\eTD
             \bTD vvv\eTD
           \eTR
         }
       \eTABLEbody
     \eTABLE
   \stopalignment
\stoptext
----

- How to make the "uuu - vvv" table - which goes into several pages - centered on each page, like "aaa - bbb" (non splitting) table is?

- How to suppress the vertical space between the last row of "aaa - bbb" table and the first row of the "AAA - BBB" table?

(I'm trying to typeset some picture playing cards, so usual typographic rules don't apply here...)

Any help would be appreciated.

Best regards,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

[-- Attachment #2: t.mkiv --]
[-- Type: application/octet-stream, Size: 879 bytes --]

\setuplayout[page]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\starttext
  \startalignment[middle]
    \dontleavehmode
    \bTABLE[before=,after=,inbetween=]
      \bTABLEbody
        \dorecurse{10}{
          \bTR
            \bTD aaa\eTD
            \bTD bbb\eTD
          \eTR
        }
      \eTABLEbody
    \eTABLE
    \crlf
    \bTABLE[before=,after=,inbetween=]
      \bTABLEbody
        \bTR
          \bTD AAA\eTD
          \bTD BBB\eTD
        \eTR
      \eTABLEbody
    \eTABLE
  \stopalignment
  %
  \page
  \startalignment[middle]
    \dontleavehmode
    \bTABLE[split=yes]
      \bTABLEbody
        \dorecurse{60}{
          \bTR
            \bTD uuu\eTD
            \bTD vvv\eTD
          \eTR
        }
      \eTABLEbody
    \eTABLE
  \stopalignment
\stoptext

[-- Attachment #3: t.pdf --]
[-- Type: application/pdf, Size: 10027 bytes --]

[-- Attachment #4: 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:[~2018-06-09 18:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-09 18:33 Procházka Lukáš Ing. [this message]
2018-06-20  5:43 ` TABLE: centering splitted TABLE Procházka Lukáš Ing.
2018-06-20  5:59   ` Wolfgang Schuster
2018-06-21  9:10     ` Procházka Lukáš Ing.
2018-06-21  9:15       ` Wolfgang Schuster
2018-06-20 11:13 ` TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs Aditya Mahajan
2018-06-21  9:12   ` Procházka Lukáš Ing.

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=op.zkctt4o262epfj@lkzd-dell-2016 \
    --to=lpr@pontex.cz \
    --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).