I would like to know if it is possible to combine the two next codes, i.e have a caption with a descrition and put only the short title into the listoffigures of TOC ?
This one
\caption[short title for list of figures]{long title for text}
with the custom caption with title + description Set different styles for "main" caption and description
\documentclass{article}
\newcommand\mycaption[2]{\caption{\textbf{#1}\newline\small#2}}
\begin{document}
\begin{figure}
\mycaption{Caption title}{I would like this sentence to be under the
title and smaller.}
\end{figure}
\end{document}