I have a document in Hebrew which I render using babel
and now I want to add a table which includes text in Hebrew. While the entire document renders ok, in this case the text is rendered in the wrong direction (left to right instead of right to left).
I would appreciate any help (I'm also flexible moving from babel
as long the new package is supported by Overleaf).
\documentclass{article}
\usepackage[utf8x]{inputenc}
\usepackage[english,hebrew]{babel}
\selectlanguage{hebrew}
\usepackage[top=2cm,bottom=2cm,left=2.5cm,right=2cm]{geometry}
\begin{document}
\begin{center}
\begin{tabular}{||c |c||}
\hline
טור 1 & טור 2 \\[0.5ex]
\hline\hline
1 & 6 \\
\hline
\end{tabular}
\end{center}
\end{document}