|
|
|
@ -47,3 +47,19 @@ |
|
|
|
]{caption} |
|
|
|
\usepackage{subcaption} % Sous-figures & légendes associées |
|
|
|
\captionsetup[subfigure]{margin=5pt} |
|
|
|
|
|
|
|
% Table des crédits |
|
|
|
\addtotoclist[]{loc} |
|
|
|
\DeclareRobustCommand{\credits}[1]{% |
|
|
|
\addcontentsline{loc}{credits}{% |
|
|
|
\ifnum\value{subfigure}>0 |
|
|
|
\protect\numberline{\thefigure.\thesubfigure} |
|
|
|
\else |
|
|
|
\protect\numberline{\thefigure} |
|
|
|
\fi |
|
|
|
#1% |
|
|
|
}% |
|
|
|
} |
|
|
|
\newcommand*{\listofcredits}{\listoftoc[Crédits des figures]{loc}} |
|
|
|
\setuptoc{loc}{chapteratlist,totoc} |
|
|
|
\DeclareTOCStyleEntry[level=1,indent=1.5em,numwidth=2.3em,dynnumwidth,pagenumberformat={\addfontfeatures{Numbers=Monospaced}}]{tocline}{credits} |