GERALD STIEBEL wrote: > | how can i to induce lyx to show my source code in a frame and colored? > | perhaps it's possible to mutate the file stdfloats.inc!?
Use the listings package: http://www.ctan.org/tex-archive/macros/latex/contrib/listings/ Unfortunately, LyX has no native listings support (yet). So you are stuck on ERT (TeX mode). HTH, Jürgen