[XeTeX] strange difference

JW jaxonsaxon9 at gmail.com
Thu Jun 2 13:44:40 CEST 2022


UNSUBSCRIBE!













On 6/2/22 04:17, Ulrike Fischer wrote:
> Am Wed, 1 Jun 2022 17:39:22 +0000 (UTC) schrieb Apostolos Syropoulos
> via XeTeX:
>
>
>> Hi Julius, In different words: When I place an image in the middle
>> of an A4 page,the final PDF will be a A4 page but if turn the
>> same image, the final PDF will not fit inside an A4 page, right?
> It depends on the class. The standalone class adapts the page size
> to the content. So if you put something large in it you get a large
> page size. The article class does not adapt the page size. If you
> put something too large in it you get overfull box messages and part
> of the content can be clipped at the border.
>
>
> Your starting example used local images and fonts so couldn't be
> tested, but as Heiko wrote: rotating can enlarge content and white
> space in the image can suddenly matter:
>
> \documentclass{article}
> \usepackage{graphicx}
> \begin{document}
> \fbox{\includegraphics[trim=0 0 -100 0, width=5cm]{example-image}}
>
> \fbox{\includegraphics[trim=0 0 -100 0, width=5cm,
> angle=45]{example-image}}
> \end{document}
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xna.jpg
Type: image/jpeg
Size: 164011 bytes
Desc: not available
URL: <https://tug.org/pipermail/xetex/attachments/20220602/714cb538/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: na.jpg
Type: image/jpeg
Size: 32364 bytes
Desc: not available
URL: <https://tug.org/pipermail/xetex/attachments/20220602/714cb538/attachment-0003.jpg>


More information about the XeTeX mailing list.