[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [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
.
10.1 Block Enclosing Commands | Different constructs for different purposes. | |
10.2 @quotation : Block quotations | Writing a quotation. | |
10.3 @example : Example Text | Writing an example in a fixed-width font. | |
10.4 @verbatim : Literal Text | Writing a verbatim example. | |
10.5 @verbatiminclude file: Include a File Verbatim | Including a file verbatim. | |
10.6 @lisp : Marking a Lisp Example | Illustrating Lisp code. | |
10.7 @small… Block Commands | Examples in a smaller font. | |
10.8 @display and @smalldisplay | Writing an example in the current font. | |
10.9 @format and @smallformat | Writing an example without narrowed margins. | |
10.10 @exdent : Undoing a Line's Indentation | Undo indentation on a line. | |
10.11 @flushleft and @flushright | Pushing text flush left or flush right. | |
10.12 @noindent : Omitting Indentation | Preventing paragraph indentation. | |
10.13 @indent : Forcing Indentation | Forcing paragraph indentation. | |
10.14 @cartouche : Rounded Rectangles Around Examples | Drawing rounded rectangles around examples. |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |