I can't manage to combinate the effects of enumerate and subsubsection in Latex. The output PDF shows a strange error. Here's my code:
\begin{document}
\chapter{Introduzione al Cloud Computing}
ahem
\section{Sicurezza dei sistemi Cloud}
hum
\subsection{Principali vulnerabilità della sicurezza in\\ambiente Cloud}
hey
\begin{enumerate}
\item \subsubsection{Data Breaches}
hello
\begin{itemize}
\item ciao
\end{itemize}
\item \subsubsection{Data Loss}
hi
\item \subsubsection{Account or Service Traffic Hijacking}
bzz
\item \subsubsection{Insecure Interfaces and APIs}
what
\item \subsubsection{Denial of Service}
ohnoes
\end{enumerate}
\end{document}
and here's the strange result:
subsubsection numbers 2 and 3 are overlapping. If I cut the first item's "sub-itemize", that is:
\begin{itemize}
\item ciao
\end{itemize}
the problem fades away!
What am I missing?
I am using Texmaker, and the following packages: fancyhdr, indentfirst, graphicx, newlfont, amssymb, amsmath, latexsym, amsthm, xcolor, hyperref, breakurl.
Thanks in advance.
Best Answer
You can number subsections by increasing
secnumdepth
and use just the subsubsection counter not the full 1.1.1 prefix by redefining\thesubsubsection
. section headings should never be used within a list.