* rotated placetable
@ 2013-04-20 11:59 Alan BRASLAU
2013-04-20 12:24 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Alan BRASLAU @ 2013-04-20 11:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello,
On October 1, 2010 Mojca asked about inserting a rotated page content
(landscape) in an otherwise portrait document, keeping the headers and
footers upright. The suggested solution was essentially
\rotate [rotation=90] {\startTEXpage
[width=\textheight,height=\textwidth]
...
\stopTEXpage}
I would like to place a wide table rotated as above, keeping the page
headers and footers upright. In other words, I would like to do
something like
\startplacetable [location=page,orientation=90,title=Table
caption]
...
\stopplacetable
That is, rotate the table contents *and its caption*, but not the page
header and footer.
Note that the following will indeed rotate the contents but not the
caption.
\startplacetable [title=Table caption]
\rotate [rotation=90] {\startTEXpage
...
\stopTEXpage}
\stopplacetable
Alan
___________________________________________________________________________________
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] 5+ messages in thread
* Re: rotated placetable
2013-04-20 11:59 rotated placetable Alan BRASLAU
@ 2013-04-20 12:24 ` Wolfgang Schuster
2013-04-20 13:35 ` Alan BRASLAU
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2013-04-20 12:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 20.04.2013 um 13:59 schrieb Alan BRASLAU <alan.braslau@cea.fr>:
> Hello,
>
> On October 1, 2010 Mojca asked about inserting a rotated page content
> (landscape) in an otherwise portrait document, keeping the headers and
> footers upright. The suggested solution was essentially
> \rotate [rotation=90] {\startTEXpage
> [width=\textheight,height=\textwidth]
> ...
> \stopTEXpage}
>
> I would like to place a wide table rotated as above, keeping the page
> headers and footers upright. In other words, I would like to do
> something like
> \startplacetable [location=page,orientation=90,title=Table
> caption]
> ...
> \stopplacetable
> That is, rotate the table contents *and its caption*, but not the page
> header and footer.
>
> Note that the following will indeed rotate the contents but not the
> caption.
> \startplacetable [title=Table caption]
> \rotate [rotation=90] {\startTEXpage
> ...
> \stopTEXpage}
> \stopplacetable
\startplacetable[location={page,90},title=Table caption]
…
\stopplacetable
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] 5+ messages in thread
* Re: rotated placetable
2013-04-20 12:24 ` Wolfgang Schuster
@ 2013-04-20 13:35 ` Alan BRASLAU
2013-04-20 15:09 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Alan BRASLAU @ 2013-04-20 13:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sat, 20 Apr 2013 14:24:25 +0200
Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
> \startplacetable[location={page,90},title=Table caption]
> …
> \stopplacetable
Thank you Wolfgang!
I find it necessary to do the following:
\startplacetable [location={page,90},title=Table caption]
\startTEXpage [width=\textheight]
…
\stopTEXpage
\stopplacetable
The \startTEXpage [width=\textheight] … \stopTEXpage
is necessary in order to get the content (table macros: \bTABLE
\eTABLE) to work correctly.
I had thought that it would have made sense to use "width=\textheight"
with \startplacetable, but this did not work.
Alan
___________________________________________________________________________________
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] 5+ messages in thread
* Re: rotated placetable
2013-04-20 13:35 ` Alan BRASLAU
@ 2013-04-20 15:09 ` Wolfgang Schuster
2013-04-20 16:35 ` Alan BRASLAU
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2013-04-20 15:09 UTC (permalink / raw)
To: Alan BRASLAU; +Cc: mailing list for ConTeXt users
Am 20.04.2013 um 15:35 schrieb Alan BRASLAU <alan.braslau@cea.fr>:
> On Sat, 20 Apr 2013 14:24:25 +0200
> Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>
>> \startplacetable[location={page,90},title=Table caption]
>> …
>> \stopplacetable
>
> Thank you Wolfgang!
>
> I find it necessary to do the following:
>
> \startplacetable [location={page,90},title=Table caption]
> \startTEXpage [width=\textheight]
> …
> \stopTEXpage
> \stopplacetable
>
> The \startTEXpage [width=\textheight] … \stopTEXpage
> is necessary in order to get the content (table macros: \bTABLE
> \eTABLE) to work correctly.
>
> I had thought that it would have made sense to use "width=\textheight"
> with \startplacetable, but this did not work.
This is nonsense because \startTEXpage … \stopTEXpage is supposed to create
a standalone page on your document where you can control the width/height
of the page.
It’s hard to tell why you need this without a example but you can try to force
the table width with \bTABLE[textwidth=\textheight].
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] 5+ messages in thread
* Re: rotated placetable
2013-04-20 15:09 ` Wolfgang Schuster
@ 2013-04-20 16:35 ` Alan BRASLAU
0 siblings, 0 replies; 5+ messages in thread
From: Alan BRASLAU @ 2013-04-20 16:35 UTC (permalink / raw)
To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users
On Sat, 20 Apr 2013 17:09:45 +0200
Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
> This is nonsense because \startTEXpage … \stopTEXpage is supposed to
> create a standalone page on your document where you can control the
> width/height of the page.
It seemed to me to be a strange use of TEXpage, but I was just following
your own suggestion of Fri, 01 Oct 2010 09:13:39, see,
http://www.mail-archive.com/ntg-context@ntg.nl/msg49606.html
so nonsense indeed! :)
> It’s hard to tell why you need this without a example but you can try
> to force the table width with \bTABLE[textwidth=\textheight].
Indeed, this is the proper solution (and gives a better result). I had
tried "width=\textheight" but this set the width of *all* columns to
\textheight!
Thanks again!
Ala
--
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS URA 2464
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.braslau@cea.fr
___________________________________________________________________________________
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] 5+ messages in thread
end of thread, other threads:[~2013-04-20 16:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-20 11:59 rotated placetable Alan BRASLAU
2013-04-20 12:24 ` Wolfgang Schuster
2013-04-20 13:35 ` Alan BRASLAU
2013-04-20 15:09 ` Wolfgang Schuster
2013-04-20 16:35 ` Alan BRASLAU
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).