that is too bad. i really should say that latex ought to be the best
application to calculate the height of the caption - so i can fit the
image-float on a page without overshooting anything.

perhaps one could do a hack with some ERT?


martin

On 12/12/05, Geoffrey Lloyd <[EMAIL PROTECTED]> wrote:
>
> On Mon, 12 Dec 2005, Martin A. Hansen wrote:
>
> > ok - setting the width option to 0 something-else-than-scale% and then
> > height to 100 theight% (and keep aspect ratio) that set the image height
> to
> > the full height of the text-body. that is nice.
> >
> > however
> >
> >
> > the caption now conflicts with the footer ... that was not what i meant!
> >
>
> You can only scale images, I am not sure you can scale floats which is
> what you are thinking happens.
>
> The float is the image+caption. So really the scaling of the image, to fit
> the float on your page, will depend how much space your caption takes up.
>
> For this you really need to proceed by trial and error. Now you know how
> to sclae your image you will just have to play a bit.
>
> >
> >
> > martin
> >
> > On 12/12/05, Martin A. Hansen <[EMAIL PROTECTED]> wrote:
> >>
> >> the problem is, that you cannot set width to 0 scale% and then adjust
> the
> >> height option. the height option is locked as long as the width is set
> to
> >> scale%.
> >>
> >>
> >> martin
> >>
> >> On 12/12/05, Geoffrey Lloyd <[EMAIL PROTECTED]> wrote:
> >>>
> >>> On Mon, 12 Dec 2005, Martin A. Hansen wrote:
> >>>
> >>>> i am still confused.
> >>>>
> >>>> page% -> that is the width of the page from paper edge to paper edge?
> >>>> line%  -> that is the width from from margin to margin? or is that
> >>> text%
> >>>>
> >>>> and which of these settings include footer and header - that would be
> >>>> pheight% as opposed to theight%?
> >>>>
> >>>> actually, these abbreviations are not very logic - i can choose width
> >>> =
> >>>> theight and hight=text - i find that confusing.
> >>>>
> >>>> my current problem is a narrow, figure that is quite high. i would
> >>> like it
> >>>> to be rescaled maintaining aspect ratio, but the height should be
> >>> fitted to
> >>>> the height of the text-body - so it doesnt go over the edge of the
> >>> paper, or
> >>>> interferes with the footer or header.
> >>>
> >>>
> >>> Simply set Width to 0 scale% and height to 100 theight% and select
> >>> 'maintain aspect ratio'
> >>>
> >>> Tell me if this works
> >>>
> >>>> random things to get there. first of all, since the determining
> factor
> >>> is
> >>>> the height, i need to adjust the height option - and to do that - i
> >>> have to
> >>>> alter the width option from "scale%" to something else. but in doing
> >>> that -
> >>>> i may be setting the determining factor to something width related???
> >>> but i
> >>>> must set the width option to something before i am allowed to set the
> >>> height
> >>>> option....
> >>>>
> >>>> so with widht=theight% height=theight% and aspect ratio selected.
> that
> >>>> results in the figure overshooting the right margin - but the bottom
> >>> margin
> >>>> is ok.
> >>>>
> >>>> - and with width=line% and height=theight% and aspect ratio selected
> -
> >>> and
> >>>> the result overshoots the bottom margin - but the right margin is ok.
> >>>>
> >>>> now, i am pretty sure that it should be possible in a reasonable
> >>> amount of
> >>>> time to get these settings set so that both the right and bottom
> >>> margin
> >>>> overshoots - but how to get it right?
> >>>
> >>> You dont have to set every setting. Just choose the ones that make
> snese
> >>> and set the others to 0
> >>>>
> >>>
> >>>
> >>>
> >>>>
> >>>> martin
> >>>>
> >>>>
> >>>>
> >>>> On 12/12/05, Geoffrey Lloyd <[EMAIL PROTECTED]> wrote:
> >>>>>
> >>>>>
> >>>>> On Mon, 12 Dec 2005, Martin A. Hansen wrote:
> >>>>>
> >>>>>> i have been trying to figure out how the different settings in
> >>>>>> graphic-output works.
> >>>>>>
> >>>>>> what are the meaning of these ( this is not mentioned in the
> docs?!?
> >>> ) ?
> >>>>>>
> >>>>>> text%
> >>>>>> col%
> >>>>>> page%
> >>>>>> line%
> >>>>>> theight%
> >>>>>> pheight%
> >>>>>
> >>>>> THese allow you to scale the image as you want it to be on the page.
> >>> So
> >>>>> say your original graphic is A4 sized but you want it to be much
> >>> smaller
> >>>>> in print then the following are useful
> >>>>>
> >>>>> text% - this is percentage of text width
> >>>>> col%  -                       column width
> >>>>> page% -                       page width
> >>>>> line% -                       line width
> >>>>> theight% -                    text height
> >>>>> pheight% -                    page height
> >>>>>
> >>>>> So you can set either the width or height of the image. Using the
> >>>>> 'maintain aspect ratio' box locks the figure so that if you halve
> the
> >>>>> width you also halve the height. It stops the figure getting
> >>> distorted.
> >>>>> However you can set the height and width thus forcing the image to
> >>>>> distort.
> >>>>>
> >>>>> In general i set the width of my figures so they look how i want
> >>> (taking
> >>>>> in to account the aspect ratio) and use the text% option.
> >>>>>
> >>>>> Just play about and see what suits.
> >>>>>
> >>>>> Geoff
> >>>>>
> >>>>>>
> >>>>>> when to use which?
> >>>>>>
> >>>>>> moreover, when to set height and width?
> >>>>>>
> >>>>>> and when to use the "maintain aspect ratio" button?
> >>>>>>
> >>>>>>
> >>>>>> martin
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>
> >>
> >
>

Reply via email to