\bibpunct[, ]{(}{)}{,}{a}{}{,}%
 \def\newblock{\ }%

  \caption{North Division Team}

I have never had so much trouble with a figure before. It seems that no matter what I do, the figure is determined to stayright where it is on the margin, running over regardless of how I try to push it to the middle. Does anyone have any ideas on how to fix this?

enter image description here

  • width=\textheight or height=\textwidth will possibly fix the problem .... sideways figure doesn't change \textwidth and \textheight
    – koleygr
    Jan 27, 2021 at 15:22
  • Tried both: 'width=\textheight' did nothing different and 'height=\textwidth' made the image bigger and brought it closer to the center, but it's still sticky at the same place (the line for 9th of June 'height=\textwidth'
    – Allison
    Jan 27, 2021 at 15:31
  • Have you checked the image to see if it contains empty space below of it? May be my comment above is not correct since I had in mind landscape environment and not the sidewaysfigure initially
    – koleygr
    Jan 27, 2021 at 15:46
  • 1
    There originally was, but I cut it out of the pdf. I think @gernot's answer below is going to work out! Thanks!
    – Allison
    Jan 27, 2021 at 15:55

1 Answer 1


Maybe try it this way (note also the order of \caption, \label, and \end{figure}.

  \caption{North Division Team}

enter image description here

  • This is almost perfect... turns out I was missing the graphicx package. The only other hangup is that (as I'm still relatively new to LaTex) how to adjust the size so that it's a bit more readable on the page. But I think I can go hunt down some resources to explain the width=\textwidth thing :) Thanks again!
    – Allison
    Jan 27, 2021 at 15:56
  • @Allison The option width=\textwidth tells the image importing command to scale the width of the image to \textwidth which is a length set to the width of the text. As it may be confusing what LaTeX considers as width/height in a rotated image, and the caption needs some space too, I suggest to experiment alternatively either with width=8cm or height=10cm (modify the values and units) such that the image fits on the page without generating an overfull \hbox or overfull \vbox warning. If you use height and width, then the image may not be scaled proportionally.
    – gernot
    Jan 27, 2021 at 16:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .