![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Hi again, I’d like to flow some text around a picture. There was undocumented \starthangaround (it’s still in cont-new.mkiv in the garden), but it’s unknown in latest beta. Is there a replacement? \starttext \starthangaround{\externalfigure[koe][width=0.33\textwidth]} \input tufte \stophangaround \input knuth \stoptext Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
![](https://secure.gravatar.com/avatar/e1d6b7d0f096cb8cf44273fa33fb05f0.jpg?s=120&d=mm&r=g)
Hi Henning!
···
Hi again, I’d like to flow some text around a picture.
There was undocumented \starthangaround (it’s still in cont-new.mkiv in the garden), but it’s unknown in latest beta. Is there a replacement?
Try the hanging environment: \setupexternalfigures [location=default] \starttext \starthanging{\externalfigure [cow.pdf][width=3.141cm]} \input ward \stophanging \stoptext I think it is supposed to be the successor to hangaround. Best regards, Philipp
![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Am 2014-03-24 um 12:09 schrieb Philipp Gesang
Hi again, I’d like to flow some text around a picture.
There was undocumented \starthangaround (it’s still in cont-new.mkiv in the garden), but it’s unknown in latest beta. Is there a replacement?
Try the hanging environment:
\setupexternalfigures [location=default] \starttext \starthanging{\externalfigure [cow.pdf][width=3.141cm]} \input ward \stophanging \stoptext
I think it is supposed to be the successor to hangaround.
Dankeschön! I updated the wiki page: http://wiki.contextgarden.net/Using_Graphics#Flow_text_around_a_picture There are some issues: - \starthanging doesn’t accept parameters (using \setuphanging for every second picture is evil) - As you can see in wiki, the picture stands on the first line of the text. This is a MkII problem, it works with MkIV. - If you try several paragraphs or \startlines, then only the first paragraph flows. Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 24.03.2014 um 09:02 schrieb Henning Hraban Ramm
Am 2014-03-24 um 12:09 schrieb Philipp Gesang
: Hi again, I’d like to flow some text around a picture.
There was undocumented \starthangaround (it’s still in cont-new.mkiv in the garden), but it’s unknown in latest beta. Is there a replacement?
Try the hanging environment:
\setupexternalfigures [location=default] \starttext \starthanging{\externalfigure [cow.pdf][width=3.141cm]} \input ward \stophanging \stoptext
I think it is supposed to be the successor to hangaround.
Dankeschön!
I updated the wiki page: http://wiki.contextgarden.net/Using_Graphics#Flow_text_around_a_picture
There are some issues:
- \starthanging doesn’t accept parameters (using \setuphanging for every second picture is evil) - As you can see in wiki, the picture stands on the first line of the text. This is a MkII problem, it works with MkIV. - If you try several paragraphs or \startlines, then only the first paragraph flows.
The hanging environment in MkII isn’t the same as the hanging in MkIV. The original name for the environment was hang around but when Hans added a few new features (e.g. to move the picture to the right side) he changed in MKIV the name to hanging, a command which all already existed. Wolfgang
![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Am 2014-03-24 um 14:11 schrieb Wolfgang Schuster
- \starthanging doesn’t accept parameters (using \setuphanging for every second picture is evil) - As you can see in wiki, the picture stands on the first line of the text. This is a MkII problem, it works with MkIV. - If you try several paragraphs or \startlines, then only the first paragraph flows.
The hanging environment in MkII isn’t the same as the hanging in MkIV. The original name for the environment was hang around but when Hans added a few new features (e.g. to move the picture to the right side) he changed in MKIV the name to hanging, a command which all already existed.
Thanks for the explanation. But is there a way to flow several paragraphs (or „lines“) around a picture? I tried a vbox, but then the picture moves down into the following paragraph. Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
![](https://secure.gravatar.com/avatar/fae590b4bd4ffbcd07fd1ed2d01f002a.jpg?s=120&d=mm&r=g)
On Mar 24, 2014, at 4:43 AM, Henning Hraban Ramm
Am 2014-03-24 um 14:11 schrieb Wolfgang Schuster
: - \starthanging doesn’t accept parameters (using \setuphanging for every second picture is evil) - As you can see in wiki, the picture stands on the first line of the text. This is a MkII problem, it works with MkIV. - If you try several paragraphs or \startlines, then only the first paragraph flows.
The hanging environment in MkII isn’t the same as the hanging in MkIV. The original name for the environment was hang around but when Hans added a few new features (e.g. to move the picture to the right side) he changed in MKIV the name to hanging, a command which all already existed.
Thanks for the explanation.
But is there a way to flow several paragraphs (or „lines“) around a picture? I tried a vbox, but then the picture moves down into the following paragraph.
Why not use \placefigure[left,none]{}{....} Aditya
![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
Am 2014-03-24 um 17:34 schrieb Aditya Mahajan
Why not use \placefigure[left,none]{}{....}
Good question. Just after sending my previous mail I recognized it works this way. Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
participants (4)
-
Aditya Mahajan
-
Henning Hraban Ramm
-
Philipp Gesang
-
Wolfgang Schuster