My language (Slovenian) uses a different alphabet that starts with a, b, c, č, d. I have the correct babel
settings but \alph{}
numbering still gives me a, b, c, d.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[slovene]{babel}
\renewcommand\thesection{\alph{section}}
\begin{document}
\section{}
\section{}
\section{}
\section{}
\end{document}
Best Answer
The following example redefines
\alph
/\Alph
according to the Slovene alphabet. The original definition of the internals\@alph
and\@Alph
can be found in the LaTeX kernel (source documentation).Remarks:
Instead of
č
the definition uses the form\v c
, which is called the LaTeX internal character representation (LICR). It has the advantage that it works independent on the input encoding.I would recommend
\usepackage[T1]{fontenc}
with\usepackage{lmodern}
instead of the oldOT1
font encoding with Computer Modern fonts, where the accented letters are constructed of the base character with the accent.T1
encoding contains slots for the accented characters and the Latin Modern fonts extends the Computer Modern fonts with many accented characters as single glyphs.