<div dir="ltr">one more question, why if I use \setRTL at the beginning of the document it does not works which is defined as<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><br>but if I just say \pagedir TRT \bodydir TRT \pardir TRT \textdir TRT at the beggining of a document, it works.<br><br>Should not these two work the same?<br></div>