https://ctan.math.illinois.edu/macros/unicodetex/latex/quran/doc/quran-doc.pdf
上面的文档 2.11 中说你可以排版大段的经文。但我不能……
\documentclass{extreport}
\usepackage{geometry}
\usepackage{paracol}
\usepackage{quran}
\usepackage{polyglossia}
\usepackage{fontspec}
\usepackage{bidi}
\geometry{ a4paper, left=10mm, right=10mm, top=20mm, bottom=10mm }
\setotherlanguage{arabic}
\setlength{\columnseprule}{2.4pt}
\setlength{\parindent}{0em}
\newlength \lead
\setlength \lead {16pt}
\setlength \topskip \lead
\setlength \parskip {0pt}
\newfontfamily{\turkishfont}{Garamond}
\begin{document}
\begin{paracol}{2}
\LARGE
\setRTL
\setmainfont{Scheherazade}
\ToggleAyahNumber
\textarabic{
\quranayah[1][1-4]~\\
\quranayah[1][5]
\quranayah[1][6]
\quranayah[1][7]~\\
\quranayah[1][7][2-2] %as an example: this line doesn't working
}
%%%%%%%%%%%%%%%%%%%%%%%%%
\setLTR
\switchcolumn
%%%%%%%%%%%%%%%%%%%%%%%%%
\LARGE
\begin{turkishfont}
adına Allah'ın Rahman'ın Rahim'in\\
övgü; alemlerin rabbi olan ilahın\\
Rahman'ın Rahim'in\\
hesap günü onun yetkesinde\\
yalnız sana köleyiz\\
yalnız senden yardım isteriz\\
yönelt bizi doğru yola\\
ihsan ettiklerinin yoluna\\
azap ettiklerinin ve kaybolanların değil\\
\end{turkishfont}
\end{paracol}
\end{document}
答案1
来自Quran
包装手册
从 1.6 版开始,如果加载了 wordwise 选项,该包不仅能够排版整个 ayah,而且能够排版 ayah 的任何部分
因此,您需要使用wordwise
如下选项加载包\usepackage[wordwise]{quran}