Dominique Bünzli wrote:
Hello,
I have a big table and a big picture (inserted via float --> figure
and then --> graphics) . The problem is that they are getting out of
the page when I export to pdf. LyX isn't resizing automatically the
table/picture so that it displays in whole in my output. Is there a
way to do that ?
Lyx can resize pictures - if you tell it to do so. Click the picture, bring
up the dialog and explore the sizing options. You can set absolute sizes
like
5cm or 2in, font-relative sizes like 10em or 14ex, and page relative sizes
like 33% of page width, 80% of line width, and several more.
A table will, by default, expand to hold everything you put inside.
If that is too much, it will extend into the right and lower margins,
and possibly off the page.
Too wide tables are fixed by clicking on the columns and setting a fixed
column width. Too long tables are fixed by using a longtable - and don't
put the longtable in a float. Long tables break over several pages, anf
can repeat the headers/footers on each page if you like.
The other question I have is how do you embed the pictures into the
lyx file ? Is it possible or do you have to keep the pictures apart
from the lyx file ?
You can't. Pictures are always separate. For easy distribution,
keep pictures in the same folder as the lyx file, and use an utility like
tar or zip to stuff it all into a single file for transportation purposes.
Helge Hafting