Page LayoutMinipages take up whole page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
s_givon
Posts: 2
Joined: Wed May 13, 2009 1:22 pm

Minipages take up whole page

Post by s_givon »

I have two minipages containing figures. They should appear one after the other at a top of the page and take up only the top half of it. The bottom half should be used for text (twocolumn format). However, the minipages spread across the whole page and are sort of centred. I tried various things but nothing works (either one is position properly and the other isn't etc).
Any advice?

Code: Select all

\begin{figure*}
%\begin{minipage}[position][height][inner-pos]{width}
\begin{minipage}[t]{0.3\linewidth} % A minipage that covers half the page
\centering
\includegraphics[width=6cm]{CFs}
\caption{MSE values for CF methods separately and combined}
\label{fig:cfs}
\end{minipage}
\hspace{0.5cm} % To get a little bit of space between the figures
\begin{minipage}[t]{0.3\linewidth}
\centering
\includegraphics[width=6cm]{cf_alpha}
\caption{MSE scores for combined CF methods across various alpha values}
\label{fig:cf_alpha}
\end{minipage}
\hspace{0.5cm} % To get a little bit of space between the figures
\begin{minipage}[t]{0.3\linewidth}
\centering
\includegraphics[width=6cm]{combs_alpha}
\caption{MSE values for RM and CF combined System across $\alpha$ values}
\label{fig:comb_alpha1}
\end{minipage}
\end{figure*}


\begin{figure*}
\begin{minipage}[t]{0.5\linewidth} % A minipage that covers half the page
\centering
\includegraphics[width=8.5cm]{components}
\caption{MSE for CF, content-based and baseline systems}
\label{fig:comps}
\end{minipage}
\hspace{0.5cm} % To get a little bit of space between the figures
\begin{minipage}[t]{0.5\linewidth}
\centering
\includegraphics[width=8.5cm]{combs}
\caption{MSE for combined systems \textcolor{white}{blah blah blah blah blah}}
\label{fig:comb_mse}
\end{minipage}
\end{figure*}

Recommended reading 2024:

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

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

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

Minipages take up whole page

Post by localghost »

Start with the right placement parameters for the float environments.

Code: Select all

\begin{figure*}[!ht]
  % figure contents
\end{figure*}
For subfigures you should take a look at the subcaption package that comes with the caption package. It has its own manual and shows how to align the subfigures.


Best regards and welcome to the board
Thorsten
s_givon
Posts: 2
Joined: Wed May 13, 2009 1:22 pm

Re: Minipages take up whole page

Post by s_givon »

Works like magic, cheers!
Post Reply