When I'm inside latin
environment, I'm unable to change footnote mark from Arabic style to Persian(Arabic-Indic) style.
Here is the code I use:
\documentclass[a4paper, 12pt]{article}
%packages:
\usepackage{caption}
\usepackage{subcaption}
\usepackage{graphicx, float}
\usepackage{amsmath, amsfonts, amssymb}
\usepackage[table]{xcolor}
\usepackage{xepersian}
% fonts
\settextfont{HM FElmi}
\setlatintextfont{FreeSerif}
\defpersianfont\Bismillah[Scale=14]{A_Bismillah}
\setpersiansansfont[Scale=1]{HM FElmi}
\begin{document}
سلام
\footnote{
در این جا مشکلی وجود ندارد
}
\vspace{\fill}
\begin{latin}
Translate
\RTLfootnote{ترجمه}
\end{latin}
\end{document}
And the result looks like this:
As you can see the second footnote mark is in Arabic style which is not desired. How can I change it to Persian style?
I think of some commands such as \roman{}
, \arabic{}
and so on, does any such command exists in XePersian
package to get rid of this problem?