我有以下使用 的 MWE counters
。我可以在哪个位置插入\stepcounter
始终在下一个项目中增加\enumerate
?我尝试过的所有位置都失败并出现\endcsname
错误。
\documentclass{article}
\usepackage{fontspec}
\newfontfamily\ngg{NewGardiner}
\newcounter{nw}
\setcounter{nw}{13000}
\renewcommand{\theenumi}{\ngg\symbol{"\the\value{\stepcounter{nw}}}}
\begin{document}
\begin{enumerate}
\item rozhodovat se na hraně zajímavého
\item vždycky to tam máš (data v matematice)
\end{enumerate}
\end{document}
答案1
\documentclass{article}
\usepackage{fontspec}
\usepackage{enumitem}
%I don't have this font and you want teh updated verison with Unicode ordering.
%\newfontfamily\ngg{NewGardiner}
\newfontfamily\ngg{Segoe UI Historic}
%you do not need a counter and want to start from 77824 not 13000
%\newcounter{nw}
%\setcounter{nw}{13000}
%\renewcommand{\theenumi}{\ngg\symbol{"\the\value{\stepcounter{nw}}}}
\begin{document}
\begin{enumerate}[start="13000,label={\ngg\symbol{\value{enumi}}}]
\item rozhodovat se na hraně zajímavého
\item vždycky to tam máš (data v matematice)
\item zzz
\item zzz
\item zzz
\item zzz
\item zzz
\item zzz
\item zzz
\end{enumerate}
\end{document}