Re: [NTG-context] yscale not working

2021-06-05 Thread Wolfgang Schuster

Hans van der Meer schrieb am 05.06.2021 um 17:59:
Why is there no effect of the yscale parameter in \externalfigure when 
the width-parameter is given? In the MWE it is the intention to 
stretch the height of the figure by a factor of two. But nothing 
happens. Leaving out the width does stretch the height, but then it 
becomes too wide.


Not all scaling and sizing combinations can be used at the same time.

To get both effects you can use \scale to stretch the figure to the 
desired height.


\scale[sy=2]{\externalfigure[...][width=.5\textwidth]}

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] yscale not working

2021-06-05 Thread Hans van der Meer
Why is there no effect of the yscale parameter in \externalfigure when the width-parameter is given? In the MWE it is the intention to stretch the height of the figure by a factor of two. But nothing happens. Leaving out the width does stretch the height, but then it becomes too wide.\starttextTest \tex{externalfigure} scaling - \ConTeXt\ \contextversion\blank\type{\externalfigure[test][width=0.50\textwidth]}\crlf\externalfigure[test][width=0.50\textwidth]\blank\type{\externalfigure[test][width=0.50\textwidth,yscale=2000]}\crlf\externalfigure[test][width=0.50\textwidth,yscale=2000]\stoptext

scaling.pdf
Description: Adobe PDF document

dr. Hans van der Meer


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___