
正如您所见,它是相反的......
以下是 MWE:
\documentclass[hebrew,english]{scrartcl}
\usepackage{fontspec}
\makeatletter
\newfontfamily\hebrewfont[Script=Hebrew]{Arial}
\newfontfamily\hebrewfonttt[Script=Hebrew]{Arial}
\newfontfamily\hebrewfontsf[Script=Hebrew]{Arial}
\usepackage{skak}
\makeatother
\usepackage{polyglossia}
\setdefaultlanguage{hebrew}
\setotherlanguage{english}
\begin{document}
\newgame
\showboard
\par
\end{document}
你知道如何正确显示棋盘吗?(用希伯来语或其他 RTL 文档)。
谢谢你!
答案1
您可以将棋盘包裹在\begin{english}
和中\end{english}
。
\documentclass[hebrew,english]{scrartcl}
\usepackage{fontspec}
\makeatletter
\newfontfamily\hebrewfont[Script=Hebrew]{Arial}
\newfontfamily\hebrewfonttt[Script=Hebrew]{Arial}
\newfontfamily\hebrewfontsf[Script=Hebrew]{Arial}
\usepackage{skak}
\makeatother
\usepackage{polyglossia}
\setdefaultlanguage{hebrew}
\setotherlanguage{english}
\begin{document}
\begin{english}
\newgame
\showboard
\par
\end{english}
\end{document}