What Does Inkscape’s ‘Relative to’ Menu Do?

The ‘Relative to’ drop-down menu in Inkscape’s Align and Distribute dialogue dictates the anchor point or reference object used to reposition your selected elements. Instead of just aligning items to an arbitrary point, this setting allows you to choose whether objects align to the largest item, the smallest item, the selection area itself, the entire page, or even the first or last object you selected. Mastering this single setting is the key to precise, predictable layout control within your vector design projects.

Understanding the Anchor Targets

When you select multiple objects and click an alignment button (like “Align left edges”), Inkscape needs to know which object should stay put and which objects should move. The ‘Relative to’ menu provides several distinct targets to control this behavior:

Practical Workflow Examples

Choosing the right anchor completely changes how the alignment buttons behave during your design process.

If you are creating a website banner and want to center a button precisely in the middle of the canvas, you would set the menu to Page and click the “Center on horizontal axis” and “Center on vertical axis” buttons.

Alternatively, if you have a row of icons that you want to line up perfectly with a specific background rectangle, you would select the icons, select the rectangle last, set the menu to Last selected, and align them to the center. The background rectangle will remain perfectly in place while the icons shift to match it.