7

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

3
  • 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
    Oct 18, 2018 at 20:28
  • @Moini - actually there is a way to do it.
    – Billy Kerr
    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
    Oct 19, 2018 at 23:01

1 Answer 1

4

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

1
  • 1
    Well, for the reason mentioned above. It's helpful for when Latex replaces the text. :) Oct 22, 2018 at 13:09

Your Answer

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

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