Skip to main content

Section 3.10 Programs and Consoles

If you are writing about scientific or engineering topics, you may wish to include sample computer programs, or command-line sessions. A <program> will contain a complete computer program, or a portion of the code from a program. A <console> holds a command-line session. These elements feature monospace fonts, preservation of whitespace, and syntax highlighting. See Section 4.14 for details.