2

I should write several Persian latex documents. So I need upload a Persian font and use it. Is there a way to upload the font just once. Is there another online LaTeX editor which provide this? Here is a simple of my code.

\documentclass{article}
\usepackage{xepersian}
\usepackage{fontspec}
\settextfont[
  Extension=.ttf,
  UprightFont={*},
  BoldFont={*Bd},
  ItalicFont={*It},
  BoldItalicFont={*BdIt},
]{XB Niloofar}
\begin{document}
.در برسی حرکت هر ذره باید یک چارچوب مرجع تعین کنیم
\end{document}

My fonts are "XB Niloofar" , "XB NiloofarBd", "XB NiloofarIt", XB NiloofarBdIt".

6
  • You need to have the fonts present at your project folder. So if you upload it once, it would be there until you remove it. What do you mean just once? Do you mean for different projects?
    – NEO
    Feb 1, 2016 at 15:12
  • @NEO Yes. Each project want fonts separately. Feb 1, 2016 at 15:14
  • Each project is completely separated on sharelatex and you cannot share a file among them, which makes sense. So you need to upload your fonts for each project separately.
    – NEO
    Feb 1, 2016 at 15:18
  • 1
    This is something we (ShareLaTeX) are going to look at in 2016. Feb 12, 2016 at 17:22
  • 4
    I’m voting to close this question because the request was recorded by ShareLaTeX staff and, as of now, ShareLaTeX has merged with overleaf Apr 22, 2020 at 14:20

0

Browse other questions tagged .