Closed seloumi closed 1 year ago
Using lscape or pdflscape with the Landscape environment on a TRT page causes the contents of the environment to appear out of page.
lscape
pdflscape
Landscape
Patching of \LS@rot command solves the problem, please Javier look to the patching if it is possible to add it with layouts, thanks.
\LS@rot
\documentclass{article} \usepackage{lscape} \usepackage[bidi=basic]{babel} \babelprovide[import, main]{arabic} \babelfont{rm}{Amiri} \parindent=0pt \makeatletter \def\LS@rot{% \setbox\@outputbox\vbox{\hbox dir TLT{\rotatebox{90}{\box\@outputbox}}}} \makeatother \begin{document} Test \begin{landscape} \Huge Test \end{landscape} \end{document}
Using
lscape
orpdflscape
with theLandscape
environment on a TRT page causes the contents of the environment to appear out of page.Patching of
\LS@rot
command solves the problem, please Javier look to the patching if it is possible to add it with layouts, thanks.