Add the following to .lyx/externaltemplates
(modify accordingly to python, this is C++ (cpp)
Template CppKod
GuiName "[C++ $$Basename]"
HelpText
Snyggar till C++ kod
HelpTextEnd
InputFormat cpp
FileFilter "*.{cpp,h,hpp,c}"
ViewComman
John Pye wrote:
Hi all
In some Latex documentation for various things, I have seen source code
snippets inserted that show up nicely with syntax highlighting. Is there
any way I can do that with LyX?
So for example, let's say I write an algorithm using some python code. I
want to put the code i
Hi all
In some Latex documentation for various things, I have seen source code
snippets inserted that show up nicely with syntax highlighting. Is there
any way I can do that with LyX?
So for example, let's say I write an algorithm using some python code. I
want to put the code into a report, and