* General Float Placement Question
@ 2006-04-20 14:44 Randall Skelton
2006-04-20 22:57 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Randall Skelton @ 2006-04-20 14:44 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 877 bytes --]
Hi all,
Is it possible to combine placement attributes when specifying a floating
figure or table?
\placefloat[.1.][ref,..]{.2.}{.3.}
.1. left right here top bottom inleft inright inmargin margin page opposite
always force tall
.2. text
.3. text
In my case, I'd like to ensure that figures in a double-sided document
appear together, with the first on the left page and the second on the
right. What I have reads:
\placefigure
[90,opposite]
[Fig:a]
{Figure a caption goes here}
\externalfigure[a][width=0.8\makeupheight]}
\placefigure
[90]
[Fig:b]
{Figure b caption goes here}
\externalfigure[b][width=0.8\makeupheight]}
For the first figure, will a location of [90,opposite] ensure a rotated
left-page figure? Likewise, is it possible to ensure that the second figure
is forced to the next right page?
Cheers,
Randall
[-- Attachment #1.2: Type: text/html, Size: 2433 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: General Float Placement Question
2006-04-20 14:44 General Float Placement Question Randall Skelton
@ 2006-04-20 22:57 ` Hans Hagen
2006-04-25 2:26 ` Randall Skelton
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2006-04-20 22:57 UTC (permalink / raw)
Randall Skelton wrote:
> Hi all,
>
> Is it possible to combine placement attributes when specifying a
> floating figure or table?
>
> \placefloat[.1.][ref,..]{.2.}{.3.}
> .1. left right here top bottom inleft inright inmargin margin page
> opposite always force tall
> .2. text
> .3. text
>
> In my case, I'd like to ensure that figures in a double-sided document
> appear together, with the first on the left page and the second on the
> right. What I have reads:
>
> \placefigure
> [90,opposite]
> [Fig:a]
> {Figure a caption goes here}
> \externalfigure[a][width=0.8\makeupheight]}
>
> \placefigure
> [90]
> [Fig:b]
> {Figure b caption goes here}
> \externalfigure[b][width=0.8\makeupheight]}
>
> For the first figure, will a location of [90,opposite] ensure a
> rotated left-page figure? Likewise, is it possible to ensure that the
> second figure is forced to the next right page?
\starttext
test
\startspread
\placefigure
[90]
[Fig:a]
{Figure a caption goes here}
{\externalfigure[a][width=0.8\makeupheight]}
\placefigure
[90]
[Fig:b]
{Figure b caption goes here}
{\externalfigure[b][width=0.8\makeupheight]}
\stopspread
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: General Float Placement Question
2006-04-20 22:57 ` Hans Hagen
@ 2006-04-25 2:26 ` Randall Skelton
2006-04-25 7:22 ` Hans Hagen
2006-04-25 7:41 ` Hans Hagen
0 siblings, 2 replies; 5+ messages in thread
From: Randall Skelton @ 2006-04-25 2:26 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 1527 bytes --]
Many thanks for the reply Hans. I'm a little puzzled by what happens when I
use \setuppagenumbering[alternative=doublesided]. For example:
\showframe
\setuppapersize[letter][letter]
\setuppagenumbering[alternative=doublesided]
\setuplayout[
grid=no, % grids make a mess of complex float placement
topspace=0.50in, % the space at the very top of the page
backspace=1.75in, % the space for binding gutter
header=0.40in, % the space for headers
footer=0.40in, % the space for footers
leftmargin=0.75in, % the space for margin notes
rightmargin=1.00in, % the space for margin notes
height=fit,
width=5.25in]
\starttext
test
\startspread
\placefigure
[page]
[Fig:a]
{Figure a caption goes here}
{\externalfigure[a][width=0.8\makeupwidth]}
\placefigure
[page]
[Fig:b]
{Figure b caption goes here}
{\externalfigure[b][width=0.8\makeupwidth]}
\stopspread
\stoptext
Cheers,
Randall
---
TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
tex : pdfeTeX, 3.141592-1.30.4-2.2 (Web2C 7.5.5)
context : ver: 2006.02.03 21:03
cont-en : ver: 2006.02.03 21:03 fmt: 2006.2.10 mes: english
cont-nl : ver: 2006.02.03 21:03 fmt: 2006.2.10 mes: dutch
total run time : 7 seconds
[-- Attachment #1.2: Type: text/html, Size: 2542 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: General Float Placement Question
2006-04-25 2:26 ` Randall Skelton
@ 2006-04-25 7:22 ` Hans Hagen
2006-04-25 7:41 ` Hans Hagen
1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2006-04-25 7:22 UTC (permalink / raw)
Randall Skelton wrote:
> Many thanks for the reply Hans. I'm a little puzzled by what happens
> when I use \setuppagenumbering[alternative=doublesided]. For example:
you can also try this:
\startpostponing
\placefigure
[Fig:a]
{Figure a caption goes here}
{\externalfigure[a][width=0.8\makeupwidth]}
\page
\placefigure
[Fig:b]
{Figure b caption goes here}
{\externalfigure[b][width=0.8\makeupwidth]}
\page
\stoppostponing
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: General Float Placement Question
2006-04-25 2:26 ` Randall Skelton
2006-04-25 7:22 ` Hans Hagen
@ 2006-04-25 7:41 ` Hans Hagen
1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2006-04-25 7:41 UTC (permalink / raw)
Randall Skelton wrote:
> Many thanks for the reply Hans. I'm a little puzzled by what happens
> when I use \setuppagenumbering[alternative=doublesided]. For example:
it's actually trivial to provide:
\starttext
\dorecurse{10}{\input tufte \par}
\placefigure
[leftpage]
[Fig:a]
{Figure a caption goes here}
{\externalfigure[a][width=0.8\makeupwidth]}
\placefigure
[rightpage]
[Fig:b]
{Figure b caption goes here}
{\externalfigure[b][width=0.8\makeupwidth]}
\dorecurse{10}{\input tufte \par}
\stoptext
i'll send you a patch
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-04-25 7:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-20 14:44 General Float Placement Question Randall Skelton
2006-04-20 22:57 ` Hans Hagen
2006-04-25 2:26 ` Randall Skelton
2006-04-25 7:22 ` Hans Hagen
2006-04-25 7:41 ` Hans Hagen
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).