inline code and other formatting issues

Ross Boylan rossboylan at stanfordalumni.org
Mon Feb 9 21:50:03 UTC 2026


On Mon, Feb 9, 2026 at 8:20 AM Paul Rubin <parubin73 at gmail.com> wrote:

> I don't know about LyX 2.36, but in 2.4.4 you can select the text, execute
> Insert > Program Listing, then right-click the listing, click Settings...
> and check Inline listing.
>
> Paul
>

Thanks!  That works in 2.3.6 too.

But that's a lot of work for something I do frequently.  Is there a way to
make it more like Noun, which is what I've been using as a substitute?
Noun can be invoked with [Alt-C C] or the button on the toolbar.

I've been spoiled by markdown which allows `inline code` by just enclosing
it in backticks

Ross

P.S. I'm probably going to write a script that works directly on the .lyx
file to rewrite all my current nouns to be inline code.  The search and
replace tool in LyX doesn't seem to do formatting.  I suppose one approach
would be to continue entering code as nouns and then post-processing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20260209/6db0ce03/attachment.htm>


More information about the lyx-users mailing list