3

Possible Duplicate:
Ruby highlighter for LaTeX

I am working on a tutorials document / short book and I was wondering if there is a way to use Ruby colour code highlight within Lyx ? I have google and tried several approaches but the best I could find was this http://www.tux-crazy.com/2011/11/tips-to-get-you-started-with-lyx-part-2.html and it just make some keywords highlighted in bold or 1 colour - hardly ideal for tutorials.

Is syntax highlighting for Ruby possible in an efficient and eye candy way on lyx ?

marked as duplicate by Werner, Daniel, percusse, Tom Bombadil, Thorsten Aug 28 '12 at 6:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

migrated from stackoverflow.com Aug 27 '12 at 21:56

This question came from our site for professional and enthusiast programmers.

  • Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. – Werner Aug 27 '12 at 21:57
  • What exactly have you tried and what do you exactly expect from the result? Also have a look at the documentation for the listing package which offers supports Ruby and is highly customisable. (Follow the link in the comment above for a example). – jrast Aug 27 '12 at 22:16