Positioning

If the x and y parameters are omitted or have empty values, the image is positioned inline with the text. If both x and y are specified, the image is positioned at the indicated position. If only x or y is specified, the image cannot be placed, and an error is reported.

By default, positioning is relative to the upper left corner of the page. This can be controlled by adding the following overrides to the parameter.

  • distance or distance;page to position relative to the left/top of the page.
  • distance;margin to position relative to the left/top margin of the text.

Examples are provided here.

[@(insert_image (image))]

The preceding example places the image inline in the paragraph between the brackets.

 @(insert_image (logo; x:="4cm";
y:="1cm;margin"))

The preceding example places the image 4 cm from the left side of the page, 1 cm down from the top margin.