3

I'm currently writing a thesis and I need to divide the sections of my chapters beyond the conventional numeric subsubsection. It's the reason why I use an asterisk *. But I'd like to change that way of ordering my sections and change the numeric section beyond subsubsection to an alphabetical order. How could I do that?

\documentclass{book}

\renewcommand{\thesubsection}{\thesection.\alph{subsubsection*}}

\begin{document}

\chapter{Title}

\section{Title}

\subsection{Title}

\subsubsection{Title}

\subsubsection*{Title}

\chapter{Second}

\end{document}
1

3 Answers 3

3

In the standard LaTeX classes the sectional divisions are \part, \chapter (but not in article), \section, \subsection, \subsubsection, \paragraph, and \subparagraph. Perhaps you could try using \paragraph and \subparagraph as a first go to get your lower level headings and then, if needs be, ask about changing the numbering from numeric to alphabetic.

2
  • I think I'm searching for a subsubsubsection that doesn't exist and I don't want to use \paragraph for obscur aesthetic reasons. Maybe I'd be happy if only I could find a type of section similar to enumerate environment with no margins.
    – domi
    Sep 2, 2016 at 19:41
  • 2
    @domi: Then look at the definition of \subsubsection using it as a basis for your \subsubsubsection and make your custom changes. Sep 4, 2016 at 17:42
8

Three changes: 1) you need to renew \thesubsubsection, not \thesubsection; Get rid of the * at the end of that redefinition; and 3) set secnumdepth to 4.

Your question is still vague enough that I am not sure if this addresses your needs.

\documentclass{book}

\renewcommand{\thesubsubsection}{\thesection.\alph{subsubsection}}
\setcounter{secnumdepth}{4}


\begin{document}

\chapter{Title}

\section{sTitle}

\subsection{ssTitle}

\subsubsection{sssTitle}

\subsubsection{sssTitle}

\chapter{Second}

\end{document}

enter image description here

Though perhaps this is what you mean, since the above approach will reset the subsubsection counter whenever a new subsection is invoked:

\documentclass{book}

\renewcommand{\thesubsubsection}{\thesubsection.\alph{subsubsection}}
\setcounter{secnumdepth}{4}

\begin{document}

\chapter{Title}

\section{sTitle}

\subsection{ssTitle}

\subsubsection{sssTitle}

\subsubsection{sssTitle}

\chapter{Second}

\end{document}

enter image description here

2
0

I had trouble with this, but I fixed it by putting a space before my .

\renewcommand{\thesubsection}{\thesection .\alph{subsubsection*}}

You must log in to answer this question.

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