JeT
**Context**

I use \hackGraphics (cf MWE) to include my graphics.

It enables me to add a long caption (kinda complete explanation of the graph when it's not self explanatory).

I also benefit from the \newcommand to add the image in the lof. Students can catch in a glimpse the visuals of the course with a long explanation.

**1. In the lof**

![Lof1N.png](/image?hash=ebff2997c83b5edd26edf8703cdaf8caccc65bc714283e46d6d6be91f0d50d18)

**2. In the document**

I don't know if it's the right method to get what I'd like : all graphs from the course at the same place with an explanation

**My question**

I'd like to format lof so that I can get the image on the left and the long caption on the right as in the sketch below.

I don't need the dots and page numbers.

![Lof3.png](/image?hash=979f42bd361ec8a5c2ae48198fce02c6a77c4d342c3ff42fcc5564140d422205)


\documentclass[12pt,a4paper]{article}
\usepackage{graphicx}
\usepackage{xcolor}

\newcommand{\hackGraphics}[4][width=0.8\textwidth,height=0.30\textheight,keepaspectratio]
{

\begin{figure}[htp]
\centering
\includegraphics[#1]{#2}
\caption{#3}
\medskip
\footnotesize
\textcolor{gray}{#4}

\protect\includegraphics[width=0.8\textwidth,height=0.30\textheight,keepaspectratio] {#2}%
\protect\newline %
\color{gray}{#4}%
}%
}%
\end{figure}
}

\begin{document}

\listoffigures

\newpage

\hackGraphics
{example-image}
{This is a short caption}
{Of course I'de like to have a self-explanatory graph, but it requires sometimes an explanation for some sudents.}

\end{document}



samcarter
One possible approach using minipages:


\documentclass[12pt,a4paper]{article}
\usepackage{graphicx}
\usepackage{xcolor}

\newcommand{\hackGraphics}[4][width=0.8\textwidth,height=0.30\textheight,keepaspectratio]
{

\begin{figure}[htp]
\centering
\includegraphics[#1]{#2}
\caption{#3}
\medskip
\footnotesize
\textcolor{gray}{#4}

\protect%
\begin{minipage}{.45\textwidth}
\includegraphics[width=\textwidth,height=0.30\textheight,keepaspectratio]{#2}%
\end{minipage}%
\hfill%
\begin{minipage}{.45\textwidth}
\color{gray} #4%
\end{minipage}\par%
}%
\end{figure}
}

\begin{document}

\listoffigures

\newpage

\hackGraphics
{example-image}
{This is a short caption}
{Of course I'de like to have a self-explanatory graph, but it requires sometimes an explanation for some sudents.}

\hackGraphics
{example-image-duck}
{This is a short caption}
{Of course I'de like to have a self-explanatory graph, but it requires sometimes an explanation for some sudents.}

\end{document}


![Screen Shot 2020-10-05 at 14.51.13.png](/image?hash=f69250e1d9754b5f882d17de5c943297d82956bca77acdc90d91a6a725ff86ca)
JeT
Thanks to @SamCarter answer in comments, a solution with tcolorbox


\documentclass[12pt,a4paper]{article}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage[most]{tcolorbox}

\newcommand{\hackGraphics}[4][width=0.8\textwidth,height=0.30\textheight,keepaspectratio]
{
\begin{figure}[htp]
\centering
\includegraphics[#1]{#2}
\caption{#3}
\medskip
\footnotesize
\textcolor{gray}{#4}
\end{figure}

\protect%
\begin{tcolorbox}[
sharp corners,
boxrule=2pt,
notitle,
colback=white,
colframe=blue!20,
coltitle=white,
fonttitle=\bfseries]
\begin{minipage}{.3\textwidth}
\includegraphics[width=\textwidth]{example-image}
\end{minipage}
\hfill
\begin{minipage}{.7\textwidth}
#4
\end{minipage}
\end{tcolorbox}
\par%
}%
%\medskip
}

\begin{document}

\listoffigures

\newpage

\hackGraphics
{example-image}
{This is a short caption}
{Of course I'de like to have a self-explanatory graph, but it requires sometimes an explanation for some sudents.}

\hackGraphics
{example-image-duck}
{This is a short caption}
{Of course I'de like to have a self-explanatory graph, but it requires sometimes an explanation for some sudents.}

\end{document}


Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.