8

The document is compiling in Xelatex and the whole document is Persian using the package xepersian. The footnotes are all in English but they are aligned right and the numbers are persian. I want the footnotes to be aligned at the left side of the document and the numbers of them to be in English. Note that just the numbers at the bottom of the page should be in English, the numbers referring them in the text should be Persian.

1
  • Since you have a response below that seems to answer your question, please consider marking it as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). If it does not answer your question, please consider adding some more information how the answer could be improved to suit your question. Commented Dec 1, 2012 at 22:13

3 Answers 3

7

You can use the \LTRfootnote command to set the footnote alignment from left to right. Just keep in mind that this command does not change numbers to the Latin format.

2

use ‍پانویس and زیرنویس

for example:

\documentclass{article}
\usepackage{xepersian}
\begin{document}
‫یک مثال از پانویس\پانویس{left to right} و یک مثال از زیرنویس\زیرنویس{از راست به چپ}
\end{document}

pdf

4
  • 2
    Maybe you could expand that with some TeX code. A complete minimal example is usually more helpful.
    – mafp
    Commented Oct 6, 2013 at 7:51
  • زیرنویس and پانویس is commands of xepersian.
    – seyed
    Commented Oct 6, 2013 at 15:19
  • 1
    Yes, I figured that from the backslashes ;-) But it is still no complete minimal example, and that is what I meant with "some TeX code".
    – mafp
    Commented Oct 6, 2013 at 15:55
  • 1
    This solution seems not working when we use \documentclass{report}
    – Pedram
    Commented May 3, 2015 at 22:24
1

Here is an example:

\documentclass[a4paper,12pt]{article}
\usepackage{ptext}
\usepackage{lipsum}
\usepackage{xepersian}
\settextfont{Yas}
\makeatletter
\renewcommand{\@makefntext}[1]{\parindent 1em
   \noindent\hbox to 1em{}% if you want to indent footnote text you can change the width of the hbox (e.g. \hbox to 2em{})
   \llap{\if@RTL\else\latinfont\fi\@thefnmark)\,\,}#1}
\makeatother
\begin{document}
\ptext[1]\footnote{\ptext[1]}\LTRfootnote{\lipsum[1]}
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .