Limit the width of imported graphics

Suppose you have graphics which may or may not be able to fit within the width of the page; if they will fit, you want to set them at their natural size, but otherwise you want to scale the whole picture so that it fits within the page width.

You do this by delving into the innards of the graphics package (which of course needs a little LaTeX internals programming):


This defines a “variable” width which has the properties you want. Replace \linewidth if you have a different constraint on the width of the graphic.

Use the command as follows:


Source: Limit the width of imported graphics

3_composition/illustrations/inclure_une_image/limiter_la_taille_d_une_image.txt · Dernière modification: 2018/12/04 00:18 par jejust
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0