How do I tell LyX (2.3.6) that some inline text is code?  In LaTeX it would
be \lstinline`some code`, using the listings package, which I gather LyX
does.

There is an answer at https://wiki.lyx.org/Layouts/modules#toc4, but it
includes a dead link.*  A web search doesn't turn up the file,
listings.module, anywhere else, or does it seem to be in the Debian
packages in my (old) distribution (Debian 11/bullseye) I use.  Other
answers on the net refer to modules that I don't see.

Perhaps it's already built in, but I don't see it mentioned in the
documentation.  In particular, I don't know how to indicate that some text
should be in this mode.

More generally, if I have a bunch of special types of text, in LaTeX I'd
define a macro for each.  What do I do in LyX?

I realize I could just drop into raw LaTeX/ERB and give the commands as I
would in regular LaTeX, but I am hoping there's something more elegant.

Thanks.

Ross Boylan

*The link is to the Max Planck Institute and the author of the code is
Laura Dietz.  She is not listed in their current directory, and I presume
all the links to her stuff on https://wiki.lyx.org/Layouts/modules are
broken.  She appears to have moved to the University of New Hampshire; I
don't see the files there either.
-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to