11

So this is my code:

\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}

The outcome is this:

enter image description here

That weird symbol in line 6 is probably supposed to be (στ). What I really want as an outcome is this:

enter image description here

Any ideas?

Werner
  • 603,163
Yhprums
  • 375

2 Answers2

11

The \alph counter style uses the old fashioned Greek alphabetic numbering.

You can define your own \greekalph macro:

\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}

enter image description here

egreg
  • 1,121,712
10

With moreenum and [label=(\greek*)] you should get what you want:

\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}
chandra
  • 230
  • Cool but the package gets capital $\eta$ wrong - should be (uppercase/lowercase) Η/η whereas it gives the capitalization as "E", duplicating $\Eplison$. – Joe Corneli Dec 12 '18 at 16:51
  • The problem I am facing is the entire document turns into Greek letters! – hola Jun 15 '21 at 18:58
  • The solution from @chandra works just fine but you need to reverse Greek and English to prevent your document having only Greek letters. \usepackage[greek,english]{babel} It looks like LaTeX understands it like "I will first load greek letters and then the English letters. By doing so I will overwrite all the previously loaded letters." – Thibaud Rivet May 11 '23 at 08:26