When documenting graphical interfaces, it is necessary to describe
sequences such as `Click on ‘File’, then choose ‘Open’, then
...'. Texinfo offers commands @clicksequence
and
click
to represent this, typically used like this:
... @clicksequence{File @click{} Open} ...
which produces:
... File → Open ...
The @click
command produces a simple right arrow (‘->’ in
Info) by default; this glyph is also available independently via the
command @arrow{}
.
You can change the glyph produced by @click
with the command
@clickstyle
, which takes a command name as its single argument
on the rest of the line, much like @itemize
and friends
(see @itemize
). The command should produce a
glyph, and the usual empty braces ‘{}’ are omitted. Here's an
example:
@clickstyle @result ... @clicksequence{File @click{} Open} ...
now produces:
... File ⇒ Open ...