47

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

...

63

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

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.