[NTG-context] placing a wide float at the bottom

Henning Hraban Ramm texml at fiee.net
Sun Feb 11 12:50:31 CET 2018


Am 2018-02-10 um 18:03 schrieb Rik Kabel <context at rik.users.panix.com>:

> On 2018-02-10 10:00, Henning Hraban Ramm wrote:
>> \placefigure[bottom]{}{\externalfigure[hacker][width=\textwidth]}
>> works just fine,
>> I get "top" placement with
>> \placefigure[bottom]{}{\externalfigure[hacker][width=\paperwidth]}
>> 
> Works here with the code below. The same result with and without adding "force". Result attached.
> 
> Do you have an MWE?
> 
> \showframe
> \starttext
>  some text
> \placefigure[top]{top textwidth}{\externalfigure[hacker][width=\textwidth]}
>  some text
> \page
>  some text
> \placefigure[here]{here textwidth}{\externalfigure[hacker][width=\textwidth]}
>  some text
> \page
>  some text
> \placefigure[bottom]{bottom textwidth}{\externalfigure[hacker][width=\textwidth]}
>  some text
> \page
>  some text
> \placefigure[top,force]{top force paperwidth}{\externalfigure[hacker][width=\paperwidth]}
>  some text
> \page
>  some text
> \placefigure[here,force]{here force paperwidth}{\externalfigure[hacker][width=\paperwidth]}
>  some text
> \page
>  some text
> \placefigure[bottom,force]{bottom force paperwidth}{\externalfigure[hacker][width=\paperwidth]}\stopmode
>  some text
> \page
>  some text
> \placefigure[top]{top paperwidth}{\externalfigure[hacker][width=\paperwidth]}
>  some text
> \page
>  some text
> \placefigure[here]{here paperwidth}{\externalfigure[hacker][width=\paperwidth]}
>  some text
> \page
>  some text
> \placefigure[bottom]{bottom paperwidth}{\externalfigure[hacker][width=\paperwidth]}
>  some text
> \stoptext

Hi Rik,
thank you for looking into this.
Even your example shows a problem: The first "bottom" figure is lower than "top", but not at the bottom.

In the following example only the first image is placed at the bottom, the others at top:

\showframe
\starttext
\input tufte
\placefigure[bottom]{bottom textwidth}{\externalfigure[hacker][width=\textwidth]}
\input knuth
\input zapf
\input tufte
\placefigure[bottom,force]{bottom force paperwidth}{\externalfigure[hacker][width=\paperwidth]}\stopmode
\input knuth
\input zapf
\placefigure[bottom]{bottom paperwidth}{\externalfigure[hacker][width=\paperwidth]}
\input lorem
\stoptext


Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD



More information about the ntg-context mailing list