== Example ==
Note that {{cmd|setupinmargin}} command has been renamed to {{cmd|setupinmargindata}}. The following code inserts text in the right-hand page margin:
<texcode>
% For example:\setupinmarginsetupmargindata[styleinmargin][location=slantedright]
\starttext
This is an example of a simple margin note set in the slanted font
of the document. If used correctly, the note \inmargin{Here is a
simple margin note.} should print on the side with the command \type {\inmargin} placed in the text. You will of course want to adjust your margins to accommodate the type. \stoptext
</texcode>