2

In markdown, I can write `foo`s to get foos. How do I do the same in Org Mode? ~foo~s doesn't do it and ~foo~ s adds a space.

1 Answer 1

2

It seems unnatural, but a zero-width space works. Type ~foo~s then, just before the s, use C-x 8 RET and choose 200B.

9
  • That is the recommended solution to such problems. Another possibility is to muck around with org-emphasis-regexp-components but it is error-prone, it tends to have wide ramifications and it is frowned upon by the devs - they would rather have the variable disappear.
    – NickD
    Commented May 17 at 19:43
  • @NickD That's a shame. Doesn't it confuse LaTeX-based exports?
    – J. Mini
    Commented May 17 at 21:28
  • I don't know - does it?
    – NickD
    Commented May 17 at 21:52
  • @NickD I occasionally see error messages about LaTeX not recognising the 200B character.
    – J. Mini
    Commented May 17 at 23:12
  • Are you using xelatex or lualatex? If you are using pdflatex there might be problems with Unicode in general.
    – NickD
    Commented May 18 at 0:46

Your Answer

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

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