I'm using pandoc and in my template.tex
exists this code to make the paragraphs and subparagraphs to behave like sections.
% Redefines (sub)paragraphs to behave more like sections
\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
\fi
\ifx\subparagraph\undefined\else
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\fi
This code generate number like this:
1. chapter
1.1 section
1.1.1 subsection
1.1.1.1 subsubsection
1.1.1.1.1 paragraph
1.1.1.1.1.1 subparagraph
How to change this code to enumerate with letter like this:
1. chapter
1.1 section
1.1.1 subsection
1.1.1.1 subsubsection
1.1.1.1.a paragraph
1.1.1.1.a.a subparagraph
\paragraph
and\subparagraph
are both defined in the default document classes. The only thing you may have to do is add\renewcommand{\theparagraph}{\thesubsubsection.\alph{paragraph}}
and\renewcommand{\thesubparagraph}{\theparagraph.\alph{subparagraph}}
. If you're having more than 26 paragraphs or subparagraphs, then you need to considering using thealphalph
package for higher-order alphabetic enumeration.