# key: llfig
# name: lfig-with-text
# --
рис.~\ref{fig:$1}.

\begin{figure}[h]
  \centering
  \includegraphics[${2:width=\textwidth}]{${3:`(shell-command-to-string "find -name \"*.png\" -type f -print0 | xargs -0 stat --format '%Y :%y %n' | sort -nr | head -n 1 | awk '{ printf $5 }'
")`}} % chktex 8
  \caption{$4}%
  \label{fig:$1}
\end{figure}
$0