Am 14.10.2010 21:09, schrieb iustifico:
But I only want to write Pseudecode. Which of these available languages suits for that?
This depend on the keywords that listings should recognize. Personally, I use Pascal for writing pseudocode.
Another question: Is it possible to write mathsymbols into this environment? CMD-M (MacOSX) doesn't seem to work...
This is possible, see the attached LyX file: - set the option mathescape = true for the listing - create the formula outside of the listing - copy the content of the formula (not the formula inset) to the clipboard via Ctrl-c - in the listing write $$ and paste between the dollar signs via Ctrl-v I'll add this info to the manual for LyX 1.6.8. regards Uwe
ListingsMath.lyx
Description: application/lyx