Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A test for tricky aspects of Hebrew font design (see http://digitalwords.net/fontim)
\documentclass{standalone}
\pagestyle{empty}
\usepackage{fontspec}
\usepackage[RTLdocument]{bidi}
\newcommand{\sentence}[2]{
\fontspec[Script=Hebrew]{#1}#2: &
\fontspec[Script=Hebrew]{#1}בִּשְׁמוֹת פר׳ י״ג פס׳ י״ב נִכְתַּב: &
\fontspec[Script=Hebrew]{#1}„[…] בֶּעָשֹׂר [‚בעשׂור’ בִּכְתִיב מָלֵא] לַחֹדֶשׁ הַזֶּה […]”. &
\fontspec[Script=Hebrew]{#1}אַחַת הַמִּצְוֺת הִיא לֶאֱכֹל מַצּוֹת. &
\fontspec[Script=Hebrew]{#1}„‚אח״כ’” &
\fontspec[Script=Hebrew]{#1}נעל־בית &
\fontspec[Script=Hebrew]{#1}יְרוּשָׁלִַם\\}
\begin{document}
\begin{tabular}{rrrrrrr}
\sentence{SBL Hebrew}{סבּ״ל עִבְרִית}
\sentence{Alef}{אָלֶף}
\sentence{Rutz_OE Regular Pro}{רָץ (וֶסְפֶּר עִבְרִי)}
\sentence{PragmataPro}{פְּרַגְמָטָה פְּרוֹ}
\sentence{David CLM}{דָּוִד קֻלְמוּס}
\sentence{Taamey David CLM}{טַעֲמֵי דָּוִד קֻלְמוּס}
\end{tabular}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment