☰ Click for Table of Contents
BookWiki Documentation
Copyright 2026
Rance D. Necaise

Program Listing

The Program Listing supplemental box is used to include a program listing within an expandable box. This aside is similar to the Program Panel content panel, with the main difference being that this one can be toggled opened/closed as with other aside boxes.

\programlisting

asides module
\begin{programlisting}[open=0|1]{title} 
   ...
\end{programlisting}
Argument:
title

The title of the program listing, which is displayed next to the +/- open/close button.

Key:
open

The initial open/close status of the aside box. By default the panel is closed (open=0).

Plugin:  SpecialTopic

The example shown above is produced from the following syntax

\begin{programlisting}{Counting Vowels}
\srcfile[linenum link=text page=../PanelsModule/ProgramPanel]{countvowels.py}
\end{programlisting}
  August 20, 2026 at 06:03 AM