Is it possible to use cmbright with xelatex for both math and text?

The way to use it in the text is here

Use cmbright with unicode text under XeLaTeX

But the math still appear in usual latin form. COuld you help me?


  • 1
    Did you try adding \usepackage{cmbright} before \usepackage{fontspec}? – egreg Sep 12 '14 at 10:43
  • That's the problem! Lyx insert \usepackage{fontspec} before the preambule... – Fabien Sep 12 '14 at 10:48
  • Anyway for non-Lyx users, I've exported my lyx document to latex and switched the ordering of the two packages and it works pefectly – Fabien Sep 12 '14 at 10:52
  • 3
    One of the reason I don't recommend using LyX is because it does what its programmers want, not what the user wants. – egreg Sep 12 '14 at 10:52
  • Ok, better not to start this discussion :) Thanks anyway – Fabien Sep 12 '14 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.