Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

...

share|improve this question

1 Answer 1

up vote 16 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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