On 2022-05-29 21:16, Apostolos Syropoulos via XeTeX wrote:
[...] The two files differ as follows: 28,29c28,29 < \node[inner sep=0pt] (light) at (1,2.1) < {\includegraphics[scale=0.1]{TRAIN-crop.pdf}}; ---\node[inner sep=0pt] (light) at (5.2,3.5) {\includegraphics[scale=0.1,angle=45]{TRAIN-crop.pdf}};
>
The question is why do I get different paper sizes?
You know that the size of the second \includegraphics with angle=45 is different? The size of the second \includegraphics is a *square*. If w1 and h1 are the width and height of the first \includegraphics, then the width w2 and h2 of the second \includegraphics with angle=45 are: w2 = h2 = sqrt(1/2) * (w1 + h1) or w2 + h2 ------- = sqrt(2) ≈ 1.4142 w1 + h1 Yours sincerely Heiko
