<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass{minimal}
\usepackage{arabxetex} % default option is "novoc"
                       % other options are "voc", "fullvoc", "utf" and "trans"
% arabxetex loads bidi.sty and fontspec.sty		       
 
\newfontfamily\arabicfont[Script=Arabic]{Amiri}
% you can also define \farsifont, \uighurfont, etc if you want
\begin{document}
This is some text in English with Arabic insertion \textarab{`arabI}.

This is some text in English with Arabic insertion \textarab[utf]{ŘąŘ±Ř¨ŮŠ}.

This is some text in English with Arabic insertion \textarab[voc]{`arabI}.

\begin{arab}
wa-ha_dihi fiqraT"uN bi-al-`arabiyaT ma`a kalimaT inklIziyaT (\textLR{English}).
\end{arab}

\begin{arab}[utf]
ŮŮ‡Ř°Ů‡ ŮŮ‚Ř±Ř©ŮŚ Ř¨Ř§Ů„ŘąŘ±Ř¨ŮŠŘ© Ů…Řą ŮŮ„Ů…Ř© Ř§Ů†ŮŮ„ŮŠŘ˛ŮŠŘ© (\textLR{English}).
\end{arab}

\begin{arab}[novoc]
ŮŮŽŮ‡ŮŽŘ°ŮŮ‡Ů ŮŮŮ‚Ř±ŮŽŘ©ŮŚ Ř¨ŮŘ§Ů„ŘąŮŽŘ±ŮŽŘ¨ŮŮŠŮŽŘ© Ů…ŮŽŘąŮŽ ŮŮŽŮ„ŮŮ…ŮŽŘ© Ř§ŮŮ†ŮŮ„ŮŮŠŘ˛ŮŮŠŮŽŘ© (\textLR{English}).
\end{arab}
\end{document}
</pre></body></html>