I/O Blocks Module
The ioblocks module defines several plugins that implement verbatim type environments for creating text blocks associated with user input and output in computer programs. These blocks, which allow for ease of styling, are rendered using the <pre>...</pre> html tags.
User Input
\begin{userinput}[width=# style=names]
...
\end{userinput}
- width
-
The width of the block. The default is 100%.
- style
-
The name of one or more block specific css class names for modifying the default style of the block.
- \begin{userinput}
- userinput - A simple text block for displaying user
- "input" such as that read from the keyboard or from a file.
- \end{userinput}
userinput - A simple text block for displaying user "input" such as that read from the keyboard or from a file.
Output
\begin{output}[width=# style=names]
...
\end{output}
- width
-
The width of the block. The default is 100%.
- style
-
The name of one or more block specific css class names for modifying the default style of the block.
- \begin{output}
- output - A text block for displaying "output"
- within a gray box.
- \end{output}
output - A text block for displaying "output" within a gray box.
Terminal Output
\begin{terminal}[width=# style=names]
...
\end{terminal}
- width
-
The width of the block. The default is 100%.
- style
-
The name of one or more block specific css class names for modifying the default style of the block.
- \begin{terminal}
- terminal - A text block for displaying "output"
- within a "computer terminal".
- \end{terminal}
terminal - A text block for displaying "output" within a "computer terminal".
Command Line Input
\begin{cmdline}[width=# style=names]
...
\end{cmdline}
- width
-
The width of the block. The default is 100%.
- style
-
The name of one or more block specific css class names for modifying the default style of the block.
- \begin{cmdline}
- g++ -o binaryname driver.o modA.o modB.o
- \end{cmdline}
g++ -o binaryname driver.o modA.o modB.o