I just switched from windows to ubuntu. Somehow it has changed the behavior of Org mode so that now test enclosed between / are underlined (similarly as text enclosed between _) while it was italicised before. How can I change that ? I suppose I would have to deal with fonts and associates but I still lack proficiency in that matter.

  • I guess you are running Emacs inside a terminal, where there is no italics font. Try running the GUI version of emacs instead. – Juancho Jun 20 '12 at 13:21
  • I run it with the GUI version. – Alfred M. Jun 20 '12 at 13:32

Move point to something that's not displayed as you want, and hit C-u C-x =. This will bring up a new buffer with information about the character at point.

The piece you're interested in is this:

There are text properties here:
  face                 (italic)

(You might have something else than italic there.)

In my Emacs, italic is a link to a page where you can customize the face. You can also type M-x customize-face RET italic directly. In the Customize buffer that appears, you can change what the text should look like.

  • 1
    I followed your advice, removed the underline and addes slant = italic but now it appears just normal. Maybe that as something to do with my font ? I noticed that the font name contains a bold instead of normal for the text enclosed between *. I suppose there should be an italic somewhere for the text enclosed between / but I do not now how to control that. – Alfred M. Jun 26 '12 at 14:55
  • Hm, what's the font name? It might be a font that doesn't have any italic form... – legoscia Jun 26 '12 at 16:43
  • 1
    DéjaVu : -unknown-DejaVu Sans Mono-normal-normal-normal-*-16-*-*-*-m-0-iso10646- – Alfred M. Jun 26 '12 at 17:13
  • 2
    I tried every possible field in the slant customization menu (italic, oblique, normal, italic and roman) without success. – Alfred M. Jun 28 '12 at 6:30
  • 1
    @danlei: I have not this problem anymore but I don't know how. Probably some update solved it. – Alfred M. Mar 2 '13 at 19:15

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.