I use Lyx in Hebrew, which means regular text is written in Hebrew, but equations are of course written in English. I used to have an installation, which (I believe by accident during installation process) every time I entered any equation environment, my language was auto-set to English. Then, returning to regular text it was again auto-set to Hebrew.

This was very convenient, as it saved me the trouble of changing languages all the time, and of course there is zero use of Hebrew in math except Aleph for cardinality.

I now wonder whether there is a more conventional way to achieve this without trying to make random mutations to Lyx installation processes. Thanks!

  • This might be slightly related to the following recent feature request regarding Hebrew and language switching: lyx.org/trac/ticket/10514
    – scottkosty
    Commented Dec 7, 2016 at 22:55
  • Thanks, but these are two separate issues - one is direction of writing (RTL vs LTR), which indeed is annoying, and here it is about actually autoswitching the language itself inside math env.
    – Yoni
    Commented Dec 8, 2016 at 0:57
  • In my installation of TeXlive, the switching is done automatically. See my answer here.
    – A Gold Man
    Commented Aug 14, 2017 at 17:20
  • @AGoldMan how is this a duplicate when my question was from 11 months ago and your referred to one from 4 months ago?
    – Yoni
    Commented Nov 21, 2017 at 15:43


Browse other questions tagged .