0

How can I align Beamer Section to the right RTL. I have tried this code but could not figure it out. See attachment: enter image description here

Here is my code

\documentclass[xcolor=dvipsnames,svgnames,table]{beamer}
\usepackage{colortbl}
\usepackage[skins]{tcolorbox}
\usepackage{multicol}
\usepackage{polyglossia}
\setdefaultlanguage[numerals=maghrib]{arabic}
\setotherlanguage{english}
\newfontfamily\arabicfontsf[Script=Arabic,Mapping=arabicdigits]{Scheherazade}
\newfontfamily\arabicfont[Script=Arabic,Mapping=arabicdigits]{Scheherazade}
\setRTL   

\usetheme[progressbar=frametitle]{metropolis}
\setbeamertemplate{frame numbering}[fraction]
\useoutertheme{metropolis}
\useinnertheme{metropolis}
\usefonttheme{metropolis}
\usecolortheme{spruce}
\setbeamercolor{background canvas}{bg=white}
\usecolortheme[named=Red]{structure}
\setbeamercolor{progress bar}{fg=Mahogany}
\setbeamercolor{title}{bg=Mahogany}
\makeatletter
\makeatother
\setbeamerfont{frametitle}{size=\Huge,series=\bfseries}
\setbeamertemplate{frame numbering}{
\inserttotalframenumber/\insertframenumber
}
\setRTL   
\raggedleft

\begin{document}
\begin{frame}
 \huge
 \titlepage
\end{frame}
\section{القسم الثاني}

\begin{frame}[t]{الأول}

\end{frame}

\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.