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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- 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 5103 times
-
- D152-2K.png (201.11 KiB) Viewed 5104 times
-
- test.tex
- (300 Bytes) Downloaded 196 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