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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 26 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.