Info Node: (texinfo)Click Sequences

CFHT HOME texinfo: Click Sequences


up: Glyphs for Programming prev: @point Back to Software Index

14.8.8 Click Sequences
----------------------

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 right arrow 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 (Note: @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 ...


automatically generated by info2www version 1.2