66

Is it possible to set the environment in such a way that sections are indexed with numbers, and subsections with letters?

I mean, I'd like to have the following result:

1 First section

1.a First subsection

1.b Second subsection

...

2 Second section

2.a First subsection

2.b Second subsection

...

0

1 Answer 1

98

Redefine \thesubsection as \thesection.\alph{subsection}. (\alph replaces the default \arabic; you could also choose, e.g., \Alph, \roman, and \Roman.)

\documentclass{article}

\renewcommand{\thesubsection}{\thesection.\alph{subsection}}

\begin{document}

\section{First}

\subsection{First-first}

\section{Second}

\end{document}

enter image description here

You must log in to answer this question.

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