The following code produces 1 next to Foo and 1.1 next to Bar.
\section{Foo}
\subsection{Bar}
How do I produce 1 next to Foo and 1a next to Bar? And 1b for the next subsection, and so on?
The following code produces 1 next to Foo and 1.1 next to Bar.
\section{Foo}
\subsection{Bar}
How do I produce 1 next to Foo and 1a next to Bar? And 1b for the next subsection, and so on?
You have to change the number printing mechanism for \subsection. Easiest is to use:
\renewcommand{\thesubsection}{\thesection\alph{subsection}}

\documentclass{article}
\renewcommand{\thesubsection}{\thesection\alph{subsection}}
\begin{document}
\section{A section}
\subsection{A subsection}
\subsection{A subsection}
\subsubsection{A subsubsection}
\end{document}
\thesubsectionand\thesectionthough? Why prefix it withthe? – David Faux Oct 03 '12 at 23:34\thecommand\thesectionrefers to the printing of thesectioncounter, which is internally represented in a different way to what you see. The default is\arabic{<counter>}. – Werner Oct 03 '12 at 23:37