I'm using LyX for Hebrew documents. When I add a Verbatim environment with English language, sometimes after a little editing the language change automatically to LaTeX and the compiled Verbatim text shows up RTL and swapped ('hello' becomes 'olleh').
How can I change language back to English? Or is there a better way to show programming code inside a document?
[Tex/LaTex] How to write code examples in LyX
code-snippetslyxverbatim
Best Answer
In LyX, go to the Insert menu and choose "Program Listing".