TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have exported a figure from inkscape to latex using the .pdf_text method. Everything is working fine but I would like to be able to change the line spacing of the text which was exported. Any ideas?

share|improve this question
Welcome to TeX.SX! You should import the graphic without any text and then overlay the text with TikZ or similar. Altering the text as you describe would be nigh impossible with TeX. edit can you elaborate on the 'pdf_text' method? I'm unfamiliar. – Sean Allred Jan 7 '14 at 7:38
Open the .pdf_tex file. You will see, that every bit of text is placed using \put(x,y){\color[rgb]{r,g,b}\makebox(0,0)[lb]{\smash{text}}}. To move the text around, adjust the pair (x,y). This is a bit tedious, but will serve its purpose and if you don't want to spend too much time on it, this is better than overlaying the picture using TikZ. – Henri Menke Jan 7 '14 at 10:42
Welcome to TeX.SX! Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you. A suggestion: Do us a favour and change your username to something more telling than "user1234". – Martin Schröder Jan 8 '14 at 10:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.