Create a custom inset for the listings package
ehud.behar at protonmail.com
ehud.behar at protonmail.com
Thu Mar 3 16:13:46 UTC 2022
I want to create a custom inset for the listings package.
The LaTeX command for displayed code should be as follows:
\lstinline$code goes here$
or
\lstinline!code goes here!
( Sometimes it is better to type the code inside $$ or !! instead of {} )
How can I tell lyx that ! or $ should be the command delimiters?
What I have at the moment is this:
InsetLayout Flex:listing
LyXType custom
LabelString "lstlisting"
LatexType Command
LatexName lstlisting
Decoration classic
NeedProtect 0
End
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220303/e615704e/attachment.html>
More information about the lyx-users
mailing list