
Respuesta1
Aquí utilizo la función de especificar un encabezado separado en el índice para agregar el gráfico, por vuelta, si es necesario.
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\tableofcontents
\noindent\hrulefill
\section{Normal section}
\section[{\llap{\includegraphics[height=\baselineskip]{example-image}%
\kern20pt}Left of section number}]{Left of section number}
\section[{Right of title \includegraphics[height=\baselineskip]{example-image}}]%
{Right of title}
\section[{Right of page number\hfill\rlap{\kern20pt\includegraphics%
[height=\baselineskip]{example-image}}}]{Right of page number}
\end{document}
SUPLEMENTO
En respuesta a los comentarios sobre el uso de \chapter
en la book
clase y la alineación vertical de la imagen, proporciono un MWE adicional:
\documentclass[a4paper,openright]{book}
\usepackage{graphicx}
\DeclareRobustCommand\addimg[1]{\llap{\raisebox{-\dp\strutbox}%
{\includegraphics[height=\baselineskip]{#1} \kern20pt}}}
\begin{document}
\tableofcontents
\noindent\hrulefill
\chapter[\addimg{example-image}Left of section number]{Left of section number}
\chapter[\addimg{example-image}Machines d'audit et processus MCO et MCS]{Machines d'audit et processus MCO et MCS}
\end{document}