underline text

Asked by kcartwri on 2009-11-14

How do you underline text?

Question information

English Edit question
Inkscape Edit question
No assignee Edit question
Last query:
Last reply:

This question was reopened

su_v (suv-lp) said : #1

Current Inkscape versions don't support this text formatting - neither for displaying text nor as style option when editing text.

«… Underlined text cannot be added through the normal Inkscape interface, nor will Inkscape display underlines. But you can add underlined text that will be displayed properly by another SVG program.

To underline text, open the XML Editor. Select the text you wish underlined. Go to the "<svg:tspan>" object found inside an "<svg:text>" tag. If you are selecting part of the text, you may need to add some attribute temporarily (color for example) to create a corresponding “tspan” object; the color can be removed later. Add to the style: “text-decoration: underline”. »

bug report #172133 “Implement SVG text-decoration - underline, strikethrough, etc.”

UGADdee (deebrieske) said : #2

To work around this, I simply draw a straight line and move it under the letters/word. It's just quicker for me to do, since I don't underscore a lot, I know not a fix. I do this for strikethrough as well.

Can you help with this problem?

Provide an answer of your own, or ask kcartwri for more information if necessary.

To post a message you must log in.