2.6 Other
2.6.1 Multido
The multido package is compatible with BookML. It can be used to create loops in your code. For example, the following code will produce a sequence of 8 numbers from 2.00, with a step size of -3.05:
2.6.2 Monospaced output
The listings package is compatible with BookML. It can be used to create code listings in your document. For example, the following code will produce a listing of a simple Java program:
class HelloWorldApp {public static void main(String[] args) {//Display the stringSystem.out.println("Hello␣World!");}}
The verbatim environment is also compatible with BookML. It can be used to create verbatim text in your document. For example, the following code will produce a verbatim block of text:
This is a verbatim block of text. It will be displayed exactly as it is written, with no formatting or special characters such as \LaTeX