[NTG-context] external figure sizing

Csikos Bela bcsikos425 at freemail.hu
Mon May 11 17:27:05 CEST 2015

"Peter Münster" írta:
>On Sat, May 09 2015, Csikos Bela wrote:
>> \placefigure, \externalfigure and combinations. The images should be scaled to the
>> same size, eg to .25\textwith and .3\textheight so that the  aspect ratios of the images
>> are kept and the appropriate value is used for width or height.
>What is the "appropriate" value?

The calculated value which pairs with < or = to the other calculated value.
For example if  the height calculated for .25\textwidth is less than .3\textheight
then .25\textwidth else .3\textheight should be used for calculating the size of
the image.

>> That is the smaller value from .25\textwith and .3\textheight is used
>> for the image size.
>"The smaller value from .25\textwith and .3\textheight" does only depend
>on the layout, but not on the image.

Of course, but the layout determines how the images has to be scaled.

>This is perhaps, what you need:  maxwidth=..., maxheight=...

Exactly, this is what I need. 



More information about the ntg-context mailing list