Texinfo provides a number of font commands that specify font changes in the printed manual and (where possible) in the HTML output, but have no effect in the Info file. All the commands apply to an argument that follows, surrounded by braces.
@b
@i
@r
@sansserif
@slanted
@t
@code
;
(The commands with longer names were invented much later than the others, when it did not seem desirable to use very short names for such an infrequently needed feature.)
Only the @r
command has much use: in example-like
environments, you can use the @r
command to write comments in
the standard roman font instead of the fixed-width font. This looks
better in printed output, and produces a <lineannotation>
tag
in Docbook output.
For example,
@lisp (+ 2 2) ; @r{Add two plus two.} @end lisp
produces
(+ 2 2) ; Add two plus two.
In general, you should avoid using the other font commands. Some of them are only useful when documenting functionality with specific font effects, such as in \TeX\ and related packages.