This question already has an answer here:

It seems like this question gets asked a lot but with everything I have come across I was not able to figure out how to solve me problem. I have 3 figures side by side in a tabular environment and I want to be able to shift all 3 figures to the left in order to fit them on the page (right now the figures go off the page to the right). I am using the article format so there is plenty of white space to the left of the figures that I would like to utilize. here is my latex code


marked as duplicate by Werner, Guido, cfr, ChrisS, Masroor Jun 11 '14 at 23:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    The set of figures inside the tabular is wider than \textwidth, I presume. As such, they get shifted to the right. Centering them when in such an instance is covered in Center figure that is wider than \textwidth. The solution is to place the entire tabular inside a \makebox[\textwidth]{...} construction. – Werner Jun 11 '14 at 22:20
  • Instead of \centering try \hss, and add another \hss\par after \end{tabular}. However, it would be preferable to reduce the size of the figures, since what happens is that they don't fit in the margins. – JLDiaz Jun 11 '14 at 22:21
  • @JLDiaz I get this error: ! Infinite glue shrinkage found in a paragraph. – user6291 Jun 11 '14 at 22:23
  • @Werner your solution using \makebox[\textwidth]{...} worked! – user6291 Jun 11 '14 at 22:25
  • @JLDiaz \hss is not legal in a paragraph, just in an \hbox. – egreg Jun 11 '14 at 22:25

the table environment isn't really doing anything other than add a bit of space, you could use


But I would just do



adjusting the widths to suit.

  • 2
    I wouldn't do that... I'll use \makebox[\textwidth]{...}, as suggested in the linked duplicate. – Werner Jun 11 '14 at 22:32
  • 3
    @Werner it's free world make another answer and let the OP choose:-) Trouble with makebox..is that it centres perfectly mathematically but if you are stealing space from the margin you might want to take judgement depending on size of each margin and relative blackness of the images and .... – David Carlisle Jun 11 '14 at 22:44
  • @DavidCarlisle, I am new to Latex, could you please explain what does [htbp] mean? And what package is required to implement this code ? – model_checker Jun 16 '16 at 14:11

Not the answer you're looking for? Browse other questions tagged or ask your own question.