thank you.
best regards

2016-10-30 19:22 GMT+03:00 Paul A. Rubin <[email protected]>:

> On 10/30/2016 08:33 AM, edu Gpl wrote:
>
>
> please how i can let image height=textheight in lyx?
> like:
>
> \includegraphics[height=\textheight]{file}
>
>
> but without latex code, i mean by local layout or preamble, i tried to
> made local layout but failed.
> why i want that?
> this help me to add images like a symbols inside the line, i know i can do
> it by figure option but this let me change the image size when i change the
> font or the font sixe.
>
> regards
>
> * i hope the lyx dev add it in figure option ( in height set: % height of
> line).
>
> I'm not sure what you're asking. \textheight is the height of the area of
> the page that contains text (basically, page height minus margins). You can
> set the height of an image to 100% of text height in the current graphics
> insertion dialog, but it will make the image fill a page, and has nothing
> to do with font size.
>
> The standard unit for the height of a single line of text is "ex", which
> is approximately the height of a lower case "x". If you want the image
> height to match the height of a line of text, you'll want something between
> 1ex and 2ex, and closer to 2ex. Again, you can set this in the graphics
> dialog. The value of the "ex" unit automatically adjusts to the font you
> are using.
>
> To assign the same height (say 1.8ex) to a bunch of images, go to the
> "LaTeX and LyX options" tab in the graphics dialog, and in the "Graphics
> Group" section assign them all to the same group. The first time you do
> this, you will need to use the "Open new group..." button to create a group
> name (something like "inline" maybe?). Thereafter, the group will be in the
> select box. You only need to set the image height in the first image; all
> images in the group will automatically inherit all settings, including
> height.
>
> Paul
>

Reply via email to