On 22 Aug, Christian Ridderström wrote:
> On Fri, 22 Aug 2003, Diab Jerius wrote:
> 
>> I'm using lyx-1.3.2, xforms.
>> 
>> I'm generating a page of "thumbnail" images and need to specify the
>> graphics height as a percentage of the text height.  The width should
>> scale with the height, as it is not the constraining dimension.
>> 
>> What I'd like to get is the equivalent of
>> 
>>      \includegraphics[height=0.2\textheight]{foo.ps}
>> 
>> I can't figure out how to do this.
>> 
>> In order to make the Height input box active, I select anything but
>> Scale% for the Width.  I then select text% for Height, but it translates
>> that to textwidth, not textheight, in the output LaTeX.
>> 
> 
> IIRC, just set the horizontal value to 0cm or something. Lyx uses the 
> largest value, if you have clicked keep proportions.
> 
> /Christian
> 

Hmm. no go.  LyX still translates that to a textwidth

\includegraphics[%
  bb=36bp 236bp 577bp 529bp,
  clip,
  height=0.2\textwidth,
  keepaspectratio]{graphics/02+hrma_00.00:01.00.ps}&

Reply via email to