Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to force a sideways figure to be drawn in a specific point of the text, but I haven't found any valid solution. In particular, I need to achieve the following layout:

  • page 1 - contains only text
  • page 2 - contains the sideways figure
  • page 3 - text and figures

Here the code I'm using.

\begin{sidewaysfigure}[counterclockwise]
  \centering
    \scalebox{0.99}
    {\includegraphics[width=0.99\textwidth]{myfigure}}
    \caption{def}
    \label{def}
\end{sidewaysfigure}

When I compile, myfigure figure is rendered only after page 3, but it's not I want to achieve.

Any suggestions?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

There is no need to use \scalebox and scaling within \includegraphics (also your example as posted is missing a closing }.

It is hard to tell given the description without a complete example document but perhaps you just want to put \clearpage before and after the figure on page 2.

share|improve this answer
    
It worked. Thank you for your reply. Also +1 for pointing out the missing bracket. I'm using tex for mac os. When I compile the figure is not rendered with the correct orientation (counterclockwise). Any suggestions? My goal is to present it from left to right (the caption would be set on the right). Now, it is rendered for left to right (the caption is on the left side). –  flexaddicted Dec 22 '12 at 13:47
1  
just looked at the package, counterclockwise is an option to the package not to the figure. \usepackage[counterclockwise]{rotating} –  David Carlisle Dec 22 '12 at 14:29
    
Thank you. I set \usepackage[figuresright]{rotating} and it works. –  flexaddicted Dec 22 '12 at 15:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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