I have a lot of figures I want to present, and I try to line them up three in a row to save space, using the code below.
The figures become a bit too small, so I wanted to make the outer figure 1.25 of textwidth
by putting {1.25\textwidth}
after \begin{figure}
, but that gives me a "Missing number, treated as zero." error.
How can I make the figure wider?
\begin{figure}[h]
\centering
\begin{minipage}{.33\textwidth}
\centering
\includegraphics[width=1\textwidth]{survey-q1.eps}
\end{minipage}\hfill
\begin{minipage}{.33\textwidth}
\centering
\includegraphics[width=1\textwidth]{survey-q2.eps}
\end{minipage}\hfill
\begin{minipage}{.33\textwidth}
\centering
\includegraphics[width=1\textwidth]{survey-q3.eps}
\end{minipage}
\caption{Answers to questions 1, 2, and 3.}
\label{fig:survey-ans-1-2-3}
\end{figure}
Best Answer
Here I use nested
\makebox
es around theminipage
s. The outer one set to\textwidth
, so that it centers properly, the inner to1.25\textwidth
to allow the\hfill
s to operate.