Dekel Tsur wrote:
>
> In latex you can either
> 1) Set only the width (the height is chosen such that aspect ratio is kept)
> 2) Set only the height (the width is chosen such that aspect ratio is kept)
> 3) Set both width & height (aspect ratio is not kept)
> 4) Set both width & height and use the keepaspectratio options:
> the image is scaled keeping the aspect ratio, such that neither of the two
> dimensions is exceeded.
> 
> With your suggestion, 1 & 4 are not possible.

How about following:

------------------------------------------------------

     Width  [______] [u]
     Height [______] [u]

     [X] keep aspect ratio

------------------------------------------------------

You can do all 4 options now:

1) Enter Width, leave Height blank, [X] has no effect
2) Enter Height, leave Width blank, [X] has no effect
3) Enter Width and Height, do NOT check [X]
4) Enter Width and Height, do check [X]

Maybe better to disable [X] when one of Width/Height is left blank.

Something else instead of "keep aspect ratio", may be better.


> In my opinion, this should be removed completely.
> Then we can move the "LyX view scale" to the "Extras" tab,
> and delete the "LyX View" tab.

Hmmm, imagine:
1) A large document; and I've choosen in the prefs to not display the graphs.
    When typing text that is related to a particular graph, I would like to
    display that graph temporarily, while typing/altering the text.
    In this case, I would not want to touch the global preference for this.

2) creating a new graph; I want to set the size, clip bounding boxes etc.
    until it looks okay; I must select to display this graph until I'm
    done with the settings; after that I'll select "default", i.e. don't display.

These two useful cases need a separate setting for viewing each graph in LyX.

Rob.

Reply via email to