General ⇒ Figure Scales
Figure Scales
Hello everyone,
I have a problem with my figure scales. Even though I have the exact same figure format some figures gets bigger than others. I am attaching the error file, if you could help that would be great. Thanks in advance!
I have a problem with my figure scales. Even though I have the exact same figure format some figures gets bigger than others. I am attaching the error file, if you could help that would be great. Thanks in advance!
- Attachments
-
- thesis.log
- error logs
- (29.09 KiB) Downloaded 393 times
Figure Scales
Hi rainz,
it is unlikely you get a good answer if you don't provide us with more information:how do you include the figures in your document etc... ? Also the log does not show us much besides that you have an error in an
Would you please show us a
minimal working example (emphasis on minimal) that recreates your issues?
Regards
it is unlikely you get a good answer if you don't provide us with more information:how do you include the figures in your document etc... ? Also the log does not show us much besides that you have an error in an
eqnarray
environment (which should not be used by the way).Would you please show us a

Regards
site moderator & package author
Figure Scales
All of the figures are displayed in the below format:
Code: Select all
\begin{figure}
\centering
\scalebox{0.40}
{\includegraphics{C:/YMR.png}}
\caption{YMR}
\label{fig:YMR}
\end{figure}
Last edited by cgnieder on Tue Aug 21, 2012 12:42 pm, edited 1 time in total.
Figure Scales
This is not really helpful as it does not allow us to reproduce your problem. Just a thought: I probably wouldn't use
The documentation of
graphicx explains this and other options.
If that doesn't help please follow the link explaining what a
minimal working example is and provide one to us.
Regards
\scalebox
but the option of \includegraphics
for scaling the image:Code: Select all
\begin{figure}
\centering
\includegraphics[scale=.4]{C:/YMR.png}
\caption{YMR}
\label{fig:YMR}
\end{figure}

If that doesn't help please follow the link explaining what a

Regards
site moderator & package author
Figure Scales
How can I reproduce the example? there are 3 figures displayed in the below format:
Code: Select all
\begin{figure}
\centering
\scalebox{0.40}
{\includegraphics{C:/YMR.png}}
\caption{YMR}
\label{fig:YMR}
\end{figure}
\\
\begin{figure}
\centering
\scalebox{0.40}
{\includegraphics{C:/YMR2png}}
\caption{YMR2}
\label{fig:YMR2}
\end{figure}
\\
\begin{figure}
\centering
\scalebox{0.40}
{\includegraphics{C:/YMR3}}
\caption{YMR3}
\label{fig:YMR3}
\end{figure}
Last edited by cgnieder on Tue Aug 21, 2012 12:54 pm, edited 1 time in total.
Figure Scales
Did you even follow the link? A minimal working examaple (MWE) should be ready for copy, paste and compile, that is start with
Regards
\documentclass
, have a proper but short preamble and the document should show the undesired behaviour. In your case it might be that you also need to paste the images as they seem to give you trouble.Regards
site moderator & package author
Figure Scales
I hope this helps.
Code: Select all
\documentclass{buthesis}
\usepackage{graphicx}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{multirow}
\usepackage{lscape}
\usepackage{float}
\usepackage{morefloats}
\begin{document}
Below figures \ref{fig:rainz}, \ref{YMR} and \ref{YMR2} indicate .....
\begin{figure}
\centering
\scalebox{0.40}
{\includegraphics{C:/rainz.png}}
\caption{rainz}
\label{fig:rainz}
\end{figure}
\\
\begin{figure}
\centering
\scalebox{0.40}
{\includegraphics{C:/YMR.png}}
\caption{YMR}
\label{fig:YMR}
\end{figure}
\\
\begin{figure}
\centering
\scalebox{0.40}
{\includegraphics{C:/YMR2.png}}
\caption{YMR2}
\label{fig:YMR2}
\end{figure}
Last edited by cgnieder on Tue Aug 21, 2012 9:14 pm, edited 1 time in total.
Figure Scales
I have two questions still:
- Could you please post a link to the
buthesis
style file or attach it here in the forum? - Are all of the pictures of the same size? This would mean I could experiment with an arbitrary image file of my own. If not you might need to attach them as well.
site moderator & package author
Re: Figure Scales
1. It is a style used in the university. I do not know how to post a link to it. If you could describe me how to find it maybe I could. Sorry I am relatively new to latex
2. All the .png's are of the same size

2. All the .png's are of the same size
Figure Scales
But you must have a
Regards
buthesis.sty
file somewhere on your TeX system, maybe in your project folder. You could attach that one. When you post here below the editor field is a button »Upload attachment«.Regards
site moderator & package author