Contents | < Browse | Browse >
Quotations and Examples
***********************
Quotations and examples are blocks of text consisting of one or more
whole paragraphs that are set off from the bulk of the text and treated
differently. They are usually indented.
In Texinfo, you always begin a quotation or example by writing an
an `@end' command that is also at the beginning of a line by itself.
For instance, you begin an example by writing `@example' by itself at
the beginning of a line and end the example by writing `@end example'
on a line by itself, at the beginning of that line.
* Menu:
* Block Enclosing Commands Use different constructs for
different purposes.
* quotation How to write a quotation.
* example How to write an example in a fixed-width font.
* noindent How to prevent paragraph indentation.
* Lisp Example How to illustrate Lisp code.
* smallexample & smalllisp Forms for the `@smallbook' option.
* display How to write an example in the current font.
* format How to write an example that does not narrow
the margins.
* exdent How to undo the indentation of a line.
* flushleft & flushright How to push text flushleft or flushright.
* cartouche How to draw cartouches around examples.