* Tabulate: how to center "tabulate" horizontally?
@ 2014-04-02 8:29 Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 0 replies; 3+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2014-04-02 8:29 UTC (permalink / raw)
To: ConTeXt
[-- Attachment #1: Type: text/plain, Size: 815 bytes --]
Hello,
I'm trying to center horizontally a "tabulate", but the "tabulate" is still placed on the left side of the page.
How to center it?
Here is my code:
----
\starttext
\startalignment[center]
\dontleavehmode
\externalfigure[cow]
\stopalignment
\startalignment[center]
\dontleavehmode
\starttabulate[|rw(1in)|rw(1in)|rw(1in)|]
\HL
\NC BBCCDD \NC $y_{JTSK}$ \NC $x_{JTSK}$ \NC\NR
\HL[3]
\NC 000000 \NC 123456.479 \NC 123456.479 \NC\NR
\HL
\stoptabulate%
\stopalignment
\stoptext
----
Best regards,
Lukas
--
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4
Tel: +420 241 096 751
Fax: +420 244 461 038
[-- Attachment #2: t.mkiv --]
[-- Type: application/octet-stream, Size: 396 bytes --]
\starttext
\startalignment[center]
\dontleavehmode
\externalfigure[cow]
\stopalignment
\startalignment[center]
\dontleavehmode
\starttabulate[|rw(1in)|rw(1in)|rw(1in)|]
\HL
\NC BBCCDD \NC $y_{JTSK}$ \NC $x_{JTSK}$ \NC\NR
\HL[3]
\NC 000000 \NC 123456.479 \NC 123456.479 \NC\NR
\HL
\stoptabulate%
\stopalignment
\stoptext
[-- Attachment #3: t.pdf --]
[-- Type: application/pdf, Size: 14991 bytes --]
[-- Attachment #4: 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Tabulate: how to center "tabulate" horizontally?
2014-04-02 9:26 "H. Özoguz"
@ 2014-04-02 9:58 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 0 replies; 3+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2014-04-02 9:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello,
it works, thanks!
Lukas
On Wed, 02 Apr 2014 11:26:39 +0200, H. Özoguz <h.oezoguz@mmnetz.de> wrote:
>> I'm trying to center horizontally a "tabulate", but the "tabulate" is still placed on the left side of the page.
>>
>> How to center it?
>
> You could use the tabularframe and align in the middle:
>
> \defineframedcontent [tabularframe] [frame=off, align=middle]
> \starttext
> \placetable[here]{Framesolution}{
> \starttabulate[|rw(1in)|rw(1in)|rw(1in)|]
> \HL
> \NC BBCCDD \NC $y_{JTSK}$ \NC $x_{JTSK}$ \NC\NR
> \HL[3]
> \NC 000000 \NC 123456.479 \NC 123456.479 \NC\NR
> \HL
> \stoptabulate
> }
> \stoptext
>
> Huseyin
--
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4
Tel: +420 241 096 751
Fax: +420 244 461 038
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Tabulate: how to center "tabulate" horizontally?
@ 2014-04-02 9:26 "H. Özoguz"
2014-04-02 9:58 ` Procházka Lukáš Ing. - Pontex s. r. o.
0 siblings, 1 reply; 3+ messages in thread
From: "H. Özoguz" @ 2014-04-02 9:26 UTC (permalink / raw)
To: ntg-context
> I'm trying to center horizontally a "tabulate", but the "tabulate" is still placed on the left side of the page.
>
> How to center it?
You could use the tabularframe and align in the middle:
\defineframedcontent [tabularframe] [frame=off, align=middle]
\starttext
\placetable[here]{Framesolution}{
\starttabulate[|rw(1in)|rw(1in)|rw(1in)|]
\HL
\NC BBCCDD \NC $y_{JTSK}$ \NC $x_{JTSK}$ \NC\NR
\HL[3]
\NC 000000 \NC 123456.479 \NC 123456.479 \NC\NR
\HL
\stoptabulate
}
\stoptext
Huseyin
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-02 9:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-02 8:29 Tabulate: how to center "tabulate" horizontally? Procházka Lukáš Ing. - Pontex s. r. o.
2014-04-02 9:26 "H. Özoguz"
2014-04-02 9:58 ` Procházka Lukáš Ing. - Pontex s. r. o.
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).