Hi Sajjad, This reminds me of Bob's solution for Matlab2tex. Maybe you can use his trick for C++. see http://www.mail-archive.com/[email protected]/msg73865.html
I would like to hear how you solved it. Best, Erez On Sun, Jun 7, 2009 at 12:55 PM, Sajjad <[email protected]> wrote: > Hello forum, > > I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as > follows: > > 1. Inserted a float algorithm . > 2. Pasted the code snippet inside that > > > But the code is not well formatted > > Any hint on how to keep the format ? > > > Regards > Sajjad > -- Erez Yerushalmi PhD Student Warwick University, UK homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw
