DocBook 5.1: The Definitive Guide  (Version 1.5.3 for DocBook 5.1)

accel

accel — A graphical user interface (GUI) keyboard shortcut.

Synopsis

accel ::= [-]

Description

An accelerator is usually a letter used with a Meta key (such as Ctrl or Alt) to activate some element of a GUI without using the mouse to point and click at it.

Processing expectations

Formatted inline.

Children

The following elements occur in accel: text, abbrev, acronym, alt, anchor, annotation, biblioref, coref, date, emphasis (db._emphasis), firstterm (db._firstterm), footnote, footnoteref, foreignphrase (db._foreignphrase), glossterm (db._glossterm), indexterm (db.indexterm.endofrange), indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange), inlinemediaobject, link, olink, phrase (db._phrase), quote (db._quote), remark, replaceable, subscript, superscript, trademark, wordasword, xref.

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example accel</title>

<para os="windows">You can exit most Windows applications by selecting
<guimenuitem><accel>Q</accel>uit</guimenuitem> or
<guimenuitem>E<accel>x</accel>it</guimenuitem> from
the <guimenu><accel>F</accel>ile</guimenu> menu.
</para>

</article>

You can exit most Windows applications by selecting Quit or Exit from the File menu.