1、对于一些特殊要求的排版,可能需要使用图片作为一个图标或者另外一张图片的标题,例如下图显示某一张图片,其标题中含有另外一张图片。
2、这里需要用到的命令是铳曹扑钜\protect,其包含在宏包\usepackage{caption}中,其代码为\begin{figure}[!htp] \centering \inclu颊俄岿髭degraphics[scale=0.45]{1.jpg} \caption{Her sign \protect\includegraphics[scale=.5]{temp.png} }\end{figure}其中1.jpg是主图,而temp.png则是作为标题的图片。
3、这里需要添加\usepackage{caption}及\usepackage{graphicx}