<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>