ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Float on opposite page
@ 2012-03-01 13:16 Charles
  2012-03-01 17:17 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Charles @ 2012-03-01 13:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I have a problem with float positioning. I would like to have text on 
even pages and text on odd pages. I tried:

- "\placetable[opposite]" but then the tables are not included.
- "\placetable[rightpage]" but then each table is on a new page.

I would like to have my figures/tables on a new even page, but if 2 
figures/tables fit on one page, they should not be on two different 
pages but together on the same even page (I was thinking "opposite" 
should do that).

Thanks for your help

Charles


\setuppagenumbering[alternative=doublesided]

\starttext

Lorem ipsum dolor sit amet, maecenas malesuada, ut tellus ac a egestas 
donec, lectus aliquam, purus orci fermentum porta sed. Ut quis risus 
suspendisse, convallis vel velit suspendisse amet diam urna, erat auctor 
vestibulum nec amet lorem, at fringilla cursus aenean donec dui at. 
Neque duis luctus netus magna, orci nulla vivamus consectetuer nulla, 
amet felis in sodales dictum parturient ipsum, consequuntur malesuada.

\placetable[opposite]{Legend 1}{Content of Table 1}

\placetable[opposite]{Legend 1}{Content of Table 2}

Vestibulum ut pretium fringilla dui dui odio, pellentesque arcu leo id. 
Malesuada curabitur, urna nostrum mauris lobortis, ante luctus donec a, 
congue arcu placerat dictum non integer, nulla non.

\stoptext
___________________________________________________________________________________
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: Float on opposite page
  2012-03-01 13:16 Float on opposite page Charles
@ 2012-03-01 17:17 ` Aditya Mahajan
  2012-03-01 18:34   ` Charles
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2012-03-01 17:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 1 Mar 2012, Charles wrote:

> Hi,
>
> I have a problem with float positioning. I would like to have text on even 
> pages and text on odd pages. I tried:
>
> - "\placetable[opposite]" but then the tables are not included.
> - "\placetable[rightpage]" but then each table is on a new page.
>
> I would like to have my figures/tables on a new even page, but if 2 
> figures/tables fit on one page, they should not be on two different pages but 
> together on the same even page (I was thinking "opposite" should do that).

Untested:

> \setuppagenumbering[alternative=doublesided]
>
> \starttext
>
> Lorem ipsum dolor sit amet, maecenas malesuada, ut tellus ac a egestas donec, 
> lectus aliquam, purus orci fermentum porta sed. Ut quis risus suspendisse, 
> convallis vel velit suspendisse amet diam urna, erat auctor vestibulum nec 
> amet lorem, at fringilla cursus aenean donec dui at. Neque duis luctus netus 
> magna, orci nulla vivamus consectetuer nulla, amet felis in sodales dictum 
> parturient ipsum, consequuntur malesuada.

\startpostponing[+1]

> \placetable[top]{Legend 1}{Content of Table 1}
>
> \placetable[top]{Legend 1}{Content of Table 2}

\stoppostponing

> Vestibulum ut pretium fringilla dui dui odio, pellentesque arcu leo id. 
> Malesuada curabitur, urna nostrum mauris lobortis, ante luctus donec a, 
> congue arcu placerat dictum non integer, nulla non.
>
> \stoptext

Aditya
___________________________________________________________________________________
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: Float on opposite page
  2012-03-01 17:17 ` Aditya Mahajan
@ 2012-03-01 18:34   ` Charles
  0 siblings, 0 replies; 3+ messages in thread
From: Charles @ 2012-03-01 18:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Le 01/03/2012 18:17, Aditya Mahajan a écrit :
> On Thu, 1 Mar 2012, Charles wrote:
>
>> Hi,
>>
>> I have a problem with float positioning. I would like to have text on
>> even pages and text on odd pages. I tried:
>>
>> - "\placetable[opposite]" but then the tables are not included.
>> - "\placetable[rightpage]" but then each table is on a new page.
>>
>> I would like to have my figures/tables on a new even page, but if 2
>> figures/tables fit on one page, they should not be on two different
>> pages but together on the same even page (I was thinking "opposite"
>> should do that).
>
> Untested:
>
>> \setuppagenumbering[alternative=doublesided]
>>
>> \starttext
>>
>> Lorem ipsum dolor sit amet, maecenas malesuada, ut tellus ac a egestas
>> donec, lectus aliquam, purus orci fermentum porta sed. Ut quis risus
>> suspendisse, convallis vel velit suspendisse amet diam urna, erat
>> auctor vestibulum nec amet lorem, at fringilla cursus aenean donec dui
>> at. Neque duis luctus netus magna, orci nulla vivamus consectetuer
>> nulla, amet felis in sodales dictum parturient ipsum, consequuntur
>> malesuada.
>
> \startpostponing[+1]
>
>> \placetable[top]{Legend 1}{Content of Table 1}
>>
>> \placetable[top]{Legend 1}{Content of Table 2}
>
> \stoppostponing
>
>> Vestibulum ut pretium fringilla dui dui odio, pellentesque arcu leo
>> id. Malesuada curabitur, urna nostrum mauris lobortis, ante luctus
>> donec a, congue arcu placerat dictum non integer, nulla non.
>>
>> \stoptext
>
> Aditya

Thanks but it doesn't work (TeX capacity exceeded) and anyway the 
figures would not be centered on the page.

Charles

___________________________________________________________________________________
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:[~2012-03-01 18:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-01 13:16 Float on opposite page Charles
2012-03-01 17:17 ` Aditya Mahajan
2012-03-01 18:34   ` Charles

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).