1

I used the following code and got the result below:

\documentclass{article}


\begin{document}
\renewcommand{\thesubsection}{\arabic{section}\roman{subsection}}
\renewcommand{\thesubsubsection}{\thesection.\alph{subsubsection}}


\section{title}
\subsection{title}
\subsubsection{title}

\end{document}

Result: Result

I want the subsection and subsection to look like this:

1 title

1.i title

1.i.a title

I would really appreciate if someone can helo me with this.

1 Answer 1

2

You want to do incremental definitions:

\renewcommand{\thesubsection}{\thesection.\roman{subsection}}
\renewcommand{\thesubsubsection}{\thesubsection.\alph{subsubsection}}
1
  • Thanks it worked! Mar 8, 2020 at 13:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .