I am trying to use expex for interlinear glossing with the main text in a RL language (Arabic) but the free text in a LR language (English). As you can see from the output, the RL language formatting is taking over the formatting of the free text. How do I get expex to use LR for the free text only?
\documentclass[12pt]{article}
% extra packages
\usepackage[margin=0.5in]{geometry}
\usepackage{expex}
\usepackage{polyglossia}
% dimensions
\newlength{\defparindent}
\setlength{\defparindent}{\parindent}
\setlength{\parindent}{0pt}
% custom ling styles
\definelingstyle{Text}{aboveexskip=0pt,belowexskip=0pt,
belowglpreambleskip=0pt,aboveglftskip=0pt,glwordalign=left,
glftpos=right,glhangstyle=none,ssratio=.60,
everygla=\arabicfont}
% font
\newfontfamily\arabicfont[Script=Arabic]{Scheherazade}
\pagestyle{empty}
\setmainlanguage{english}
\setotherlanguage{arabic}
\begin{document}
\exdisplay[lingstyle=Text]
\begin{Arabic}
\begingl
\gla
اِسْمي هَيْشم نَجّار. طالِنٌ في كُلًِيَّةِ العُلومِ في جامِعَةِ دِمَشْق. في
//
\glb
Name Haisham Najjar Student in college science at University Damascus In
//
\glft
My name is Haisham Najjar. I am a student in the college of science
at Damascus University.
//
\endgl
\end{Arabic}
\end{document}
\begin{arabic}
and\end{arabic}
. You could useparacol
instead of\glft
and define all theparacol
stuff separately. As a side note, for now, addeveryglft=\raggedleft
to yourlingstyle
so that your\glft
is properly aligned. I'll add a MWE below.