Re: slashed zero in HTML code listings?

Subject: Re: slashed zero in HTML code listings?
From: Lin Sims <ljsims -dot- ml -at- gmail -dot- com>
To: Robert Lauriston <robert -at- lauriston -dot- com>
Date: Wed, 8 Jul 2009 16:24:09 -0400

On Wed, Jul 8, 2009 at 4:18 PM, Robert Lauriston<robert -at- lauriston -dot- com> 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.
>
> So far as I can find, there's no HTML entity for it, which makes
> sense: it's not a special character, it's just the way the zero is
> designed in some fonts.
>
> You can do 0&#x0338; to overlay a zero with a slash, but that looks
> crappy, and doesn't seem to work within <code></code> or <pre></pre>
> tags.

There's a free TrueType font available called Envy Code R which is a
really nice monospaced font. It includes the slashed zero, and has
regular, bold, and italic (but no bold-italic) typefaces.

It's really nice. :D

I suppose you'd have to embed the font or something, since it's not
commonly available (as in, not well known or widely distributed).

--
Lin Sims
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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.
http://www.doctohelp.com/SuperPages/Webcasts/

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! http://www.helpandmanual.com/

---
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 http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


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
http://www.techwr-l.com/ for more resources and info.

Please move off-topic discussions to the Chat list, at:
http://lists.techwr-l.com/mailman/listinfo/techwr-l-chat


Follow-Ups:

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

Previous by Author: Re: What's the word for...
Next by Author: Re: Fortune cookies
Previous by Thread: 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


Sponsored Ads