From: Armin Roehrl Date: 2001-12-09T08:22:34+09:00 Subject: [ruby-talk:27981] Re: Displaying Ruby code in LaTeX On Sunday 09 December 2001 00:17, you wrote: > Has anyone written a document in LaTeX that includes examples of Ruby > code? > > I'm having all sorts of problems, because Ruby uses many characters that > mean something to LaTeX. I tried to escape everything that was > conflicting, but it's becoming a nightmare. > > I even tried the verbatim environment, but that seems to screw up the > indentation in a lot of cases. Really? It shouldn't. We used it for our entire book. Maybe you have some weird chars your editor does not show? > So, can anyone give me an example of doing this, or suggest how I might > attack it? Good luck, Armin. ----------------------------------------------- Armin Roehrl, http://www.approximity.com