The guy that wrote the code left the company a while ago so he can't help.
Here's the code for the command which created two minipage attributes next to each other
The first minipage {1} is only text whereas the second one is only image.
My point is to be able to add a caption and a label to each figure that are used inside these commands.
\newcommand{\TexteIllustrationHaute}[2]{ \UpdateLengths \noindent \begin{minipage}{\largeurTexteIllustration} {#1} \end{minipage}% \hskip 0.6cm \begin{minipage}{\largeurCadre} \framebox(8,10){ \includegraphics[width=\largeurImage,height=\hauteurImageHaute,keepaspectratio=true] {#2}} \end{minipage} \vskip 0.3cm }
here's one of the many code portion refering to the previous command.
I'd like to add a caption "Saccade 2D" below this figure
\TexteIllustrationHaute{ \Subsubsubsection{Représentation graphique} Les saccades sont représentées à la fois sur la barre temporelle et sur la zone spatiale.\\ } {Saccade2D.eps}
As written , I have

which shows on, the first minipage the text and on the second one the image.
I've tried to add caption / label stuff under "{Saccade2D.eps}" but it does not work (obviously I guess)
same for "figure" which can only be used within a float and minipage isn't
Thank you very much in advance for your help ! I hope that I am clear enough
A new member of the LaTeX community