1

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

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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