Info Node: (texinfo)Quotations and Examples

CFHT HOME texinfo: Quotations and Examples


up: Top next: Lists and Tables prev: Marking Text Back to Software Index

10 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 the output.

  In Texinfo, you always begin a quotation or example by writing an
@-command at the beginning of a line by itself, and end it by writing 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, and with only one space
between the '@end' and the 'example'.

* Block Enclosing Commands
Different constructs for different purposes.
* @quotation
Writing a quotation.
* @indentedblock
Block of text indented on left.
* @example
Writing an example in a fixed-width font.
* @verbatim
Writing a verbatim example.
* @verbatiminclude
Including a file verbatim.
* @lisp
Illustrating Lisp code.
* @small...
Examples in a smaller font.
* @display
Writing an example in the current font.
* @format
Writing an example without narrowed margins.
* @exdent
Undo indentation on a line.
* @flushleft @flushright
Pushing text flush left or flush right.
* @raggedright
Avoiding justification on the right.
* @noindent
Preventing paragraph indentation.
* @indent
Forcing paragraph indentation.
* @cartouche
Drawing rounded rectangles around text.

automatically generated by info2www version 1.2