<div dir="ltr">but can you tell me why this does not work:<br><br>%%%%%%%%%%%%%%%%%%%%%%%<br>\newif\if@RTL<br>\if@RTL\pagedir TRT \bodydir TRT \pardir TRT \textdir TRT \else \pagedir TLT \bodydir TLT \pardir TLT \textdir TLT \fi<br>
\def\setRTL{\@RTLtrue}<br>\def\setLTR{\@RTLfalse}<br>%%%%%%%%%%%%%%%%%%%%%%%<br></div>