[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
14.15 Glyphs for Examples
In Texinfo, code is often illustrated in examples that are delimited
by @example
and @end example
, or by @lisp
and
@end lisp
. In such examples, you can indicate the results of
evaluation or an expansion using ‘⇒’ or
‘→’. Likewise, there are commands to insert glyphs
to indicate
printed output, error messages, equivalence of expressions, and the
location of point.
The glyph-insertion commands do not need to be used within an example, but most often they are. Every glyph-insertion command is followed by a pair of left- and right-hand braces.
14.15.1 Glyphs Summary | ||
14.15.2 @result{} (⇒): Indicating Evaluation | How to show the result of expression. | |
14.15.3 @expansion{} (→): Indicating an Expansion | How to indicate an expansion. | |
14.15.4 @print{} (-|): Indicating Printed Output | How to indicate printed output. | |
14.15.5 @error{} (error-->): Indicating an Error Message | How to indicate an error message. | |
14.15.6 @equiv{} (≡): Indicating Equivalence | How to indicate equivalence. | |
14.15.7 @point{} (∗): Indicating Point in a Buffer | How to indicate the location of point. |