I am trying to write a Hebrew article using Texpad editor in macOS, However, I encounter the following problems:
The text I type is written 'left to right' how do I change to 'right to left'?
How do I choose the font for my pdf doc? is there a possibility to check what fonts are available?
\documentclass[12pt]{article}
\usepackage{fontspec}
\usepackage{ragged2e}
\setmainfont{David}
\title{The title}
\date{}
\begin{document}
\maketitle
\fontspec{David}
Test Test Test
\newline
ניסון ניסון ניסון
\end{document}
fontspecpackage, see the manual. For checking which fonts are available you can use the font tools of the OS, for example Font Book for Mac. – Marijn Apr 05 '20 at 19:09\documentclassand ends with\end{document}and it can be compiled without errors. This will make it much easier to identify what needs to be added to make the text RTL. – Marijn Apr 05 '20 at 19:40editlink below the question text to add things to the question. – Marijn Apr 05 '20 at 20:21