There's something really wrong with this combination:


  sdfsdfsldkfsld skdj sldkf sdsd
  \overbrace{p(\theta | x)}^{\text{posterior}} =
  \frac{\overbrace{p(x | \theta)}^{\text{likelihood}}\;

Instead of overbraces, some integrals occur:

Bayes' theorem with wrong formatting

How do I fix this?

  • Are you sure you need MnSymbol?
    – Davislor
    Oct 18, 2020 at 17:01
  • @Davislor I have already decided I don't :) I just didn't like the product symbol with only Libertine & newtxmath and was trying out things. But I thought it'd make a useful answer anyway. Oct 18, 2020 at 17:07
  • Then this might be useful as well: tex.stackexchange.com/questions/174814/…
    – Davislor
    Oct 18, 2020 at 17:49
  • 1
    Thanks, I do in fact use a similar method described here: tex.stackexchange.com/a/246205/46356, with some tweaking for getting text and display variants right. Oct 18, 2020 at 17:53
  • MnSymbol is specific for use with Minion as text font.
    – egreg
    Oct 18, 2020 at 22:28

1 Answer 1


To work together correctly, newtxmath needs to be loaded before MnSymbol:


You must log in to answer this question.

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