Can you help me make output of \code{} in inline logical markup look similar to the listings output for code sections? I'd like to do this in a Beamer slideshow.
The \code{} result is typewriter font, but not colorized like the listings output I'm using. I found out here: https://tex.stackexchange.com/questions/28179/colored-background-in-inline-listings that I can insert \usepackage{realbox} \definecolor{light-gray}{gray}{0.95} in the preamble and get more-or less what I want from \Colorbox, with ERT like this \Colorbox{light-gray}{\lstinline{A=@#$%^&*()1}} I don't want to manually type that (or something like it) every place where I've used the LyX right-click code logical markup. Would you tell me if I can redefine \code{} in preamble? -- Paul E. Johnson http://pj.freefaculty.org Director, Center for Research Methods and Data Analysis http://crmda.ku.edu To write to me directly, please address me at pauljohn at ku.edu.