24

For instance, in Welsh the alphabet starts a, b, c, ch, d, dd, etc.

Is there a way to automatically alter the ordering of lists to match this?

1 Answer 1

22

You could define a command for this purpose. Use that command in defining the label. Here's an example:

\documentclass{article}
\makeatletter
\newcommand*\welsh[1]{%
  \ifcase#1\or a\or b\or c\or ch\or d\or dd\or ... \else\@ctrerr\fi}
\newcommand*\Welsh[1]{%
  \ifcase#1\or A\or B\or C\or ... \else\@ctrerr\fi}
\makeatother
\renewcommand*{\theenumi}{\welsh{\value{enumi}}}
\renewcommand*{\labelenumi}{(\theenumi)}
\begin{document}
\begin{enumerate}
\item One
\item Two
\item Three
\item Four
\item Five
\item Six
\end{enumerate}
\end{document}

Output:

alt text

1
  • That does the trick perfectly. Diolch yn fawr! Aug 11, 2010 at 18:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .