本地化附录编号?

本地化附录编号?

我正在使用XeLaTeXfontspec我编写俄语文档并获取用拉丁字母编号的附录:

\documentclass{article}

\usepackage{fontspec} % enables loading of {True/Open}Type fonts
\usepackage{polyglossia} % support for languages

% fonts:
\defaultfontfeatures{Scale=MatchLowercase, Mapping=tex-text} % without this XeLaTeX won't turn "--" into dashes
\setmainfont{DejaVu Sans}
\setsansfont{DejaVu Sans}
\setmonofont{DejaVu Sans Mono}

% Russian/English document:
\usepackage{xecyr}
\newfontfamily\cyrillicfont{DejaVu Sans}

\setmainlanguage{russian} % \setdefaultlanguage{russian} is obsolete and not needed
\setotherlanguage[variant=american]{english}

\begin{document}

\tableofcontents

\section{h1}

\subsection{h2}

\appendix

\section{a1}

\section{a2}

\section{a3}

\end{document}

我怎样才能用俄文字母给它们编号?

答案1

使用加载主语言

\setmainlanguage[numerals=cyrillic]{russian}

在此处输入图片描述

相关内容