Ares wrote: > Is there a way not to load a (default) package in LyX? in this case I > could load it "manually" in the preamble. Is there a way to "unload" a > package in LaTeX in the preamle?
As I already said in my previous mail: Only by _not_ using the (native) feature. In your case: Don't use the algorithm float. Instead, write in ERT \begin{algorithm} <content> \end{algorithm} Then you can load all packages manually in the preamble by entering: \usepackage{float} \usepackage{hyperref} \floatstyle{ruled} \newfloat{algorithm}{tbp}{loa} \floatname{algorithm}{Algorithm} See the attached example, where I modified your testcase accordingly. Jürgen P.S.: I know, the long term solution is a better package management in LyX. The developers are aware of that, only nobody volunteered to implement it so far.
lyxalgo.lyx
Description: application/lyx