The following LaTeX document was saved at ~/test.tex
.
\documentclass{beamer}
%\usepackage[bidi=basic]{babel}
%\babelprovide[main, import]{hebrew}
%\babelfont{sf}{FreeSans}
\usetheme{Madrid}
\title{Title}
\date{2022}
\begin{document}
\frame{\titlepage}
\end{document}
Then the following command was executed in the Terminal:
lualatex ~/test
Consequently, the file ~/test.pdf
was created. When opened in a PDF viewer, the file displayed as follows.
I then uncommented the three commented lines to set the presentation's language to Hebrew. When I now ran lualatex ~/test
, the file ~/test.pdf
was recreated. When opened in a PDF viewer, the file now displayed as follows.
Note that Hebrew is a right-to-left language, so the reverse order of the items in the bottom of the slide is correct. But why is the title off-kilter? How can I fix this?
\documentclass{beamer-rl}
.