Re: \enlargethispage{\baselineskip}
Guenter Milde writes: [snip] >command-sequence ert-insert; self-insert \enlargethispage{\baselineskip} Right on Guenter - problem solved ! Cheers -Ralf
Re: \enlargethispage{\baselineskip}
On 2009-06-11, Ralf wrote: > Guenter Milde writes: >> On 2009-06-10, Ralf wrote: >> How about creating this keybinding yourself? > + Alright, probably worthwhile to get familiar with Macros sooner or > later - but probably later for me, no time ... I found an even longer example in my bind file: # insert a centered graphic in a figure float: \bind "C-S-B" "command-sequence float-insert figure; break-paragraph; ert-insert; self-insert \centering ;inset-toggle;graphics-insert" which could be scaled down to your needs: * Open Werkzeuge>Einstellungen>Bearbeiten>Tastenkürzel * Click on the button [Neu]. * Insert command-sequence ert-insert; self-insert \enlargethispage{\baselineskip} as "Funktion". * Set a binding. * [OK] Günter
Re: \enlargethispage{\baselineskip}
Guenter Milde writes: [snip] > On 2009-06-10, Ralf wrote: > > how often do we need the \enlargethispage{\baselineskip} ? > I don't think this is widely used/needed by the general public. + yes, seems like it > How about creating this keybinding yourself? + Alright, probably worthwhile to get familiar with Macros sooner or later - but probably later for me, no time ... > It should be something like > "command-sequence; ert-insert; insert \enlargethispage{\baselineskip}" [snip] > Make sure to document your solution, either in a follow up or (more > durable) in the LyX wiki at wiki.lyx.org. ok Cheers -Ralf
Re: \enlargethispage{\baselineskip}
On 2009-06-10, Ralf wrote: > Hi All, > how often do we need the \enlargethispage{\baselineskip} ? > Well, I use it quite a lot since I have a lot of large figures and sometimes I > just need an extra line to keep it all together. > Instead of typing the ERT each time, it would be fancy to have a button > (and/or shortcut) that includes it ... how do you folks think? I don't think this is widely used/needed by the general public. How about creating this keybinding yourself? It should be something like "command-sequence; ert-insert; insert \enlargethispage{\baselineskip}" I do not remember the exact macro names now. * Have a look at the LyX wiki for help with customizing bindings using "command-sequence". * Try the command sequence in the minibuffer (Alt-x ...) first. Alternatively, you could consider defining a special Style in a layout module and select it via the Style drop-down list (or again a shortcut). Make sure to document your solution, either in a follow up or (more durable) in the LyX wiki at wiki.lyx.org. Günter
Re: \enlargethispage{\baselineskip}
Steve Litt writes: [snip] > I use \enlargethispage on my eBook book cover, but I really don't understand > it. What you said about keeping something all together sounded interesting, > because I know as figures start approaching 1/4 page in each length, ugly > spacing issues happen. Could you please explain the details of > \enlargethispage to all of us? well, I am far from being a pro, but \enlargethispage simply does that: enlarge the current page - from a latex documentation: \enlargethispage{size}: "Enlarge the \textheight for the current page by the specified amount; e.g. \enlargethispage{\baselineskip} will allow one additional line" \enlargethispage*{size}: "The starred form tries to squeeze the material together on the page as much as possible. This is normally used together with an explicit \pagebreak" if you have a lot of large figures in a chapter (which i do) it can be difficult to have them in the place where you would like them and also have a good looking text - enlargethispage gives you an additional amount of freedom in that case, so that the paragraph does not continue on the next page with only a few words Cheers -Ralf
Re: \enlargethispage{\baselineskip}
On Wednesday 10 June 2009 11:46:10 am Paul A. Rubin wrote: > Ralf wrote: > > how often do we need the \enlargethispage{\baselineskip} ? > > Well, I use it quite a lot since I have a lot of large figures and > > sometimes I just need an extra line to keep it all together. > > > > Instead of typing the ERT each time, it would be fancy to have a button > > (and/or shortcut) that includes it ... how do you folks think? > > I've never used it myself. You could bind it to some shortcut easily > enough. Personally, I wouldn't be too excited about a permanent binding > -- just more clutter in my case. > > /Paul Ralf, I use \enlargethispage on my eBook book cover, but I really don't understand it. What you said about keeping something all together sounded interesting, because I know as figures start approaching 1/4 page in each length, ugly spacing issues happen. Could you please explain the details of \enlargethispage to all of us? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: \enlargethispage{\baselineskip}
Ralf wrote: how often do we need the \enlargethispage{\baselineskip} ? Well, I use it quite a lot since I have a lot of large figures and sometimes I just need an extra line to keep it all together. Instead of typing the ERT each time, it would be fancy to have a button (and/or shortcut) that includes it ... how do you folks think? I've never used it myself. You could bind it to some shortcut easily enough. Personally, I wouldn't be too excited about a permanent binding -- just more clutter in my case. /Paul
\enlargethispage{\baselineskip}
Hi All, how often do we need the \enlargethispage{\baselineskip} ? Well, I use it quite a lot since I have a lot of large figures and sometimes I just need an extra line to keep it all together. Instead of typing the ERT each time, it would be fancy to have a button (and/or shortcut) that includes it ... how do you folks think? Cheers -Ralf