3

I am using the xepersian package in Texstudio. The logical way of writing maths in Persian in Tex is that one writes in persian and when they press dollar, the font switches automatically to English. By the second dollar at the end of the formula it switches again to Persian. In my case, when I am pressing shift and four for the dollar, it actually types the persian currency, Rial, in persian. So each time to go to math mode, I should press shift and alt to change the langugage, then press dollar and type the formula, and then again switch to persian. I will appreciate if any one can help me out of this.

  • 1
    I would expect to have the reverse direction to be a feature request but apparently they think differently. – percusse Aug 19 '14 at 15:39
  • 1
    It seems to be a problem with the keyboard configuration. Sometimes it happens to me in Spanish and English, but I'm not sure how works the keyboard map in Persian. – Aradnix Aug 19 '14 at 16:14
  • 1
    Interesting issue. As a workaround for now, I would recommend you make (or find) some sort of keyboard shortcut to insert the $*$ snippet, if possible. Even if you fix this, you will then come against the complementing issue of inserting a Rial in text. – Sean Allred Aug 19 '14 at 17:09
4

use ctrl+shift+M for $*$ snippet.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.