Marei on Nostr: npub14ee9q…257wn Generally \usepackage[bidi=bidi, english]{babel} ...
npub14ee9qyhjsdh6z9ujddp3y8gukcq829jx3x4fdp4ejvmdg5yx084sw257wn (npub14ee…57wn)
Generally
\usepackage[bidi=bidi, english]{babel}
\babelprovide[import=fa]{farsi}
\babelfont[farsi]{rm}{Nazli.ttf}% or arnother font supporting it. using xelatex or lualatex.
You then still have to select the farsi parts using otherlanguage to separate them from the macros.
Generally
\usepackage[bidi=bidi, english]{babel}
\babelprovide[import=fa]{farsi}
\babelfont[farsi]{rm}{Nazli.ttf}% or arnother font supporting it. using xelatex or lualatex.
You then still have to select the farsi parts using otherlanguage to separate them from the macros.