7

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?

  • If this is a one-off, the easy thing to do would be \stepcounter{enumi} before item 6. But are you looking for a more robust solution? Also, could you turn your example into something more complete by including everything we'd need to compile? – Teepeemm Dec 5 '16 at 17:19
  • I just added the packages – Yhprums Dec 5 '16 at 18:08
  • Perhaps you want to try out this answer? – Henri Menke Dec 5 '16 at 18:08
  • I want to do it without a loop. – Yhprums Dec 5 '16 at 18:11
  • Given that the standard numbering has a stigma for six (sometimes rendered as “στ”, will your readers interpret ζ like six or seven? – egreg Dec 5 '16 at 18:24
5

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}
  • 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
5

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.