Generalsubfigure

LaTeX specific issues not fitting into one of the other forums of this category.
Sam
Posts: 62
Joined: Fri Nov 30, 2007 1:43 pm

Re: subfigure

Post by Sam »

still stuck :( :oops: :(

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

subfigure

Post by gmedina »

Sam wrote: they don't line up horizontally!!

Please, describe as clearly as possible what do you mean with "they don't line up horizontally".
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Sam
Posts: 62
Joined: Fri Nov 30, 2007 1:43 pm

subfigure

Post by Sam »

gmedina wrote:
Sam wrote: they don't line up horizontally!!

Please, describe as clearly as possible what do you mean with "they don't line up horizontally".


I want them to be next to each other from left to right

and NOT one at the top and the other below it

Thanks. :)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: subfigure

Post by localghost »

It seems the scaling factor is to high and so the figures do not fit in the same line. Reduce this factor until they are standing side by side.
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

subfigure

Post by gmedina »

Maybe you are not properly controlling the width of your figures. Try something like

Code: Select all

\begin{figure}[!ht]
  \centering
  \subfloat[Subfigure One\label{subfig-1:figure}]{
    \includegraphics[width=.4\linewidth]{delay_20amp_synch_fr4_submap}
  }
  \hspace{5mm}
  \subfloat[Subfigure Two\label{subfig-2:figure}]{
    \includegraphics[width=.4\linewidth]{delay_fr4_cycle}
  }
  \caption{A figure with two subfigures}\label{fig:figure}
\end{figure}
Of course, in the option width=<unit> you can use any valid length for <unit>.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Sam
Posts: 62
Joined: Fri Nov 30, 2007 1:43 pm

Re: subfigure

Post by Sam »

:? am sorry but still does not work when I try it!

is the unit mm in laytex?

also I even tried 0.001 and they are still on top of each other and not horizontally as they should be :? :? :?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

subfigure

Post by localghost »

Please put the affected files in the attachment, so I can try myself. Or provide a minimal working example (MWE) with the same behaviour.
Last edited by localghost on Fri Nov 30, 2007 5:30 pm, edited 1 time in total.
leentje_23
Posts: 1
Joined: Tue May 04, 2010 12:19 pm

Re: subfigure

Post by leentje_23 »

Hi!

I'm trying to increase the distance between my subfloat figures, but it doesn't work, I tryed like you mensioned with \hspace:
\begin{figure}[!ht]
\begin{center}
\subfloat{\label{45stat}\includegraphics[width=0.456\textwidth]{alles45.png}}
\subfloat{\label{451stat}\includegraphics[width=0.456\textwidth]{alles451.png}}
\hspace{20mm}
\subfloat{\label{452stat}\includegraphics[width=0.456\textwidth]{alles452.png}}
\subfloat{\label{453stat}\includegraphics[width=0.456\textwidth]{alles453.png}}
\hspace{7mm}
\subfloat{\label{454stat}\includegraphics[width=0.456\textwidth]{alles454.png}}
\subfloat{\label{455stat}\includegraphics[width=0.456\textwidth]{alles455.png}}
\caption{Experimentele resultaten van de proefbuisexperimenten tussen 45 en 45,5 $^{\circ}\mathrm{C}$.}
\label{proefbuisjes45tot455}
\end{center}
\end{figure}

but nothing changes :(
could someone help me out?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

subfigure

Post by localghost »

I don't think that your request as is can be answered because you didn't follow the essential guidelines to formulate an adequate post [1]. In your own interest you should follow the instructions unexceptional and it will be much easier to give specific help. And this help will come much faster. Reading the Board Rules is also recommended.

[1] View topic: Avoidable mistakes


Best regards and welcome to the board
Thorsten
Post Reply