I recently started using LYX and it's GREAT! I have configured it for using Hebrew and everything works fine except I can't write in Hebrew inside formulas normally. In the equations it won't let me change language in lyx (even when I use \text) and if I do the forbidden act of changing the language in Windows it write from LTR instead of RTL. I wanted to know if there is a simple way to deal with this problem? Thanks in advance for any help available!

  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.
    – cfr
    Commented Nov 29, 2014 at 0:46
  • What exactly should the result be? Suppose I have this in English: i.sstatic.net/pfvqF.png. What should happen in Hebrew? Are the symbols different? Do they get reversed? I'm not sure how you could mix LTR with RTL on one line, so I'm wondering if there are RTL systems of mathematical notation? Or...?
    – cfr
    Commented Nov 29, 2014 at 0:53
  • In Hebrew we write the math from left to right and the Hebrew from left to right. If I were to write the word "where" from your example in Hebrew ( "כאשר"), because Hebrew is written from left to right, it would write "רשאכ" the equivalent of "erehw" in English. Again that only happens when I change the language through Windows (which makes all sorts of problems and I've been told not to do). If I change the language through LYX it just throws me out of the formula.
    – Oha Noch
    Commented Nov 29, 2014 at 14:53
  • Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. [For one thing, some of us cannot just make up some Hebrew to experiment with. For another, it may matter how exactly you are typesetting the language.] I'm not sure, but I don't think that LaTeX can switch directions mid-paragraph. But I'm not at all certain of this.
    – cfr
    Commented Nov 29, 2014 at 16:24

1 Answer 1


When setting up typesetting Hebrew using XeTeX in Lyx, it is possible to write Hebrew inside formulas. The Hebrew will look reversed in LyX but will look fine in the output.

  • 1
    Is there a bug report with a minimal example for the incorrect LyX display? If not can you make one at lyx.org/trac ? We would like to correct the problem but without an example it is difficult.
    – scottkosty
    Commented May 14, 2016 at 22:50
  • 1
    I've updated lyx.org/trac/ticket/7207 with a minimal working example.
    – Guy
    Commented Jul 15, 2016 at 7:14

You must log in to answer this question.

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