Hi
On Fri, Aug 26, 2011 at 2:58 AM, Lastalda <[email protected]> wrote:
> I'm trying to write my diploma thesis in Lyx. So far I'm managing mostly
> fine, but I'm very annoyed by the huge free space Lyx creates around floats.
> It looks terrible - and it's most annoying when this space is the only
> reason that the last 1 or 2 lines of a subsection are jostled to the next
> page.
> Example:
> http://lyx.475766.n2.nabble.com/file/n6727759/Diplomarbeit7%2B8.pdf
> Diplomarbeit7%2B8.pdf
That document is not available to me now, but can I suggest something
(just guessing after helping lots of students)? Find out why your
inserted document has so much white space around it.
WHen my students make figures with R, for example, sometimes they are
careless. A postscript file that is not created correctly has no
bounding box, and so LaTeX sees a whole page where you see only a
small figure. In pdf figures, the default will mark off giant margins
and LaTeX respects what is in the figure.
I do LaTeX documents all the time and I never see any huge margins if
the graphics are created correctly.
pj
ps. graphics are not automatically centered in figures, but there is
preamble magic to make them all come out that way. Here's part of the
boilerplate I use:
\usepackage{ifthen}
\renewenvironment{figure}[1][]{%
\ifthenelse{\equal{#1}{}}{%
\@float{figure}
}{%
\@float{figure}[#1]%
}%
\centering
}{%
\end@float
}
\renewenvironment{table}[1][]{%
\ifthenelse{\equal{#1}{}}{%
\@float{table}
}{%
\@float{table}[#1]%
}%
\centering
}{%
\end@float
}
--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas