This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Underlined key accelerators


You want accel.  See the example for that element in the Definitive Guide.
In HTML output, it has a <span class="accel"> so you can write a CSS rule to
add the underline.  I don't think it underlines by default in print, though.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Frans Englich" <frans.englich@telia.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, August 09, 2004 7:35 PM
Subject: [docbook-apps] Underlined key accelerators


>
> Hello all,
>
> I'm writing user interface documentation, which mentions GUI items which
have
> key accelerators. For example, "Cancel" buttons often have the "C"
> underlined, and when "alt+C" is pressed, the button is activated.
>
> How do I mark an underline in docbook? Note, this is not representation or
> formatting, but the actual content(AFAICT).
>
>
> Cheers,
>
>
> Frans
>
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]