<div dir="auto">unsubscribe</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 31, 2022, 12:19 PM Heiko Oberdiek via XeTeX <<a href="mailto:xetex@tug.org">xetex@tug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On 2022-05-29 21:16, Apostolos Syropoulos via XeTeX wrote:<br>
<br>
> [...] The two files differ as follows:<br>
> <br>
> 28,29c28,29<br>
> <     \node[inner sep=0pt] (light) at (1,2.1)<br>
> <     {\includegraphics[scale=0.1]{TRAIN-crop.pdf}};<br>
> ---<br>
>>     \node[inner sep=0pt] (light) at (5.2,3.5)<br>
>>     {\includegraphics[scale=0.1,angle=45]{TRAIN-crop.pdf}};<br>
 ><br>
> The question is why do I get different paper sizes?<br>
<br>
You know that the size of the second \includegraphics with angle=45<br>
is different?<br>
<br>
The size of the second \includegraphics is a *square*. If w1 and h1<br>
are the width and height of the first \includegraphics, then<br>
the width w2 and h2 of the second \includegraphics with angle=45 are:<br>
<br>
   w2 = h2 = sqrt(1/2) * (w1 + h1)<br>
<br>
or<br>
   w2 + h2<br>
   ------- = sqrt(2) ≈ 1.4142<br>
   w1 + h1<br>
<br>
Yours sincerely<br>
   Heiko<br>
</blockquote></div>