Prev | Next | codei |
$codei%text1%text2%...%textN%$$
$icode%text1%text2%...%textN%$$
text1
is in
code
font,
text2
is in
italic
font, ...
text1
is in
italic
font,
text2
is in
code
font, ...
%text1%text2%...%textN%
is a delimiter sequence
and %
can be any character that is not a letter.
The characters in
text1
, ...,
textN
are using in a
pre-formatted font
.
The characters in
text1
are in the first font
(and corresponding color),
the characters in
text2
are in the second font,
and so on.
$codei
command.
The input
$codei%extern void f(int %i% , const char *%s%);%$$
produces the following output:
extern void f(int i , const char *s);
The input
$codei|
extern void f(
int |i| ,
const char *|s|
);|$$
produces the following output
extern void f(
int i ,
const char *s
);
\
).
For example, the input
$escape #$$
$codei%
%x% = 1 + %a% + %b%
%y% = 2 + # # %b%
%$$
produces the following output
x = 1 + a + b
y = 2 + b
$codei
and $icode
commands
provide similar functionality to the syntax
command.
The differences are
$icode i$$
can be used to reference
i
in the prototypes above
(remember that when the delimiter is a space, there is only one entry in
the delimiter sequence and the other spaces are not delimiters).