* placing an xtable
@ 2013-06-18 20:26 Pablo Rodríguez
2013-06-18 20:53 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodríguez @ 2013-06-18 20:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dear list,
I'd like to place a table centered (both horizontally and vertically) on
an empty page.
Is there no option from the xtable itself to achieve that?
I have tried \startxtable[location=lohi], but this doesn't seem to
affect to the placement of the table itself.
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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: placing an xtable
2013-06-18 20:26 placing an xtable Pablo Rodríguez
@ 2013-06-18 20:53 ` Wolfgang Schuster
2013-06-18 21:20 ` Pablo Rodríguez
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2013-06-18 20:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 18.06.2013 um 22:26 schrieb Pablo Rodríguez <oinos@web.de>:
> Dear list,
>
> I'd like to place a table centered (both horizontally and vertically) on
> an empty page.
>
> Is there no option from the xtable itself to achieve that?
>
> I have tried \startxtable[location=lohi], but this doesn't seem to
> affect to the placement of the table itself.
>
> Many thanks for your help,
You can use a page float to place table:
\starttext
\input ward
\startplacetable[location={page,none}]
\startxtable
\startxrow
\startxcell Table content!\stopxcell
\stopxrow
\stopxtable
\stopplacetable
\stoptext
or when you don’t mind a page break before the table a frame can be used:
\defineframedtext
[XFRAMED]
[width=max,
height=max,
align={middle,lohi},
offset=overlay,
frame=off,
before=\page, % before=\page\noheaderandfooterlines,
after=\page]
\starttext
\input ward
\startXFRAMED
\startxtable
\startxrow
\startxcell Table content!\stopxcell
\stopxrow
\stopxtable
\stopXFRAMED
\input ward
\stoptext
Wolfgang
___________________________________________________________________________________
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:[~2013-06-18 21:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-18 20:26 placing an xtable Pablo Rodríguez
2013-06-18 20:53 ` Wolfgang Schuster
2013-06-18 21:20 ` Pablo Rodríguez
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).