4

I am trying to achieve:

enter image description here

However,

\documentclass[12pt]{article}
\usepackage[fullvoc]{arabxetex}
\newfontfamily\arabicfont[Script=Arabic]{Scheherazade-Regular.ttf}

\begin{document}

\begin{arab}
    humu al-hufseduna
\end{arab}

\end{document}

gives me:

enter image description here

(I am trying to get rid of the vowel on alif.)

  • Is there a reason you need to use arabxetex as opposed to using polyglossia and just entering the Arabic directly in your source? – Alan Munn Mar 20 '18 at 16:01
  • @Alan this is incomparably more convenient for me. – blackened Mar 20 '18 at 16:04
  • Fair enough. :) I don't know Arabic, but this is done at the mapping level. Would you consider this a bug (i.e., is the vowel on the alif inappropriate in full voclalization mode), or is this something "extra" that you need to do. – Alan Munn Mar 20 '18 at 16:23
  • @Alan (1) I am not sure whether it is not possible, or I am missing something in the manuals. (2) I would not call it a bug; just a missing feature. (3) To my extremely limited knowledge, this is a fairly common occurrence in Arabic. – blackened Mar 20 '18 at 16:52
4

I have found the solution. Type humu "A"l-mufsidUna The quotes suppress the diacritics on the alif.

You can find further information in section 4.1.3 of the ArabTeX manual which ArabXeTeX relies on.

\documentclass[12pt]{article}
\usepackage[fullvoc]{arabxetex}
\newfontfamily\arabicfont[Script=Arabic]{Scheherazade-Regular.ttf}

\begin{document}
    \begin{arab}
        humu "A"l-mufsidUna
    \end{arab}
\end{document}

Result: result

  • +1 Yes, this seems like a good answer. Perhaps you can edit your answer to put the code into the original minimal example and then show the resulting image. – Alan Munn Mar 20 '18 at 18:12
  • @EuklidAlexandria Thanks. I tried almost all combinations. Missed that one. – blackened Mar 20 '18 at 19:22
  • @blackened You're welcome. – EuklidAlexandria Mar 20 '18 at 19:24
  • @AlanMunn Thank you. Is it so ok? – EuklidAlexandria Mar 20 '18 at 19:25
  • Yes, perfect. Thanks! It makes other users see that the example works. And welcome to TeX.se! – Alan Munn Mar 20 '18 at 19:27

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.