Graphics, Figures & Tables ⇒ Sidewaysfigure not Centered
Sidewaysfigure not Centered
I'm using the 'rotating' package for jpg and eps files to put them length ways on a separate page.
I enter this...
\begin{center}
\begin{sidewaysfigure}
\includegraphics[scale=0.40]{Figure1.eps}
\caption{Figure 1}
\end{sidewaysfigure}
\end{center}
... but the pictures won't center. They either come out too far right or too far left, so that part of them is cut off.
I've also tried '\centering' and putting the pictures at the top or bottom of the page, but there was no difference.
Thank you very much.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Sidewaysfigure not Centered
This useless code snippet is insufficient to reproduce the problem [1]. Probably your pictures are still to big. The code below works fine for me.
Code: Select all
\documentclass[a4paper,11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[font=small,labelfont=bf,tableposition=top]{caption}
\usepackage{rotating}
\begin{document}
\begin{sidewaysfigure}
\centering
\rule{0.75\textheight}{0.5\textheight}
\caption{Dummy figure}\label{fig:dummy}
\end{sidewaysfigure}
\end{document}
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Sidewaysfigure not Centered
That helped, problem solved...