在棋盘包中我尝试过但没有成功boardfontfamily={DejaVu Sans}
,但我不得不听说这不是一个“字体系列名称”。
那么,找出字体的字体系列名称的一般方法是什么?
% arara: lualatex
\documentclass[margin=5mm, varwidth]{standalone}
%\usepackage{fontspec}% I do not need the whole document in 'DejaVu Sans';
%\setmainfont{DejaVu Sans}% however it has no effect too
\usepackage{chessboard}
\usepackage{skak}
\setchessboard{
showmover=false,
% Some tests:
%boardfontfamily={DejaVu Sans}% no effect
%boardfontfamily={dejavu},% no effect
%boardfontfamily=DejaVuSans, % no effect
%boardfontfamily=DejaVuSans-Bold,% no effect
%boardfontfamily=DejaVuSans-Bold-tlf-il2.ttf% no effect
}
\begin{document}
\newgame
\chessboard[]
\end{document}