There is a very nice way of including Inkscape graphics in LateX files such that Latex renders the text from the image. Here is the description.

Now this answer already describes how the text is positioned. Unfortunately it just treats aligning the text left, center and right which will move the anchor. However, due to the nature of my illustration I need the anchor to be at the top. How can I get there?

In images:

I have: have I want: enter image description here

  • 1
    Inkscape doesn't provide that option. The text anchor is always at the bottom. Its purpose is for aligning multiple texts with each other by indicating the baseline of the text. So, if you want to align the top of the text with something, use the Align and Distribute dialog, or use guides that you position a bit below the place where the top is intended to be.
    – Moini
    Commented Oct 18, 2018 at 20:28
  • @Moini - actually there is a way to do it.
    – Billy Kerr
    Commented Oct 19, 2018 at 18:34
  • @BillyKerr Mmh, yes, hadn't thought of using vertical shift for it... I was thinking along using some 'official' value for the text (e.g. the ascender height, cap height...).
    – Moini
    Commented Oct 19, 2018 at 23:01

1 Answer 1


I'm not sure why you would want to do that, other than perhaps for snapping, but it is possible.

Highlight the text and change the vertical shift.

enter image description here

  • 2
    Well, for the reason mentioned above. It's helpful for when Latex replaces the text. :) Commented Oct 22, 2018 at 13:09
  • What's a "vertical shift" and where can I change it?
    – Giraldi
    Commented Apr 28 at 17:15
  • 1
    @Giraldi This is an old answer (almost 6 years old). Inkscape's interface has change a lot since this was written. In Inkscape 1.3, the setting is in the text tool control options, in the controls bar along the top hit the "Spacing" button, then in the dropdown this is now called "Vertical Kerning". I'm not entirely sure this method would be as useful now, since the software has changed so much.
    – Billy Kerr
    Commented Apr 28 at 20:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.