Helge Hafting wrote:

> I am writing a book where I put source code in algorithm floats.
> I want to place the listing number in the outer margin besides
> the float.  I also want figure numbers placed in the same manner.
> This makes it easier for the reader, who may scan the margins
> quickly looking for the right figure/algorithm number.
> 
> Is this possible at all?  I 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.

Herbert




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

Reply via email to