Steve Litt wrote:
I exported to LaTeX, and it indeed did turn my underscores into \_ commands.
Within LaTeX, if I deleted the underscores, it wouldn't compile. I guess an
underscore is some kind of a LaTeX reserved word.
So, your MiKTeX 2.6 on WinXP gives \_ the right monospace width, but my latex
command on Mandriva Linux 2007 does not.
I'm wondering if there's some other command to get an underscore.
I might be getting lost (well, more lost than usual) here. First,
responding to your other message where you said putting the backslashes
into LyX failed, did you do that in ERT? If you type a backslash into
text in LyX, I think it gets escaped (so that it's treated as a literal
backslash).
Re your Mandriva output, are you saying that \_ in the LaTeX file,
inside a LyX-code environment, produces proportionally spaced (or
monospaced with inadequate width) underscores? If so, what are you
using for a typewriter font? It doesn't seem that this should be
OS-specific.
/Paul