I am having issues with square brackets, parentheses, etc. in Arabic environment with unicode input. I appreciate any help: Here is a MWE:

        هَيَّا (نَنْزِلْ) إِلَيْهِمْ وَنُبَلْبِلْ \abraces{لِسَانَهُمْ}، حَتَّى لَا <يَفْهَمَ> [بَعْضُهُمْ] كَلامَ بَعْضٍ.%

    hayyA (nanzil) 'ilayhim wa nubalbil \abraces{lisAnahum}, .hattY lA <yafhama> [b`.duhum] kalAm ba`.diN. 

enter image description here


The txarab environment does not call the functions that process braces and parentheses, contrary to arab. So this will work:

        هَيَّا (نَنْزِلْ) إِلَيْهِمْ وَنُبَلْبِلْ \abraces{لِسَانَهُمْ}، حَتَّى لَا <يَفْهَمَ> [بَعْضُهُمْ] كَلامَ بَعْضٍ.%

That said, it is advisable not to use arab with Unicode Arabic, except in cases like this one, of course.

  • Thank you so much! Important exception to note. – yacine Apr 27 at 10:10
  • You are welcome. As a general principle, arab should only be used with unicode input when such functions as this one are needed. – Robert Alessi Apr 27 at 18:47

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.