Helge Hafting wrote:

> Herbert Voss wrote:
> [...]
> 
>>>have written some latex macros to
>>>get the kind of listings I want, but \marginpar fails
>>>inside a float.  Is there another way of achieving something similiar?
>>>
>>do you really need the floats? Or is it only the caption
>>which is important for you? If yes, than try the nonfloat
>>package, or controll the figure/algorithm counter by yourself.
>>
> 
> I need floats because the listings tend to be half a page or so,
> causing lots of early page breaks if I use minipages.  I don't
> want to break the page in the middle of code either.  That gets
> awkward because I use two columns.


why do you use minipages, when you insert only listings?
you can try

http://www.lyx.org/help/floats/nonFloat.php3

or package listings http://www.lyx.org/help/listings/listings.php3


in both cases margins should be possible


Herbert




-- 
http://www.lyx.org/help/

Reply via email to