# How to make caption of a subfigure wider after scaling the figure?

i wanna scale (a) similar to (c) unfortunatelly, the caption is scaled too how can i make the caption of (c) wider (similar to caption of (a))? thank you

\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}


i add two picts: figure (a) and (b), and figure (c) and (d)

summary: the figures should be c and d but the captions should be a(!) and d

additional question: figures are on the same line

• Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Aug 10 '14 at 23:34
• edited - see above – Mr. Robert Aug 10 '14 at 23:58
• You can try with the subcaption package, which allows you to specify the width of the box that contains the subfigure. That way you can set them to be equal. – Mario S. E. Aug 10 '14 at 23:59

As mentioned in my comments, you can try with the subcaption package which allows you to specify the width of the box that contains the subfigure. That way you can set them to be equal. E.g.:

\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}


Which produces

• hi mario works great - tnx a lot – Mr. Robert Aug 11 '14 at 0:33
• @user60519 If any answer on this site works for you, please don't forget to upvote and mark as answered :) (keeps things tidy and helps future user to find an answer quickly) – Mario S. E. Aug 11 '14 at 1:03
• i would do - unfortunately it says Vote Up requires 15 reputation – Mr. Robert Aug 11 '14 at 20:38
• instead of option [b] try [t] – Mario S. E. Aug 11 '14 at 20:47
• mario you are absolute right! tnx ... and only a few reputations away to give you an +1 ;) – Mr. Robert Aug 11 '14 at 20:54