I want to disable ligatures when I am typing letters, however, I need '--' to be joined to a long dash. Is it possible to make this?

Now I am avoiding it like this

\DisableLigatures{encoding = *, family = * }

1 Answer 1


You can only do it the other way round as described in the documentation of microtype. You can give a list of chars for which ligatures should be disabled:

\DisableLigatures[f]{encoding = *, family = * }
fi ---

  • For me, the above did not work for disabling ligatures in source code listings with a tt font. However, \DisableLigatures[f]{encoding = *, family = tt* } did work (as suggested in the microtype manual). Nov 13, 2017 at 13:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .