RE: slashed zero in HTML code listings?

Subject: RE: slashed zero in HTML code listings?
From: Andrew Warren <awarren -at- synaptics -dot- com>
To: 'Robert Lauriston' <robert -at- lauriston -dot- com>, "techwr-l -at- lists -dot- techwr-l -dot- com" <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Wed, 8 Jul 2009 13:59:06 -0700

Robert Lauriston wrote:

> One thing I've always wanted to do that I've never managed to achieve
> was to use a slashed zero in code listings in HTML and HTML-based
> online help.
> The only monofont generally available is Courier New, and it doesn't
> have that character.


Courier New (among many fonts) has a slashed capital "O"; is that close enough? It's U+00D8; type ALT+0216 to see it. It might even show up here, between the 2 and the 3: 12Ø34.

Consider, though, what your audience will be doing with your HTML code listings. If readers will be copying directly from your listing to their text editors, it'd be best not to modify the listing at all.


=== Andrew Warren - awarren -at- synaptics -dot- com
=== Synaptics, Inc - Santa Clara, CA

Free Software Documentation Project Web Cast: Covers developing Table of
Contents, Context IDs, and Index, as well as Doc-To-Help
2009 tips, tricks, and best practices.

Help & Manual 5: The complete help authoring tool for individual
authors and teams. Professional power, intuitive interface. Write
once, publish to 8 formats. Multi-user authoring and version control!

You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit

To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit for more resources and info.

Please move off-topic discussions to the Chat list, at:


slashed zero in HTML code listings?: From: Robert Lauriston

Previous by Author: RE: job-hunt weirdness
Next by Author: RE: job-hunt weirdness
Previous by Thread: RE: slashed zero in HTML code listings?
Next by Thread: Re: slashed zero in HTML code listings?

What this post helpful? Share it with friends and colleagues:

Sponsored Ads