![如何在图的标题中使用图形?](https://linux22.com/image/272160/%E5%A6%82%E4%BD%95%E5%9C%A8%E5%9B%BE%E7%9A%84%E6%A0%87%E9%A2%98%E4%B8%AD%E4%BD%BF%E7%94%A8%E5%9B%BE%E5%BD%A2%EF%BC%9F.png)
我需要在原始图形标题末尾添加一个小图形,有什么想法吗?
答案1
这是一个最小的工作示例:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{graphicx}
\usepackage{mwe}
\begin{document}
\begin{figure}[htbp]
\centering
\includegraphics{{example-image-a}}
\caption[Caption for list of figures.]{Whatever works. {\protect\includegraphics[height=\baselineskip]{example-image-a}}}
\label{fig:myfig}
\end{figure}
\end{document}