Dear list, In a document with a columnsets there are many directives to place figures on certain spots (see columns-manual). I deal with a two-columns layout. Now I would need to place a figure in the first column at the lower left edge. Here the command \placefigure[bots][]{none}{\externalfigure[fake][width=\textwidth,height=3cm]} will not result in the figure at the bottom of the page, instead turns up at the top. For testing please refer to the minimal example below. I am using This is LuaTeX, Version beta-0.66.0-2011041318 (rev 4144) ConTeXt ver: 2011.05.01 12:50 MKIV fmt: 2011.5.4 int: english/englis Thanks, kind regards Willi
Am 09.05.2011 um 13:32 schrieb Willi Egger:
Dear list,
In a document with a columnsets there are many directives to place figures on certain spots (see columns-manual).
I deal with a two-columns layout. Now I would need to place a figure in the first column at the lower left edge. Here the command
\placefigure[bots][]{none}{\externalfigure[fake][width=\textwidth,height=3cm]}
will not result in the figure at the bottom of the page, instead turns up at the top.
As i can’t find any reference to a “bots” keyword it isn’t a valid option. Why don’t you use “bottom” or “lrbt” to place your picture. Wolfgang
Hi Wolfgang, The option 'bots' is described in the Columns manual (page 18). Yes I was looking in the source, but was unable to understand what I found. I saw, that there are commented lines in page-ini.mkiv (lines 230 and ff). In columnsets "bottom" has no effect. Indeed lrbt does place the figure at the bottom. The struggle is, that I have to be able to place the figure as well left as right aligned. So the option rlbt should do this, but doesn't. All together I came then to the conclusion that one should place the float at the bottom with 'bots' and add an offset. But maybe I miss something... Th solution I have now is \startcolumnset \placefigure[lrbt][]{none}{\offset[x=1cm]{\externalfigure[fake][width=2\textwidth,height=3cm]}} % for moving the float to the right \stopcolumnset \startcolumnset \placefigure[lrbt][]{none}{\externalfigure[fake][width=2\textwidth,height=3cm]} % for a left aligned float. \stopcolumnset Kind regards Willi On 9 May 2011, at 18:34, Wolfgang Schuster wrote:
Am 09.05.2011 um 13:32 schrieb Willi Egger:
Dear list,
In a document with a columnsets there are many directives to place figures on certain spots (see columns-manual).
I deal with a two-columns layout. Now I would need to place a figure in the first column at the lower left edge. Here the command
\placefigure[bots][]{none}{\externalfigure[fake][width=\textwidth,height=3cm]}
will not result in the figure at the bottom of the page, instead turns up at the top.
As i can’t find any reference to a “bots” keyword it isn’t a valid option. Why don’t you use “bottom” or “lrbt” to place your picture.
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 ___________________________________________________________________________________
Am 12.05.2011 um 10:11 schrieb Willi Egger:
In columnsets "bottom" has no effect.
When I use “bottom” in our example context reserves space for the figure at the bottom but the figure itself doesn’t appear.
Indeed lrbt does place the figure at the bottom. The struggle is, that I have to be able to place the figure as well left as right aligned. So the option rlbt should do this, but doesn't. All together I came then to the conclusion that one should place the float at the bottom with 'bots' and add an offset. But maybe I miss something... Th solution I have now is \startcolumnset \placefigure[lrbt][]{none}{\offset[x=1cm]{\externalfigure[fake][width=2\textwidth,height=3cm]}} % for moving the float to the right \stopcolumnset
\startcolumnset \placefigure[lrbt][]{none}{\externalfigure[fake][width=2\textwidth,height=3cm]} % for a left aligned float. \stopcolumnset
Why don’t you stretch the figure the whole width of the two columns and the distance between them. I saw in the manual a example where Hans defined a command \Two which does this. Wolfgang
Hi Wolfgang, On 12 May 2011, at 18:12, Wolfgang Schuster wrote:
Am 12.05.2011 um 10:11 schrieb Willi Egger:
In columnsets "bottom" has no effect.
When I use “bottom” in our example context reserves space for the figure at the bottom but the figure itself doesn’t appear.
hm, ????
Indeed lrbt does place the figure at the bottom. The struggle is, that I have to be able to place the figure as well left as right aligned. So the option rlbt should do this, but doesn't. All together I came then to the conclusion that one should place the float at the bottom with 'bots' and add an offset. But maybe I miss something... Th solution I have now is \startcolumnset \placefigure[lrbt][]{none}{\offset[x=1cm]{\externalfigure[fake][width=2\textwidth,height=3cm]}} % for moving the float to the right \stopcolumnset
\startcolumnset \placefigure[lrbt][]{none}{\externalfigure[fake][width=2\textwidth,height=3cm]} % for a left aligned float. \stopcolumnset
Why don’t you stretch the figure the whole width of the two columns and the distance between them. I saw in the manual a example where Hans defined a command \Two which does this.
Unfortunately the graphics to be place are not of the double-column-width. So I need to be able to place them either left of right aligned relative to the left/right margin... Thanks for your comments Willi
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 ___________________________________________________________________________________
participants (2)
-
Willi Egger
-
Wolfgang Schuster