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 insert a landscape figure, which I want to scale down. I'm currently using:

\begin{figure*}[tb] 
\centering
\includegraphics[width=\textwidth,height=\textheight,keepaspectratio]{fig/proposed.pdf}%
\caption{The SAP data model based on an UML class diagram: classes and relationships.}
\label{fig:Fig5}
\end{figure*}

This creates the figure and includes the graphic, however, the image is really big and goes out of bounds in the document.

share|improve this question
    
My guess is that you should either use the width parameter or the height parameter in combination with the keepaspectratio option. Could you try that and report back please? –  Bart Arondson Mar 28 at 14:25
    
@BartArondson Do you mean physically setting the width and height? –  user1326876 Mar 28 at 14:26
    
No, I mean something like: \includegraphics[width=\textwidth,keepaspectratio]{fig/proposed.pdf}. –  Bart Arondson Mar 28 at 14:27
    
@BartArondson keepaspectratio only does anything if you specify both width and height –  David Carlisle Mar 28 at 14:50
    
@user1326876 you should always include a complete document that shows the problem. It is impossible to tell from your fragment how you got landscape but it may be that you have \texheight and or \textwidth wrong (your rotation macro has changed them, oor you used lscape which changes textheight but not textwidth (use \columnwidth in that case) –  David Carlisle Mar 28 at 14:52

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.