How to arrange figures on a page using Tex?

  • MHB
  • Thread starter Dustinsfl
  • Start date
In summary, you can place six figures next to each other in sets of three by using the solutions provided in the linked posts on TeX SE. However, the success of this method will depend on the width of your figures and the margins of your page.
  • #1
Dustinsfl
2,281
5
I want to have these 6 figures set up next to each other in sets of 3.
So fig 1 fig 2 fig 3 then below them fig 4 fig 5 fig 6
How can I do this?

Code:
\begin{figure}[H]
\includegraphics[height = 2in]{hw5problem3phase0}
\caption{$F = c = k_1 = 0$}
\includegraphics[height = 2in]{hw5problem3phasec94}
\caption{$F = k_1 = 0$ and $c = 9.4$}
\includegraphics[height = 2in]{hw5problem3phasecF94}
\caption{$k_1 = 0$ and $F = c = 9.4$}
\includegraphics[height = 2in]{hw5problem3phaseF0}
\caption{$F = 0$, $c = 9.4$, and $k_1 = 12.25$}
\includegraphics[height = 2in]{hw5problem3phasec0}
\caption{$c = 0$, $F = 10.75$, and $k_1 = 12.25$}
\includegraphics[height = 2in]{hw5problem3phasenonzero}
\caption{$c = 7.2$, $F = 7.8$, and $k_1 = 12.8$}
\end{figure}
 
Physics news on Phys.org
  • #2

1. How do I center a figure on the page in Tex?

To center a figure on the page, use the \centering command before the \includegraphics command. This will align the figure horizontally in the center of the page.

2. Can I add captions to figures in Tex?

Yes, you can add captions to figures in Tex using the \caption{Caption text} command. This will automatically number and label the figure and place the caption below it.

3. How do I resize a figure in Tex?

To resize a figure in Tex, use the \includegraphics[width=desired width]{image file} command. This will scale the image to the specified width while maintaining its aspect ratio.

4. Can I arrange multiple figures side by side in Tex?

Yes, you can use the \includegraphics command multiple times and specify the desired width for each figure to arrange multiple figures side by side. You can also use the subfigure package for more advanced figure arrangement options.

5. How do I add a border or frame to a figure in Tex?

To add a border or frame to a figure in Tex, use the \fbox{\includegraphics{image file}} command. This will place the image inside a framed box. You can also adjust the size and style of the frame using additional parameters.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
9
Views
4K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
3K
  • Introductory Physics Homework Help
Replies
4
Views
892
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
2K
  • Quantum Physics
Replies
4
Views
614
Back
Top