General ⇒ include pictures with wrong scale
include pictures with wrong scale
I have 2 pictures with the same size (712x484). I used \includegraphics(width=6.5cm){filename) to add them into my paper but the pictures appearing in the pdf document have different heights.
In my opinion, because the pictures have the same size and I set the same widths, their heights should be the same. Has anybody met this problem? Please give me a solution for this. Many thanks in advance.
Hai
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
include pictures with wrong scale
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: include pictures with wrong scale
- Attachments
-
- D164-2K.PNG (196.94 KiB) Viewed 5788 times
-
- D152-2K.png (201.11 KiB) Viewed 5789 times
-
- test.tex
- (300 Bytes) Downloaded 225 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
include pictures with wrong scale
- d152-2k.png
- x-resolution: 72.009 px/in
- y-resolution: 72.009 px/in
- d164-2k.png
- x-resolution: 74.981 px/in
- y-resolution: 67.996 px/in
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
include pictures with wrong scale
Code: Select all
\includegraphics[width=6cm,height=4.08cm]{d152-2k}
Re: include pictures with wrong scale
That's the perfect answer. I knew that I was wrong, not Latex but I did not know what it was.
Hai