# Placing text in the margin next to a figure using ConTeXt [closed]

What is a good way to place a short paragraph in the margin next to a figure in ConTeXt?

I've been trying the following code, but it places the \inmargin text at the base of the figure which only works for about 2 lines before the text goes well beneath the end of the figure.

\starttext
\starthanging
{\placefigure[force][fig:figure-reference]{Figure Caption}
{\externalfigure[figure-file][width=\textwidth]}}
\inmargin{Sometext that is intended for the Margin}
\stophanging
\stoptext


I've had a quick look in the Details Manual but was unable to find or work out what to apply to get a good result.

-

## closed as off-topic by Joseph Wright♦Aug 12 '13 at 20:31

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

I have completed your code snippet into a MWE and added the output. I hope that is OK. :-) – hpesoj626 Apr 11 '13 at 4:33
That is most definitely OK. Thank you very much. This demonstrates the issue clearly. – sien Apr 11 '13 at 5:04
You use a too old version. It was fixed before 2012-12-06. What version are you running? – Marco Apr 11 '13 at 14:51
It was an old version problem. Thanks Marco! – sien Apr 15 '13 at 7:59
This question appears to be off-topic because it is about an issue which is fixed in the current release version. – Joseph Wright Aug 12 '13 at 20:31