Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
    
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. –  brian-ammon Dec 1 '12 at 22:13
add comment

2 Answers

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}
share|improve this answer
add comment

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

for example:

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

pdf

share|improve this answer
1  
Maybe you could expand that with some TeX code. A complete minimal example is usually more helpful. –  mafp Oct 6 '13 at 7:51
    
زیرنویس and پانویس is commands of xepersian. –  seyed Oct 6 '13 at 15:19
    
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 Oct 6 '13 at 15:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.