使用希腊字母进行枚举的问题

使用希腊字母进行枚举的问题

这是我的代码:

\documentclass[12pt]{article}
\usepackage{enumerate}
\usepackage{enumitem}
\usepackage[utf8]{inputenc}
\usepackage[english,greek]{babel}

\begin{document}

    \begin{enumerate}[label=(\let\textdexiakeraia\relax\alph*)]
        \item 1
        \item 2
        \item 3
        \item 4
        \item 5
        \item 6
        \item 7
    \end{enumerate}

\end{document}

结果是这样的:

在此处输入图片描述

第 6 行中那个奇怪的符号可能应该是 (στ)。我真正想要的结果是这样的:

在此处输入图片描述

有任何想法吗?

答案1

有了它moreenum[label=(\greek*)]你就可以得到你想要的:

\documentclass[12pt]{article}
\usepackage{enumerate}
\usepackage{enumitem}
\usepackage{moreenum}
\usepackage[utf8]{inputenc}
\usepackage[english,greek]{babel}

\begin{document}

    \begin{enumerate}[label=(\greek*)]
        \item 1
        \item 2
        \item 3
        \item 4
        \item 5
        \item 6
        \item 7
    \end{enumerate}

\end{document}

答案2

计数器\alph样式使用老式的希腊字母编号。

您可以定义自己的\greekalph宏:

\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[english,greek]{babel}

\usepackage{enumitem}
\usepackage{multicol} % just for the example

\makeatletter
\newcommand{\greekalph}[1]{\expandafter\@greekalph\csname c@#1\endcsname}
\newcommand{\@greekalph}[1]{%
  \ifcase#1\or
  \textalpha\or\textbeta\or\textgamma\or\textdelta\or\textepsilon\or
  \textzeta\or\texteta\or\texttheta\or\textiota\or\textkappa\or
  \textlambda\or\textmu\or\textnu\or\textxi\or\textomicron\or\textpi\or
  \textrho\or\textsigma\or\texttau\or\textupsilon\or\textphi\or
  \textchi\or\textpsi\or\textomega\else\@ctrerr\fi
}
\AddEnumerateCounter{\greekalph}{\@greekalph}{\textomega}
\makeatother

\AtBeginDocument{\renewcommand{\textstigma}{\textsigma\texttau}}% no stigma

\begin{document}

\begin{multicols}{2}
\begin{enumerate}[label=(\let\textdexiakeraia\relax\alph*)]
\item 1
\item 2
\item 3
\item 4
\item 5
\item 6
\item 7
\item 8
\item 9
\item 10
\item 11
\item 12
\item 13
\item 14
\item 15
\end{enumerate}

\begin{enumerate}[label=(\greekalph*)]
\item 1
\item 2
\item 3
\item 4
\item 5
\item 6
\item 7
\item 8
\item 9
\item 10
\item 11
\item 12
\item 13
\item 14
\item 15
\end{enumerate}

\end{multicols}

\end{document}

在此处输入图片描述

相关内容