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.0,1.05,4.1,7.15,10.2,13.25,16.3,19.35,2.0,-1.05,-4.1,-7.15,-10.2,-13.25,-16.3,-19.35,\ignorespaces

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 string

    System.out.println("HelloWorld!");

  }

}

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

2.6.3 Referencing from a bibliography

The package natbib is compatible with BookML. Note that biblatex is not yet compatible.

This is an example reference [2], and another [1]. It should not be complex to switch from biblatex to natbib.