Is it impossible to insert the mathematical symbol \times
when using the arabi
package?
After compiling
A\times B
it becomes AB
and the sign \times
disappears
See the example below.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[LFE,LAE,OT1]{fontenc}
\usepackage[farsi,english,arabic]{babel}
\begin{document}
\selectlanguage{farsi}
سلام
$A\times B$
\end{document}
Best Answer
I don't know whether this fact is documented (I can't see it in the manual, though), but the
arabicfnt.sty
that's automatically loaded haswhich explains the mystery.
You can solve the problem by adding to your document
and using
\mtimes
for the product symbol. If you want to use\times
for the symbol, you have to rename the font changing command (or leave it out altogether):Note that a similar problem happens for
\omega
, so either you doand use
\momega
for the Greek letter, or rename the font command