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
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users