\startplacefloat query
When placing a float to the left or right of text, is there a way to place a given number of lines of text directly above it? Or is this not the right mechanism to achieve this? What I have now is: \starttext \startplacefigure[title=Cow, location={left, 3*line, force, high}] {\externalfigure[cow.pdf][width=.2\textwidth]} \stopplacefigure \input knuth \stoptext which gives: Xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx [cow image] xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx What I would prefer is a pattern like this: Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx [cow image] xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Alan
On Mon, 31 Jul 2017, Alan Bowen wrote:
When placing a float to the left or right of text, is there a way to place a given number of lines of text directly above it? Or is this not the right mechanism to achieve this?
Using 3*hang instead of 3*line
What I have now is: \starttext \startplacefigure[title=Cow, location={left, 3*line, force, high}] {\externalfigure[cow.pdf][width=.2\textwidth]} \stopplacefigure \input knuth \stoptext
Aditya
Thanks, Aditya. That is a great help!
Alan
On Mon, Jul 31, 2017 at 4:43 PM, Aditya Mahajan
On Mon, 31 Jul 2017, Alan Bowen wrote:
When placing a float to the left or right of text, is there a way to place
a given number of lines of text directly above it? Or is this not the right mechanism to achieve this?
Using 3*hang instead of 3*line
What I have now is:
\starttext \startplacefigure[title=Cow, location={left, 3*line, force, high}] {\externalfigure[cow.pdf][width=.2\textwidth]} \stopplacefigure \input knuth \stoptext
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/list info/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ____________________________________________________________ _______________________
participants (2)
-
Aditya Mahajan
-
Alan Bowen