When I use different types of pictures (png and pdf) although defining them with same size, I get different sizes as can be seen in the following picture. Here are the packages and code I use:

        \caption{Accuracy Results }

And here are the packages etc:

    %!PS-Adobe-3.0 EPSF-3.0
    %%BoundingBox: 19 19 221 221
    %%CreationDate: Mon Sep 29 1997
    %%Creator: programmed by hand (JK)
    20 20 moveto
    20 220 lineto
    220 220 lineto
    220 20 lineto
    2 setlinewidth
    .4 setgray fill
%\documentclass{svjour3}                     % onecolumn (standard format)
%\documentclass[smallcondensed]{svjour3}     % onecolumn (ditto)
\documentclass[smallextended]{svjour3}       % onecolumn (second format)
%\documentclass[twocolumn]{svjour3}          % twocolumn
%\smartqed  % flush right qed marks, e.g. at end of proof
% \usepackage{mathptmx}      % use Times fonts if available on your TeX system
% insert here the call for the packages your document requires
% etc.

% \documentclass{article}


\usepackage{tabularx, booktabs, makecell} %




% please place your own definitions here and don't use \def but
% \newcommand{}{}
% Insert the name of "your journal" with
% \journalname{myjournal}

   ... // insert the above code here!!!!

Here is the results of \fbox:


enter image description here

  • Most likely the pdf pictures have a white border. Did you check that they have not? – user121799 Aug 27 '18 at 13:03
  • Can you please explain me how to check it? I produce the PDF from excel same as the PNG. – Avi Aug 27 '18 at 13:08
  • for example with \fbox: \fbox{includegraphics[width=7.5cm]{Figure32Graph28e.pdf}} and see how much white space is between frame and imge. – Zarko Aug 27 '18 at 13:09
  • Can you please elaborate how can I fix it? – Avi Aug 27 '18 at 13:10
  • 1
    @Avi, you have many options: (i) see if you can export images without white space, (ii) by some image tool remove white space, (iii) use trim function as suggest @marmot, or (iv) redraw images with some \latext package, for example with pgfplots (to my opinion this would give the best result). at trimming is usual used method trial and error ... – Zarko Aug 27 '18 at 15:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.