Highlight with package soul
Closed this issue · 1 comments
Elfengour commented
Highlighting text is not working properly for RTL with \usepackage{soul}
, is there an alternative for this amazing tool?
\documentclass{beamer}
\usepackage{soul}
\makeatletter
\let\HL\hl
\renewcommand\hl{%
\let\set@color\beamerorig@set@color
\let\reset@color\beamerorig@reset@color
\HL}
\makeatother
\begin{document}
\begin{frame}
\begin{block}{P1}
Some \hl{العربية} here
\end{block}
\end{frame}
\end{document}