Formatting Python code

Rich Shepard rshepard at appl-ecosys.com
Fri May 27 19:01:54 UTC 2022


I'm trying to format Python code in a document, but cannot properly set
indentation and long lines without them breaking. The document class is KOMA
Article.

I've set the code environment to LyX-Code.

Reading the User Guide, I don't find a section on LyX-Code; Section 6.10 is
TeX Code and the LaTeX Syntax. That's not what I want.

What have I missed?

Rich


More information about the lyx-users mailing list