Skip to content

Instantly share code, notes, and snippets.

@Gro-Tsen
Created August 18, 2022 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gro-Tsen/24f539744632db80e000d37acb5c8939 to your computer and use it in GitHub Desktop.
Save Gro-Tsen/24f539744632db80e000d37acb5c8939 to your computer and use it in GitHub Desktop.
%% Compile with lualatex
\documentclass{standalone}
\usepackage{luatexbase-regs}
\usepackage{luatexbase-cctb}
\usepackage{fontspec}
%\usepackage[protrusion=true]{microtype}
\setmainfont[Ligatures={Required,Common,Contextual,TeX}]{Linux Libertine O}
\newfontfamily\scheherazadefont[Script=Arabic,Scale=1.4]{Scheherazade}
\begin{document}
\textdir TRT{\scheherazadefont\ %
أَلدِّينُ أَفْيُونُ ٱلشُّعُوبِ
}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment