Hello folks,
What is the best way to insert source code in a LibreText documents? I saw the comment to not use the <pre> </pre> tags. Of course, the source should be shown inside a box with a uniform width font. Boundaries for the box are optional, so that they can be there or omitted. The box should be centered horizontally in the page, along with a caption.
Krista