My question is: how can I highlight specific letters or "accents" of arabic text, without disrupting the connection of the letters? For example, see the gray highlighted text (this was edited in gimp):
My requirements:
- the text must be able to include English, Greek and Arabic text
- must be able to do the actions in a
tabularenvironment - should compile with xelatex. I can drop this if the alternative is simple enough use
polyglossiaand\textarabic. I can drop this and usearabxetexif the alternative is simple enough
What I have tried:
- example to do this in math mode didn't work
- stackengine not sure how to put multiple stacks manually over several parts of the table
Happy to get instructions for stackengine (with manual labor to place the tikz fills) or a different way of accomplishing this.
Minimal example with arabic text to experiment with:
\documentclass[a4paper]{article}
\usepackage[cm-default]{fontspec}
\setmainfont[Mapping=tex-text]{DejaVu Sans}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.5]{Droid Arabic Naskh} % arabic font
\usepackage{polyglossia}
\setmainlanguage{english}
\setotherlanguage{arabic}
\begin{document}
\section*{Verbs - Ρήματα}
\begin{tabular}{ c c c c }
\textarabic{ المُفاعَلة } & \textarabic{ يُفَعِّلُ } & \textarabic{ فاعَلَ } & 3 \\
\end{tabular}
\end{document}

\textarab{yufa``ilu}– vkats Feb 26 '17 at 08:56