[XeTeX] strange difference
Jaxon Warner
jaxonsaxon9 at gmail.com
Tue May 31 18:20:34 CEST 2022
unsubscribe
On Tue, May 31, 2022, 12:19 PM Heiko Oberdiek via XeTeX <xetex at tug.org>
wrote:
>
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20220531/f7366994/attachment.html>
More information about the XeTeX
mailing list.