I am using the following code to write a leaflet with two languages:
\documentclass[10pt,foldmark,notumble]{leaflet}
\renewcommand*\foldmarkrule{.3mm}
\renewcommand*\foldmarklength{5mm}
% Set language here
\usepackage{polyglossia}
\setmainlanguage{english}
%\setotherlanguage[locale=mashriq, numerals=maghrib]{arabic} % <------ ERROR
\setmainfont{Times New Roman}
\newfontfamily\arabicfont[Scale=1, Script=Arabic]{Traditional Arabic}
\usepackage{lipsum}
\usepackage{comment}
\usepackage{float}
\newcommand*\defaultmarker{\textsuperscript\textasteriskcentered}
\CutLine*{1}%
\CutLine*{6}%
\begin{document}
\section{Abstract}
This is the abstract which is good \arabicfont{ (مثال عن العربية)} The rest of the abstract is here..
\section{Background}
\lipsum[1]
\section{Objectives}
\lipsum[1]
\end{document}
I am accustomed to use the language section above in other documents and it works fine. But here in the leaflet class, whenever I use the \setotherlanguage{arabic}
it gives an error.
In its current state, the arabic words are left-to-right, and they should be RTL. polyglossia
package usually allows me to use:
\begin{Arabic}
...نص عربي هنا...
\end{Arabic}
But it does not work here either.. What can I do to write in two languages in the leaflet
class?