一行中的几个子图.乳胶只能连续放置2个.subfloat错误



我正在尝试对齐一行中的几个子图。2个数字工作正常。当尝试包含以下第三个子图时,出现错误消息:使用@subfloat扫描时文件结束。包括{医生}

这个tex文档包含在主文件中,包含以下包:

usepackage{graphicx}
usepackage{subfigure}
usepackage{subcaption}

%%%%%%new doc
begin{figure}[h!]
centering
subfigure[a]{includegraphics[width=0.1textwidth]{Logos/Symbol_One_flow_path}}
subfigure[b]{includegraphics[width=0.1textwidth]{Logos/1920px-Symbol_Two_flow_paths}}
subfigure[c]{includegraphics[width=0.1textwidth]{Logos/Symbol_Two_flow_paths_(diagonally)} subfigure[d]{includegraphics[width=0.3textwidth{Logos/Symbol_Two_flow_paths_with_connection}   
subfigure[e]{includegraphics[width=0.3textwidth]{Logos/graph}    
end{figure}

此问题可能是由于图c,d和e末尾缺少}。这可以解释为什么只有数字a和b。

usepackage{graphicx}
usepackage{subfigure}
usepackage{subcaption}
begin{figure}[h!]
centering
subfigure[a]{includegraphics[width=0.1textwidth]{Logos/Symbol_One_flow_path}}
subfigure[b]{includegraphics[width=0.1textwidth]{Logos/1920px-Symbol_Two_flow_paths}}
subfigure[c]{includegraphics[width=0.1textwidth]{Logos/Symbol_Two_flow_paths_(diagonally)}} %one } was missing here !
subfigure[d]{includegraphics[width=0.3textwidth{Logos/Symbol_Two_flow_paths_with_connection}} % here also
subfigure[e]{includegraphics[width=0.3textwidth]{Logos/graph}} %and here 
end{figure}

最新更新