Graphics, Figures & Tablesrotating | Landscape Figures

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Aleksustheone
Posts: 3
Joined: Wed Jul 25, 2012 9:42 pm

rotating | Landscape Figures

Post by Aleksustheone »

Dear all!

I have a little problem rotating the EPS figure in a document. The simple code is:

Code: Select all

\documentclass[a4paper,twoside,openright]{book}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{floatflt}
\usepackage{siunitx}
\usepackage[active]{srcltx}
\usepackage{array}
\usepackage{supertabular}
\usepackage{cite}
\usepackage{chapterbib}
\usepackage[nottoc,notlot,notlof,section]{tocbibind}
\usepackage{mathpazo}
\usepackage{verbatim}
\usepackage{rotating}
\usepackage{caption}
\usepackage[font=footnotesize]{subcaption}

\begin{document}

\begin{sidewaysfigure}
\centering
\hspace{2mm} \includegraphics[width=150mm]{Chap3/full_amp.eps} \newline%
(a)\par \vspace{5mm}
\hspace{2mm} \includegraphics[width=150mm]{Chap3/full_amp.eps} \newline%
(b)\par \vspace{5mm}
\caption{(a) Full amplifier schematic, (b) layout of the amplifier.}
\label{fig:fullamp} %
\end{sidewaysfigure}

\end{document}
This code gives me the attached result, i.e. does not rotate the figures themselves. The EPS files are attached. Please your assistance!
Thanks!

Recommended reading 2024:

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

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

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

rotating | Landscape Figures

Post by localghost »

Aleksustheone wrote:[…] I have a little problem rotating the EPS figure in a document. […]
You are already loading the subcaption package. Why don't you use it? The below example causes no problem.

Code: Select all

\documentclass[11pt,a4paper]{book}
\usepackage[T1]{fontenc}
\usepackage[font=small,tableposition=top]{caption}
\usepackage[font=footnotesize]{subcaption}
\usepackage{graphicx}
\usepackage{rotating}

\begin{document}
  \begin{sidewaysfigure}
    \centering
    \begin{subfigure}{15cm}
      \includegraphics[width=\linewidth]{Chap3/full_amp}
      \caption{Full amplifier schematic}
      \label{subfig-1:fullamp}
    \end{subfigure}\\[2ex]
    \begin{subfigure}{15cm}
      \includegraphics[width=\linewidth]{Chap3/full_amp}
      \caption{Layout of the amplifier}
      \label{subfig-2:fullamp}
    \end{subfigure}
    \caption{The full amplifier}
    \label{fig:fullamp} %
  \end{sidewaysfigure}
\end{document}
Aleksustheone wrote:[…] This code gives me the attached result, i.e. does not rotate the figures themselves. The EPS files are attached. […]
Obviously you have forgotten the attachments. Perhaps this is a reason why you've got no answer so far.


Thorsten
Post Reply