* Floating object in text - Spacing
@ 2021-01-15 23:53 Johann Birnick
2021-01-16 2:43 ` Aditya Mahajan
0 siblings, 1 reply; 3+ messages in thread
From: Johann Birnick @ 2021-01-15 23:53 UTC (permalink / raw)
To: ntg-context
Consider the following example:
\setupexternalfigures[location=default]
\starttext
\placefigure[right,none]{}{\externalfigure[hacker.jpg][scale=518]}
\samplefile{lorem}
\stoptex
What bothers me is the top spacing. There is space to the top, and I dont want
it to be there. On the bottom there is no spacing. I would expect it to be
evenly distributed. But the spacing on the top will always be there. How to
remove this?
Thank you,
Johann
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Floating object in text - Spacing
2021-01-15 23:53 Floating object in text - Spacing Johann Birnick
@ 2021-01-16 2:43 ` Aditya Mahajan
2021-01-16 7:26 ` Johann Birnick
0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2021-01-16 2:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sat, 16 Jan 2021, Johann Birnick wrote:
> Consider the following example:
>
> \setupexternalfigures[location=default]
> \starttext
> \placefigure[right,none]{}{\externalfigure[hacker.jpg][scale=518]}
> \samplefile{lorem}
> \stoptext
>
> What bothers me is the top spacing. There is space to the top, and I dont want
> it to be there. On the bottom there is no spacing. I would expect it to be
> evenly distributed. But the spacing on the top will always be there. How to
> remove this?
Add 'high' keyword:
\placefigure[right,high,none]{}{\externalfigure[hacker.jpg][scale=518]}
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Floating object in text - Spacing
2021-01-16 2:43 ` Aditya Mahajan
@ 2021-01-16 7:26 ` Johann Birnick
0 siblings, 0 replies; 3+ messages in thread
From: Johann Birnick @ 2021-01-16 7:26 UTC (permalink / raw)
To: ntg-context
Thank you.
And is it possible to distribute the space equally between top and bottom?
Or to set it to some specific dimension?
Johann
On Fri, 2021-01-15 at 21:43 -0500, Aditya Mahajan wrote:
> On Sat, 16 Jan 2021, Johann Birnick wrote:
>
> > Consider the following example:
> >
> > \setupexternalfigures[location=default]
> > \starttext
> > \placefigure[right,none]{}{\externalfigure[hacker.jpg][scale=518]}
> > \samplefile{lorem}
> > \stoptext
> >
> > What bothers me is the top spacing. There is space to the top, and I dont
> > want
> > it to be there. On the bottom there is no spacing. I would expect it to be
> > evenly distributed. But the spacing on the top will always be there. How to
> > remove this?
>
> Add 'high' keyword:
>
> \placefigure[right,high,none]{}{\externalfigure[hacker.jpg][scale=518]}
>
> 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://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ______________________________________________________________________________
> _____
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-16 7:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-15 23:53 Floating object in text - Spacing Johann Birnick
2021-01-16 2:43 ` Aditya Mahajan
2021-01-16 7:26 ` Johann Birnick
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).