On Fri, Aug 26, 2011 at 9: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 > > I suppose I could use negative \vspace to compensate for that, but it's > really annoying to have to do it for every picture and table. > As you mentioned, you can use Insert > Vertical space with a negative value around floats. You may also experiment with including the negative vspace inside the float. As for defaults, you could copy/paste the correctly spaced float every time you need one.
Alternatively, you could go for something similar to the following: command-sequence float-insert figure; escape; escape; break-paragraph; inset-insert vspace -1cm (Be sure to check that e-mail formatting hasn't inserted anything funny in the command above.) You can test this using View > Toolbars > Command buffer, and you can use it as a custom shortcut (see Tools > Prefs > Editing) or even modify the default buttons on the LyX toolbar (see stdtoolbars.inc and search the archives for more info on how to do that). To understand and modify the command above check Help > LyX functions. Another thing to investigate is using a Page of Floats default placement. Regards Liviu > So: is there a way to tell Lyx to make the spaces around floats small by > default? > > Thank you so much for your time and help! > Lastalda > > > > -- > View this message in context: > http://lyx.475766.n2.nabble.com/Space-around-floats-tp6727759p6727759.html > Sent from the LyX - Users mailing list archive at Nabble.com. > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
