On Thursday 03 December 2009 06:59:25 Luke Venediger wrote:
> Hi Guys,
> 
> Is it possible to mark certain lines in a Program Listing in Lyx? I'm
> writing a book and want to point out certain things in code examples. I'm
> trying to get the same effect as the one used by Mark Pilgrim, see
> http://diveintopython.org/native_data_types/lists.html#d0e5623  (example
> 3.6)
> 
> Many Thanks,
> Luke Venediger
> My book: Erlang for Skeptics: http://erlangforskeptics.com/book/

There are probably a hundred ways to do it. The way that occurs to me is to 
create a new environment -- call it lyx-code-marked, from the lyx-code 
environment. lyx-code-marked would be a different color. So you would change 
the environment of the marked lines from lyx-code to lyx-code-marked.

HTH

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt

Reply via email to