* TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs
@ 2018-06-09 18:33 Procházka Lukáš Ing.
2018-06-20 5:43 ` TABLE: centering splitted TABLE Procházka Lukáš Ing.
2018-06-20 11:13 ` TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs Aditya Mahajan
0 siblings, 2 replies; 7+ messages in thread
From: Procházka Lukáš Ing. @ 2018-06-09 18:33 UTC (permalink / raw)
To: ConTeXt
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TABLE: centering splitted TABLE
2018-06-09 18:33 TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs Procházka Lukáš Ing.
@ 2018-06-20 5:43 ` Procházka Lukáš Ing.
2018-06-20 5:59 ` Wolfgang Schuster
2018-06-20 11:13 ` TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs Aditya Mahajan
1 sibling, 1 reply; 7+ messages in thread
From: Procházka Lukáš Ing. @ 2018-06-20 5:43 UTC (permalink / raw)
To: ConTeXt
Hello,
On Sat, 09 Jun 2018 20:33:30 +0200, Procházka Lukáš Ing. <LPr@pontex.cz> wrote:
> - How to make the "uuu - vvv" table - which goes into several pages - centered on each page, like "aaa - bbb" (non splitting) table is?
any reaction?
E.g.
"splitted TABLE cannot be centered on pages - the alg is not implemented, and won't be" or
"splitted TABLE cannot be centered on pages - the alg is not implemented, but will be" or
"splitted TABLE cannot be centered on pages - use xtable instead with [key=value]" or
"use \setupTABLE[something=here] - it will center splitted TABLE on each page"?
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TABLE: centering splitted TABLE
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.
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2018-06-20 5:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 703 bytes --]
> Procházka Lukáš Ing. <mailto:LPr@pontex.cz>
> 20. Juni 2018 um 07:43
> Hello,
>
> On Sat, 09 Jun 2018 20:33:30 +0200, Procházka Lukáš Ing.
> <LPr@pontex.cz> wrote:
>
>
> any reaction?
>
> E.g.
> "splitted TABLE cannot be centered on pages - the alg is not
> implemented, and won't be" or
> "splitted TABLE cannot be centered on pages - the alg is not
> implemented, but will be" or
> "splitted TABLE cannot be centered on pages - use xtable instead with
> [key=value]" or
> "use \setupTABLE[something=here] - it will center splitted TABLE on
> each page"?
Place the table as float and disable the caption, e.g.
\startplacetable[location={split,force,none}]
...
\stopplacetable
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1763 bytes --]
[-- Attachment #2: 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs
2018-06-09 18:33 TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs Procházka Lukáš Ing.
2018-06-20 5:43 ` TABLE: centering splitted TABLE Procházka Lukáš Ing.
@ 2018-06-20 11:13 ` Aditya Mahajan
2018-06-21 9:12 ` Procházka Lukáš Ing.
1 sibling, 1 reply; 7+ messages in thread
From: Aditya Mahajan @ 2018-06-20 11:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 943 bytes --]
On Sat, 9 Jun 2018, Procházka Lukáš Ing. wrote:
> 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
>
> - How to suppress the vertical space between the last row of "aaa - bbb"
> table and the first row of the "AAA - BBB" table?
(Untested) Try `\blank[none]` instead of `\crlf`.
Aditya
[-- Attachment #2: 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TABLE: centering splitted TABLE
2018-06-20 5:59 ` Wolfgang Schuster
@ 2018-06-21 9:10 ` Procházka Lukáš Ing.
2018-06-21 9:15 ` Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Procházka Lukáš Ing. @ 2018-06-21 9:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello,
thanks, it works:
----
\startalignment[middle]
\startplacetable[location={split,force,none}]
\bTABLE[split=repeat]
\bTABLEhead
\bTR\bTH A\eTH\bTH B\eTH\eTR
\eTABLEhead
\bTABLEbody
\dorecurse{60}{
\bTR
\bTD uuu\eTD
\bTD vvv\eTD
\eTR
}
\eTABLEbody
\eTABLE
\stopplacetable
\stopalignment
----
Best regards,
Lukas
On Wed, 20 Jun 2018 07:59:28 +0200, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>
>> Procházka Lukáš Ing. <mailto:LPr@pontex.cz>
>> 20. Juni 2018 um 07:43
>> Hello,
>>
>> On Sat, 09 Jun 2018 20:33:30 +0200, Procházka Lukáš Ing.
>> <LPr@pontex.cz> wrote:
>>
>>
>> any reaction?
>>
>> E.g.
>> "splitted TABLE cannot be centered on pages - the alg is not
>> implemented, and won't be" or
>> "splitted TABLE cannot be centered on pages - the alg is not
>> implemented, but will be" or
>> "splitted TABLE cannot be centered on pages - use xtable instead with
>> [key=value]" or
>> "use \setupTABLE[something=here] - it will center splitted TABLE on
>> each page"?
>
> Place the table as float and disable the caption, e.g.
>
> \startplacetable[location={split,force,none}]
> ...
> \stopplacetable
>
> Wolfgang
>
--
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs
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.
0 siblings, 0 replies; 7+ messages in thread
From: Procházka Lukáš Ing. @ 2018-06-21 9:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello,
On Wed, 20 Jun 2018 13:13:08 +0200, Aditya Mahajan <adityam@umich.edu> wrote:
>> - How to suppress the vertical space between the last row of "aaa - bbb"
>> table and the first row of the "AAA - BBB" table?
>
> (Untested) Try `\blank[none]` instead of `\crlf`.
>
> Aditya
actually, \blank[none] was not "enough", \blank[-1pt] dismissed the empty space.
Thank you for inspiration.
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TABLE: centering splitted TABLE
2018-06-21 9:10 ` Procházka Lukáš Ing.
@ 2018-06-21 9:15 ` Wolfgang Schuster
0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2018-06-21 9:15 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 3646 bytes --]
Remove the alignment environment, floats are centered by default.
Wolfgang
> Procházka Lukáš Ing. <mailto:LPr@pontex.cz>
> 9. Juni 2018 um 20:33
> 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
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> Procházka Lukáš Ing. <mailto:LPr@pontex.cz>
> 20. Juni 2018 um 07:43
> Hello,
>
> On Sat, 09 Jun 2018 20:33:30 +0200, Procházka Lukáš Ing.
> <LPr@pontex.cz> wrote:
>
>
> any reaction?
>
> E.g.
> "splitted TABLE cannot be centered on pages - the alg is not
> implemented, and won't be" or
> "splitted TABLE cannot be centered on pages - the alg is not
> implemented, but will be" or
> "splitted TABLE cannot be centered on pages - use xtable instead with
> [key=value]" or
> "use \setupTABLE[something=here] - it will center splitted TABLE on
> each page"?
>
> Best regards,
>
> Lukas
>
>
> Wolfgang Schuster <mailto:schuster.wolfgang@gmail.com>
> 20. Juni 2018 um 07:59
>
>
> Place the table as float and disable the caption, e.g.
>
> \startplacetable[location={split,force,none}]
> ...
> \stopplacetable
>
> Wolfgang
> Procházka Lukáš Ing. <mailto:LPr@pontex.cz>
> 21. Juni 2018 um 11:10
> Hello,
>
> thanks, it works:
>
> ----
> \startalignment[middle]
> \startplacetable[location={split,force,none}]
> \bTABLE[split=repeat]
> \bTABLEhead
> \bTR\bTH A\eTH\bTH B\eTH\eTR
> \eTABLEhead
> \bTABLEbody
> \dorecurse{60}{
> \bTR
> \bTD uuu\eTD
> \bTD vvv\eTD
> \eTR
> }
> \eTABLEbody
> \eTABLE
> \stopplacetable
> \stopalignment
> ----
>
> Best regards,
>
> Lukas
>
>
> On Wed, 20 Jun 2018 07:59:28 +0200, Wolfgang Schuster
> <schuster.wolfgang@gmail.com> wrote:
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 7964 bytes --]
[-- Attachment #2: 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-06-21 9:15 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-09 18:33 TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs Procházka Lukáš Ing.
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.
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).