
답변1
여기서는 필요한 경우 랩을 통해 그래픽을 추가하기 위해 목차에 별도의 제목을 지정하는 기능을 사용합니다.
\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}
보충
\chapter
수업 에서 의 사용 book
및 이미지의 수직 정렬에 대한 의견에 대한 응답으로 추가 MWE를 제공합니다.
\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}