我想将 (a) 缩放到类似于 (c) 的程度,不幸的是,标题也缩放了,我怎样才能使 (c) 的标题更宽(类似于 (a) 的标题)?谢谢
\documentclass[12pt]{article}
\usepackage[paper=a4paper,left=25mm,right=25mm,top=25mm,bottom=25mm]{geometry}
\usepackage{graphicx}
\usepackage[english]{babel}
\usepackage{subfigure}
\begin{document}
\begin{figure}[htbp]
\centering
\subfigure[this is a text this is a text this is a text this is a textthis is a text this is a text this is a text this is a text this is a text this is a text]
{\includegraphics[width=0.46\textwidth]{picture.ps}}\hspace{1cm}%\hfill
\subfigure[this is a text this is a text this is a text this is a textthis is a text this is a text this is a text this is a text this is a text this is a text]
{\includegraphics[width=0.46\textwidth]{picture.ps}}
\end{figure}
\begin{figure}[htbp]
\centering
\subfigure[this is a text this is a text this is a text this is a textthis is a text this is a text this is a text this is a text this is a text this is a text]
{\includegraphics[scale=0.25]{picture.ps}}\hspace{1cm}%\hfill
\subfigure[this is a text this is a text this is a text this is a textthis is a text this is a text this is a text this is a text this is a text this is a text]
{\includegraphics[width=0.46\textwidth]{picture.ps}}
\end{figure}
\end{document}
我添加了两张图片:图(a)和(b),以及图(c)和(d)
摘要:图应为 c 和 d,但标题应为 a(!) 和 d
附加问题:数字在同一行
答案1
正如我在评论中提到的,你可以尝试subcaption
包允许您指定包含子图的框的宽度。这样您就可以将它们设置为相等。例如:
\documentclass{report}
\usepackage{subcaption}
\usepackage[demo]{graphicx}
\begin{document}
\begin{figure}
\centering
\begin{subfigure}[b]{.45\linewidth}
\centering
\includegraphics[scale=1]{demo}
\caption{A lot of text here for the caption so it goes over the line break}
\label{fig:SkeletalTissue}
\end{subfigure}
\hfill
\begin{subfigure}[b]{.45\linewidth}
\centering
\includegraphics[scale=1]{demo}
\caption{A lot of text here for the caption so it goes over the line break}
\label{fig:CardiacTissue}
\end{subfigure}
\\
\begin{subfigure}[b]{.45\linewidth}
\centering
\includegraphics[width=2cm]{demo}
\caption{A lot of text here for the caption so it goes over the line break}
\label{fig:SmoothTissue}
\end{subfigure}
\hfill
\begin{subfigure}[b]{.45\linewidth}
\centering
\includegraphics[scale=1]{demo}
\caption{A lot of text here for the caption so it goes over the line break}
\label{fig:OtherTissue}
\end{subfigure}
\caption{Types of Muscular Tissue}
\label{fig:MuscularTissue}
\end{figure}
\end{document}
产生