* Vertical positioning of floats within itemize
@ 2012-10-15 22:45 Marcin Borkowski
2012-10-16 7:41 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Marcin Borkowski @ 2012-10-15 22:45 UTC (permalink / raw)
To: ConTeXt mailing list
It's me again!
This doesn't quite work as expected (at least by me, that is;)):
\starttext
\startitemize
\startitem
\placefigure[right,high,none]{}{\framed[width=3cm,height=2cm]{!}}
\input knuth
\stopitem
\stopitemize
\stoptext
(Namely, at the beginning of the \item there is something like a "blank
line".)
If I move \placefigure before \startitem, it looks better, but this
seems to be a nasty hack. Do you have any idea how to achieve this
effect in a more elegant way?
TIA,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___________________________________________________________________________________
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] 4+ messages in thread
* Re: Vertical positioning of floats within itemize
2012-10-15 22:45 Vertical positioning of floats within itemize Marcin Borkowski
@ 2012-10-16 7:41 ` Hans Hagen
2012-10-16 8:05 ` Marcin Borkowski
0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2012-10-16 7:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 16-10-2012 00:45, Marcin Borkowski wrote:
> It's me again!
>
> This doesn't quite work as expected (at least by me, that is;)):
>
> \starttext
>
> \startitemize
> \startitem
> \placefigure[right,high,none]{}{\framed[width=3cm,height=2cm]{!}}
> \input knuth
> \stopitem
> \stopitemize
>
> \stoptext
>
> (Namely, at the beginning of the \item there is something like a "blank
> line".)
>
> If I move \placefigure before \startitem, it looks better, but this
> seems to be a nasty hack. Do you have any idea how to achieve this
> effect in a more elegant way?
tricky ... a place does some spacing before and after so that interferes
with the item that places a bullet and expects text next
it would also look kind of weird I guess, bullet - image - caption
some kind of inline variant is needed then
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 4+ messages in thread
* Re: Vertical positioning of floats within itemize
2012-10-16 7:41 ` Hans Hagen
@ 2012-10-16 8:05 ` Marcin Borkowski
2012-10-16 8:17 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Marcin Borkowski @ 2012-10-16 8:05 UTC (permalink / raw)
To: ConTeXt mailing list
Dnia 2012-10-16, o godz. 09:41:23
Hans Hagen <pragma@wxs.nl> napisał(a):
> On 16-10-2012 00:45, Marcin Borkowski wrote:
> > It's me again!
> >
> > This doesn't quite work as expected (at least by me, that is;)):
> >
> > \starttext
> >
> > \startitemize
> > \startitem
> > \placefigure[right,high,none]{}{\framed[width=3cm,height=2cm]{!}}
> > \input knuth
> > \stopitem
> > \stopitemize
> >
> > \stoptext
> >
> > (Namely, at the beginning of the \item there is something like a
> > "blank line".)
> >
> > If I move \placefigure before \startitem, it looks better, but this
> > seems to be a nasty hack. Do you have any idea how to achieve this
> > effect in a more elegant way?
>
> tricky ... a place does some spacing before and after so that
> interferes with the item that places a bullet and expects text next
>
> it would also look kind of weird I guess, bullet - image - caption
>
> some kind of inline variant is needed then
Well, I meant the bullet and item text on the left and image on the
right. Is it possible?
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___________________________________________________________________________________
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] 4+ messages in thread
* Re: Vertical positioning of floats within itemize
2012-10-16 8:05 ` Marcin Borkowski
@ 2012-10-16 8:17 ` Hans Hagen
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2012-10-16 8:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 16-10-2012 10:05, Marcin Borkowski wrote:
> Well, I meant the bullet and item text on the left and image on the
> right. Is it possible?
maybe if you put \placefigure[right]{}{} before the \item
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 4+ messages in thread
end of thread, other threads:[~2012-10-16 8:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-15 22:45 Vertical positioning of floats within itemize Marcin Borkowski
2012-10-16 7:41 ` Hans Hagen
2012-10-16 8:05 ` Marcin Borkowski
2012-10-16 8:17 ` 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).