0

In some languages (I mean persian or arabic) one character may has different shapes according to the next character. For example "به " and "ب ", in first one ب has one shape and in second another shape.

I need ب in its connected shape but no character must appear after it. I already test \phantom and some other tricks but none of them works.

Sebastiano
  • 54,118
  • 1
    In LuaTex "\char 65169" solves the problem. 65169=FE91, for more information see http://tex.stackexchange.com/questions/34604/entering-unicode-characters-in-latex and https://en.wikipedia.org/wiki/Arabic_script_in_Unicode . – Abdollah Apr 05 '17 at 17:15

1 Answers1

1

There is a character on the Arabic Keyboard ـ it is on Shift+J (on my keyboard). It sets the character ARABIC TATWEEL U+0640 which allows you to have all characters in connected form like بـ or ـه .

I know that this character has also another purpose but I have seen it used in books precisely to achieve what you are looking for (and also this is how I usually do it).